[haiku-bugs] Re: [Haiku] #9896: DVD file copy stalls at ca. 1 GB, pegs CPUs

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Fri, 26 Jul 2013 09:01:17 -0000

#9896: DVD file copy stalls at ca. 1 GB, pegs CPUs
--------------------------------+----------------------------
   Reporter:  ttcoder           |      Owner:  nobody
       Type:  bug               |     Status:  new
   Priority:  normal            |  Milestone:  R1
  Component:  File Systems/UDF  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------

Comment (by ttcoder):

 I'm returning with what I think is a solid pin-point on the "stuck"
 function, though you guys need to interpret it ("caller" means the
 breakpoint pertains to the line below which it is written, off-by-one, or
 to the same line?).

 It didn't take long before I narrowed things down to this block:

 {{{
 KERN: 24 81b09574 (+ 192) 8004eccb   <kernel_x86>
 FileMap<[32m0xdf02bea0[0m>::_Cache(int64: [34m1073676288[0m, int64:
 [34m65536[0m) + 0xf7
 KERN: 25 81b09634 (+  80) 8004eed8   <kernel_x86>
 FileMap<[32m0xdf02bea0[0m>::Translate(int64: [34m1073676288[0m, uint32:
 [34m0x10000[0m ([34m65536[0m), file_io_vec*: [34m0x81b09764[0m,
 [34m0x81b09760[0m, uint32: [34m0x800[0m ([34m2048[0m)) + 0x100
 KERN: 26 81b09684 (+  48) 8004f49a   <kernel_x86> file_map_translate +
 0x2e
 }}}

 So I did..
 - breakpoint 0x8004eccb

 Which was hit all the time (Desktop did not even have time to redraw after
 a "continue", I was dropped right back to KDL).

 Then I cleared it and did...
 - breakpoint 0x8004eed8

 Which was hit every 4 seconds or so, by a ''different'' thread
 (page_writer), but never ever by the "cp" thread.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9896#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: