Opened 10 years ago

Closed 10 years ago

#5507 closed bug (fixed)

Test case for crashing jam

Reported by: mmadia Owned by: nobody
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

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) 

Attachments (1)

AddExpanderRules-23.patch (2.1 KB ) - added by mmadia 10 years ago.

Download all attachments as: .zip

Change History (2)

by mmadia, 10 years ago

Attachment: AddExpanderRules-23.patch added

comment:1 by bonefish, 10 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev35719.

Note: See TracTickets for help on using tickets.