bugGNUstep - Bugs: bug #25620, applications segfault on OpenBSD

Group
 
 

bug #25620: applications segfault on OpenBSD

Submitter:  Riccardo Mottola <rmottola>
Submitted:  Tue 17 Feb 2009 10:51:27 PM UTC
   
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  FredKiefer
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 18 Feb 2009 08:58:02 AM UTC, comment #2: 

Should be fixed in SVN, please give it a try.

Fred Kiefer <FredKiefer>
Group Member
Tue 17 Feb 2009 10:59:57 PM UTC, comment #1: 

I think in general, all sparc machines cannot handle setting a structure to NULL.  So anytime that's a possibility, you need to test that the object is not nil first before doing the assignment.

Adam Fedor <fedor>
Group administrator
Tue 17 Feb 2009 10:51:27 PM UTC, original submission:  

On OpenBSD 4.1/sparc32... all applications do crash on startup:

this is for EasyDiff. I verified that Ink crashes too with an illegal instruction.

Starting program: /usr/GNUstep/Local/Applications/EasyDiff.app/EasyDiff

Program received signal SIGILL, Illegal instruction.
0x1069ac00 in -[NSAppIconView setImage:] (self=0x18352808, _cmd=0x10cc7fec,
    anImage=0x0) at NSApplication.m:644
644       NSSize imageSize = [imgCopy size];
Current language:  auto; currently objective-c
(gdb) bt
#0  0x1069ac00 in -[NSAppIconView setImage:] (self=0x18352808,
    _cmd=0x10cc7fec, anImage=0x0) at NSApplication.m:644
#1  0x106aa5b4 in -[NSApplication(Private) _appIconInit] (self=0xb6fbd88,
    _cmd=0x10cc6dd4) at NSApplication.m:3565
#2  0x1069c174 in -[NSApplication finishLaunching] (self=0xb6fbd88,
    _cmd=0x10cc7274) at NSApplication.m:955
#3  0x1069f48c in -[NSApplication run] (self=0xb6fbd88, _cmd=0x10cc07c8)
    at NSApplication.m:1431
#4  0x106708d8 in NSApplicationMain (argc=1, argv=0xf7fc8e4c) at Functions.m:74
#5  0x000117e0 in gnustep_base_user_main (argc=1, argv=0xf7fc8e4c) at main.m:33
#6  0x0f5ef3b8 in main (argc=1, argv=0xf7fc8e4c, env=0xf7fc8e54)
    at NSProcessInfo.m:921
#7  0x000115cc in ___start ()
#8  0x000114f8 in _start ()
#9  0x000114f8 in _start ()
Previous frame identical to this frame (corrupt stack?)
(gdb)

Riccardo Mottola <rmottola>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by FredKiefer (Posted a comment)
  • -email is unavailable- added by fedor (Posted a comment)
  • -email is unavailable- added by rmottola (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-07-20 FredKiefer StatusReady For Test Fixed
        Open/ClosedIn Test Closed
    2009-02-18 FredKiefer StatusNone Ready For Test
        Assigned toNone FredKiefer
        Open/ClosedOpen In Test

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code