[haiku-bugs] [Haiku] #5507: Test case for crashing jam

  • From: "mmadia" <trac@xxxxxxxxxxxx>
  • Date: Mon, 01 Mar 2010 06:33:49 -0000

#5507: Test case for crashing jam
---------------------------------------------+------------------------------
 Reporter:  mmadia                           |       Owner:  nobody        
     Type:  bug                              |      Status:  new           
 Priority:  normal                           |   Milestone:  R1            
Component:  Applications/Command Line Tools  |     Version:  R1/Development
 Keywords:                                   |   Blockedby:                
 Platform:  All                              |    Blocking:                
---------------------------------------------+------------------------------
 In the following attached patch, %s will cause jam to crash

 {{{
 +               AddExpanerRule "application/x-7z-compressed" : .7z : "7za
 l %s"
 +                       : "7za x -y %s" ;
 }}}

 Debug 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 51494 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 /boot/common/bin/jam -q @nightly-raw (51494) thread jam
 (51494)]
 0x002889e6 in vfprintf () from /boot/system/lib/libroot.so
 (gdb) bt
 #0  0x002889e6 in vfprintf () from /boot/system/lib/libroot.so
 #1  0x00282063 in fprintf () from /boot/system/lib/libroot.so
 #2  0x00207bf4 in write_jcache ()
 #3  0x00207dbf in jcache_done ()
 #4  0x0020595f in main ()
 (gdb)
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5507>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: