[haiku-bugs] Re: [Haiku] #5029: bootscript: Segment violation

  • From: "diver" <trac@xxxxxxxxxxxx>
  • Date: Thu, 19 Apr 2012 09:35:08 -0000

#5029: bootscript: Segment violation
-----------------------------------------------+---------------------------
   Reporter:  andreasf                         |      Owner:  nobody
       Type:  bug                              |     Status:  new
   Priority:  normal                           |  Milestone:  R1
  Component:  Applications/Command Line Tools  |    Version:
 Resolution:                                   |  R1/Development
 Blocked By:                                   |   Keywords:
Has a Patch:  0                                |   Blocking:
                                               |   Platform:  x86
-----------------------------------------------+---------------------------
Changes (by diver):

 * component:  - General => Applications/Command Line Tools


Old description:

> This happened on r34175, GCC4, after rebooting with increased virtual
> memory settings.
>
> {{{
> 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 98 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/libroot.so...done.
> Loaded symbols for /boot/system/lib/libroot.so
> [tcsetpgrp failed in terminal_inferior: Invalid Argument]
> [Switching to team /bin/sh /boot/system/boot/Bootscript (98) thread sh
> (98)]
> 0x0025a020 in waitchld ()
> (gdb) bt
> #0  0x0025a020 in waitchld ()
> #1  0x0025b72e in wait_for ()
> #2  0x0022caa8 in execute_command_internal ()
> #3  0x0022d1d8 in execute_command_internal ()
> #4  0x0023053c in execute_in_subshell ()
> #5  0x0022c611 in execute_command_internal ()
> #6  0x0022d09d in execute_command_internal ()
> #7  0x0022d1d8 in execute_command_internal ()
> #8  0x0022dabf in execute_command ()
> #9  0x0022eb76 in execute_if_command ()
> #10 0x0022cf7a in execute_command_internal ()
> #11 0x0022dabf in execute_command ()
> #12 0x002266bc in reader_loop ()
> #13 0x002261d7 in main ()
> (gdb)
> }}}

New description:

 This happened on r34175, GCC4, after rebooting with increased virtual
 memory settings.

 {{{
 Thread 98 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/libroot.so...done.
 Loaded symbols for /boot/system/lib/libroot.so
 [tcsetpgrp failed in terminal_inferior: Invalid Argument]
 [Switching to team /bin/sh /boot/system/boot/Bootscript (98) thread sh
 (98)]
 0x0025a020 in waitchld ()
 (gdb) bt
 #0  0x0025a020 in waitchld ()
 #1  0x0025b72e in wait_for ()
 #2  0x0022caa8 in execute_command_internal ()
 #3  0x0022d1d8 in execute_command_internal ()
 #4  0x0023053c in execute_in_subshell ()
 #5  0x0022c611 in execute_command_internal ()
 #6  0x0022d09d in execute_command_internal ()
 #7  0x0022d1d8 in execute_command_internal ()
 #8  0x0022dabf in execute_command ()
 #9  0x0022eb76 in execute_if_command ()
 #10 0x0022cf7a in execute_command_internal ()
 #11 0x0022dabf in execute_command ()
 #12 0x002266bc in reader_loop ()
 #13 0x002261d7 in main ()
 (gdb)
 }}}

--

Comment:

 Probably has been fixed meanwhile.

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

Other related posts: