[haiku-bugs] Re: [Haiku] #5676: BMessage::PrintToStream crashes on Int8

  • From: "humdinger" <trac@xxxxxxxxxxxx>
  • Date: Sun, 04 Apr 2010 07:14:17 -0000

#5676: BMessage::PrintToStream crashes on Int8
----------------------------------+-----------------------------------------
 Reporter:  MrSunshine            |       Owner:  axeld         
     Type:  bug                   |      Status:  new           
 Priority:  normal                |   Milestone:  R1            
Component:  Kits/Application Kit  |     Version:  R1/Development
 Keywords:                        |   Blockedby:                
 Platform:  All                   |    Blocking:                
----------------------------------+-----------------------------------------

Comment(by humdinger):

 I see that too, with gcc4hybrid. Backtrace:
 {{{
 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"...
 [tcsetpgrp failed in terminal_inferior: Invalid Argument]
 Thread 3675 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
 Reading symbols from /boot/system/lib/libbe.so...done.
 Loaded symbols for /boot/system/lib/libbe.so
 Reading symbols from /boot/system/lib/libstdc++.so...done.
 Loaded symbols for /boot/system/lib/libstdc++.so
 Reading symbols from /boot/system/lib/libsupc++.so...done.
 Loaded symbols for /boot/system/lib/libsupc++.so
 [tcsetpgrp failed in terminal_inferior: Invalid Argument]
 [Switching to team /boot/home/projects/test/test (3675) thread test
 (3675)]
 0x0028f6d5 in strnlen () from /boot/system/lib/libroot.so
 (gdb) bt
 #0  0x0028f6d5 in strnlen () from /boot/system/lib/libroot.so
 #1  0x002683de in vfprintf () from /boot/system/lib/libroot.so
 #2  0x002620ef in printf () from /boot/system/lib/libroot.so
 #3  0x003af503 in BMessage::_PrintToStream () from
 /boot/system/lib/libbe.so
 #4  0x003af844 in BMessage::PrintToStream () from
 /boot/system/lib/libbe.so
 #5  0x0020097f in main () at /boot/home/projects/test/test.cpp:11
 (gdb)
 }}}

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

Other related posts: