URL:
<http://savannah.gnu.org/bugs/?24526>
Summary: Crash on x86_64 when a program is started with
argument that is invalid property list
Project: GNUstep
Submitted by: yavor
Submitted on: Sat Oct 11 00:07:44 2008
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
This was reported at http://emacsbugs.donarmstrong.com/1079 as a bug in the
GNUstep port of Emacs.
Using the attached test program, on x86:
$ ./test --eval '(setq foo 1)'
Useless info about bundle: <NSBundle: 0x813ec98> </usr/bin/Resources/test>
'--eval' - a string.
'(setq foo 1)' failed with:
Parse failed - Parse failed at line 1 (char 7) - unexpected character
(wanted ',' or ')').
Failure.
$ echo $?
1
$ NOHANDLE=yes ./test --eval '(setq foo 1)'
Useless info about bundle: <NSBundle: 0x813ed18> </usr/bin/Resources/test>
NOHANDLE defined; should exit with success.
$ echo $?
0
On x86_64, however, it crashes with a backtrace analogical to that when
bootstrapping Emacs
(http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1079#45).
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat Oct 11 00:07:44 2008 Name: test.m Size: 2kB By: yavor
Test program
<http://savannah.gnu.org/bugs/download.php?file_id=16649>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?24526>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep