[haiku-bugs] Re: [Haiku] #8075: [DiskUsage] Segment violation while navigating after 2 scans of a large partition

  • From: "diver" <trac@xxxxxxxxxxxx>
  • Date: Mon, 31 Oct 2011 11:15:29 -0000

#8075: [DiskUsage] Segment violation while navigating after 2 scans of a large
partition
--------------------------------------+----------------------------
   Reporter:  oco                     |      Owner:  nobody
       Type:  bug                     |     Status:  new
   Priority:  normal                  |  Milestone:  R1
  Component:  Applications/DiskUsage  |    Version:  R1/Development
 Resolution:                          |   Keywords:
 Blocked By:                          |   Blocking:
Has a Patch:  0                       |   Platform:  All
--------------------------------------+----------------------------
Changes (by diver):

 * version:  R1/alpha3 => R1/Development


Old description:

> The partition contains lot of files (> 500000) and was mounted ReadOnly
> (source trees).
>
> It was in revision r42926.
>
> Here is the gdb output :
>
> GNU gdb 6.3
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> This GDB was configured as "i586-pc-haiku"...(no debugging symbols found)
>
> [tcsetpgrp failed in terminal_inferior: Invalid Argument]
> Thread 330 caused an exception: Segment violation
> Reading symbols from /boot/system/runtime_loader...done.
> Loaded symbols for /boot/system/runtime_loader
> Reading symbols from /boot/system/lib/libbe.so...done.
> Loaded symbols for /boot/system/lib/libbe.so
> Reading symbols from /boot/system/lib/liblocale.so...done.
> Loaded symbols for /boot/system/lib/liblocale.so
> Reading symbols from /boot/system/lib/libstdc++.r4.so...done.
> Loaded symbols for /boot/system/lib/libstdc++.r4.so
> Reading symbols from /boot/system/lib/libroot.so...done.
> Loaded symbols for /boot/system/lib/libroot.so
> Reading symbols from /boot/system/lib/libicudata.so.48.1...done.
> Loaded symbols for /boot/system/lib/libicudata.so.48.1
> Reading symbols from /boot/system/lib/libicui18n.so.48.1...done.
> Loaded symbols for /boot/system/lib/libicui18n.so.48.1
> Reading symbols from /boot/system/lib/libicuio.so.48.1...done.
> Loaded symbols for /boot/system/lib/libicuio.so.48.1
> Reading symbols from /boot/system/lib/libicule.so.48.1...done.
> Loaded symbols for /boot/system/lib/libicule.so.48.1
> Reading symbols from /boot/system/lib/libiculx.so.48.1...done.
> Loaded symbols for /boot/system/lib/libiculx.so.48.1
> Reading symbols from /boot/system/lib/libicutu.so.48.1...done.
> Loaded symbols for /boot/system/lib/libicutu.so.48.1
> Reading symbols from /boot/system/lib/libicuuc.so.48.1...done.
> Loaded symbols for /boot/system/lib/libicuuc.so.48.1
> Reading symbols from /boot/system/lib/libroot-addon-icu.so...done.
> Loaded symbols for /boot/system/lib/libroot-addon-icu.so
> [tcsetpgrp failed in terminal_inferior: Invalid Argument]
> [Switching to team /boot/system/apps/DiskUsage (326) thread w>DiskUsage
> (330)]
> 0x0021760e in PieView::_DrawDirectory ()
> (gdb) bt
> #0  0x0021760e in PieView::_DrawDirectory ()
> #1  0x002165d7 in PieView::_DrawPieChart ()
> #2  0x00215f08 in PieView::Draw ()
> #3  0x003c5ae0 in BView::_Draw () from /boot/system/lib/libbe.so
> #4  0x003caf11 in BWindow::DispatchMessage () from
> /boot/system/lib/libbe.so
> #5  0x003cf544 in BWindow::task_looper () from /boot/system/lib/libbe.so
> #6  0x002fb117 in BLooper::_task0_ () from /boot/system/lib/libbe.so
> #7  0x0057d95f in thread_entry () from /boot/system/lib/libroot.so
> #8  0x78033fec in ?? ()
> (gdb) GNU gdb 6.3
> Undefined command: "GNU".  Try "help".
> (gdb) Copyright 2004 Free Software Foundation, Inc.
> Undefined command: "Copyright".  Try "help".
> (gdb) GDB is free software, covered by the GNU General Public License,
> and you are
> Undefined command: "GDB".  Try "help".
> (gdb) welcome to change it and/or distribute copies of it under certain
> conditions.
> Undefined command: "welcome".  Try "help".
> (gdb) Type "show copying" to see the conditions.
> Undefined command: "Type".  Try "help".
> (gdb) There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> Undefined command: "There".  Try "help".
> (gdb) This GDB was configured as "i586-pc-haiku"...(no debugging symbols
> found)
> Undefined command: "This".  Try "help".
> (gdb)
> Undefined command: "This".  Try "help".
> (gdb) [tcsetpgrp failed in terminal_inferior: Invalid Argument]
> Undefined command: "".  Try "help".
> (gdb) Thread 330 caused an exception: Segment violation
> A syntax error in expression, near `caused an exception: Segment
> violation'.
> (gdb) Reading symbols from /boot/system/runtime_loader...done.
> Undefined command: "Reading".  Try "help".
> (gdb) Loaded symbols for /boot/system/runtime_loader
> Undefined command: "Loaded".  Try "help".
> (gdb) Reading symbols from /boot/system/lib/libbe.so...done.
> Undefined command: "Reading".  Try "help".
> (gdb) Loaded symbols for /boot/system/lib/libbe.so
> Undefined command: "Loaded".  Try "help".
> (gdb) Reading symbols from /boot/system/lib/liblocale.so...done.
> Undefined command: "Reading".  Try "help".
> (gdb) Loaded symbols for /boot/system/lib/liblocale.so
> Undefined command: "Loaded".  Try "help".
> (gdb) Reading symbols from /boot/system/lib/libstdc++.r4.so...done.
> Undefined command: "Reading".  Try "help".
> (gdb) Loaded symbols for /boot/system/lib/libstdc++.r4.so
> Undefined command: "Loaded".  Try "help".
> (gdb) Reading symbols from /boot/system/lib/libroot.so...done.
> Undefined command: "Reading".  Try "help".
> (gdb) Loaded symbols for /boot/system/lib/libroot.so
> Undefined command: "Loaded".  Try "help".
> (gdb) Reading symbols from /boot/system/lib/libicudata.so.48.1...done.
> Undefined command: "Reading".  Try "help".
> (gdb) Loaded symbols for /boot/system/lib/libicudata.so.48.1
> Undefined command: "Loaded".  Try "help".
> (gdb) Reading symbols from /boot/system/lib/libicui18n.so.48.1...done.
> Undefined command: "Reading".  Try "help".
> (gdb) Loaded symbols for /boot/system/lib/libicui18n.so.48.1
> Undefined command: "Loaded".  Try "help".
> (gdb) Reading symbols from /boot/system/lib/libicuio.so.48.1...done.
> Undefined command: "Reading".  Try "help".
> (gdb) Loaded symbols for /boot/system/lib/libicuio.so.48.1
> Undefined command: "Loaded".  Try "help".
> (gdb) Reading symbols from /boot/system/lib/libicule.so.48.1...done.
> Undefined command: "Reading".  Try "help".
> (gdb) Loaded symbols for /boot/system/lib/libicule.so.48.1
> Undefined command: "Loaded".  Try "help".
> (gdb) Reading symbols from /boot/system/lib/libiculx.so.48.1...done.
> Undefined command: "Reading".  Try "help".
> (gdb) Loaded symbols for /boot/system/lib/libiculx.so.48.1
> Undefined command: "Loaded".  Try "help".
> (gdb) Reading symbols from /boot/system/lib/libicutu.so.48.1...done.
> Undefined command: "Reading".  Try "help".
> (gdb) Loaded symbols for /boot/system/lib/libicutu.so.48.1
> Undefined command: "Loaded".  Try "help".
> (gdb) Reading symbols from /boot/system/lib/libicuuc.so.48.1...done.
> Undefined command: "Reading".  Try "help".
> (gdb) Loaded symbols for /boot/system/lib/libicuuc.so.48.1
> Undefined command: "Loaded".  Try "help".
> (gdb) Reading symbols from /boot/system/lib/libroot-addon-icu.so...done.
> Undefined command: "Reading".  Try "help".
> (gdb) Loaded symbols for /boot/system/lib/libroot-addon-icu.so
> Undefined command: "Loaded".  Try "help".
> (gdb) [tcsetpgrp failed in terminal_inferior: Invalid Argument]
> Undefined command: "".  Try "help".
> (gdb) [Switching to team /boot/system/apps/DiskUsage (326) thread
> w>DiskUsage (330)]
> Undefined command: "".  Try "help".
> (gdb) 0x0021760e in PieView::_DrawDirectory ()
> Undefined command: "0x0021760e".  Try "help".
> (gdb) (gdb) bt
> Undefined command: "".  Try "help".
> (gdb) #0  0x0021760e in PieView::_DrawDirectory ()
> (gdb) #1  0x002165d7 in PieView::_DrawPieChart ()
> (gdb) #2  0x00215f08 in PieView::Draw ()
> (gdb) #3  0x003c5ae0 in BView::_Draw () from /boot/system/lib/libbe.so
> (gdb) #4  0x003caf11 in BWindow::DispatchMessage () from
> /boot/system/lib/libbe.so
> (gdb) #5  0x003cf544 in BWindow::task_looper () from
> /boot/system/lib/libbe.so
> (gdb) #6  0x002fb117 in BLooper::_task0_ () from
> /boot/system/lib/libbe.so
> (gdb) #7  0x0057d95f in thread_entry () from /boot/system/lib/libroot.so
> (gdb) #8  0x78033fec in ?? ()
> (gdb) (gdb)

New description:

 The partition contains lot of files (> 500000) and was mounted ReadOnly
 (source trees).

 It was in revision r42926.

 Here is the gdb output :
 {{{
 Thread 330 caused an exception: Segment violation
 [...]
 [Switching to team /boot/system/apps/DiskUsage (326) thread w>DiskUsage
 (330)]
 0x0021760e in PieView::_DrawDirectory ()
 (gdb) bt
 #0  0x0021760e in PieView::_DrawDirectory ()
 #1  0x002165d7 in PieView::_DrawPieChart ()
 #2  0x00215f08 in PieView::Draw ()
 #3  0x003c5ae0 in BView::_Draw () from /boot/system/lib/libbe.so
 #4  0x003caf11 in BWindow::DispatchMessage () from
 /boot/system/lib/libbe.so
 #5  0x003cf544 in BWindow::task_looper () from /boot/system/lib/libbe.so
 #6  0x002fb117 in BLooper::_task0_ () from /boot/system/lib/libbe.so
 #7  0x0057d95f in thread_entry () from /boot/system/lib/libroot.so
 #8  0x78033fec in ?? ()
 }}}

--

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

Other related posts: