bugGNUstep - Bugs: bug #23603, ProjectCenter crash (64-bit...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #23603: ProjectCenter crash (64-bit Version)

Submitted by:  Friedrich <fridom>
Submitted on:  Mon 16 Jun 2008 09:50:17 AM UTC  
 
Category:  ProjectCenter Severity:  3 - Normal
Item Group:  Bug Status:  Works For Me
Privacy:  Public Assigned to:  None
Open/Closed:  Declined

( Jump to the original submission)

Fri 22 Mar 2013 12:01:22 AM UTC, comment #14: 

No news on this. Unable to reproduce it on any machine. There were many 64bit fixes in core, I assume it is fixed. If not, please report or reopen the bug with new information.

Riccardo Mottola <rmottola>
Project Member
Fri 09 Apr 2010 10:32:32 PM UTC, comment #13: 

Could you report how the status of this is on your system?

On my gentoo x86/64 system things work pretty well since I upgraded to libffi 3.0.9 and current SVN trunk of gnustep.

Riccardo Mottola <rmottola>
Project Member
Fri 11 Jul 2008 04:03:44 PM UTC, comment #12: 

I currently have just very few time left to check. But I found that I run into trouble with debugging. But I've to check that a bit longer to really tell anything.

Regards
Friedrich

Friedrich <fridom>
Fri 11 Jul 2008 03:16:08 PM UTC, comment #11: 

Any further issues with this, or should it be considered closed?

Gregory John Casamento <gcasa>
Project Administrator
Thu 19 Jun 2008 06:45:56 AM UTC, comment #10: 

Ok with libffcall1-dev the ProjectCenter starts at least.

Regards
Friedrich

Friedrich <fridom>
Thu 19 Jun 2008 06:31:47 AM UTC, comment #9: 

I'm using the Debian ffi, and will change that to ffcall and see what'll happen than.

Regards
Friedrich

Friedrich <fridom>
Thu 19 Jun 2008 06:24:18 AM UTC, comment #8: 

This looks like  a problem with ffcall/ffi or something else in forwarding ... the crash appears to be when sending a message to a proxy object to go to another process.

Are you using ffcall or ffi?  I use ffcall on my 64bit Intel Debian system, and that works fine ... I don't think the ffi library provided with 64bit debian works.  When you configure gnustep-base, it should use ffcall by default (since it works on more platforms), but if you don't have ffcall installed it would have tried to use ffi instead.

Richard Frith-Macdonald <CaS>
Project Member
Thu 19 Jun 2008 06:11:54 AM UTC, comment #7: 

Ok I did as I wrote. I recompiled make, base, gui and back, still the crash is there:
(gdb) n
2008-06-19 08:08:01.119 ProjectCenter[4755] The font specified for NSFont, Helvetica, can't be found.
2008-06-19 08:08:01.229 ProjectCenter[4755] The font specified for NSFont, Helvetica, can't be found.
2008-06-19 08:08:01.265 ProjectCenter[4755] The font specified for NSUserFixedPitchFont, Courier, can't be found.
2008-06-19 08:08:01.338 ProjectCenter[4755] The font specified for NSFont, Helvetica, can't be found.
2008-06-19 08:08:01.339 ProjectCenter[4755] The font specified for NSBoldFont, Helvetica-Bold, can't be found.
2008-06-19 08:08:01.345 ProjectCenter[4755] The font specified for NSFont, Helvetica, can't be found.

Program received signal SIGSEGV, Segmentation fault.
0x0000000000c9baf8 in ?? ()
(gdb) bt
#0  0x0000000000c9baf8 in ?? ()
#1  0x00002b57c490307a in -[NSDistributedNotificationCenter(Private) _connect]
    (self=0xc82060, _cmd=0x2b57c4d88230)
    at NSDistributedNotificationCenter.m:780
#2  0x00002b57c49019e0 in -[NSDistributedNotificationCenter addObserver:selector:name:object:suspensionBehavior:] (self=0xc82060, _cmd=0x2b57c4d88200,
    anObserver=0xc7d280, aSelector=0x2b57c46dbb70, notificationName=0x0,
    anObject=0x2b57c46da480,
    suspensionBehavior=NSNotificationSuspensionBehaviorCoalesce)
    at NSDistributedNotificationCenter.m:339
#3  0x00002b57c49016ee in -[NSDistributedNotificationCenter addObserver:selector:name:object:] (self=0xc82060, _cmd=0x2b57c46dbb80, anObserver=0xc7d280,
    aSelector=0x2b57c46dbb70, notificationName=0x0, anObject=0x2b57c46da480)
    at NSDistributedNotificationCenter.m:264
#4  0x00002b57c42f037d in -[_GSWorkspaceCenter init] (self=0xc7d280,
    _cmd=0x2b57c4daa9b0) at NSWorkspace.m:275
#5  0x00002b57c4947d67 in +[NSObject new] (self=0x2b57c46db880,
    _cmd=0x2b57c46dba80) at NSObject.m:1301
#6  0x00002b57c42f106b in -[NSWorkspace init] (self=0xc7d0b0,
    _cmd=0x2b57c46dbb50) at NSWorkspace.m:634
#7  0x00002b57c42f0eca in +[NSWorkspace sharedWorkspace] (self=0x2b57c46db6a0,
    _cmd=0x2b57c4630d50) at NSWorkspace.m:603
#8  0x00002b57c41dd451 in -[NSDocumentController init] (self=0xc61500,

I guess with that I'll stop to try. It's still the same bug, it may or may not related to font stuff or it may be some problem in the GNUstep daemons. It seems the whole notification stuff does not work.

Friedrich <fridom>
Wed 18 Jun 2008 06:02:44 PM UTC, comment #6: 

I've downloade all the source for libobjc2 for my debian build from sources (gcc 4.3), this is now the informatoin I have about this installation:
gcc -v
Es werden eingebaute Spezifikationen verwendet.
Ziel: x86_64-linux-gnu
Konfiguriert mit: ../src/configure -v --with-pkgversion='Debian 4.3.1-2' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-cld --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread-Modell: posix

I will use it tomorrow to recompile everything make, base, gui, back and see what'll happen then.

If libobjc2 does not work I will try my luck with libobjc1. I'll keep you informed on how it's going.

Regards
Friedrich

Friedrich <fridom>
Wed 18 Jun 2008 10:54:36 AM UTC, comment #5: 

Ok, I tried to update my gdb, but according to apt it's the most actual verision:
 apt-get install gdb
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut      
Reading state information... Fertig
gdb ist schon die neueste Version.

So here's my try on running ProjectCenter under Debugger:
Starting program: /usr/local/src/ObjC/svn-gnustep/projectcenter/ProjectCenter.app/ProjectCenter
[Thread debugging using libthread_db enabled]
[New Thread 0x2b8741bb6c30 (LWP 5850)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2b8741bb6c30 (LWP 5850)]
0x0000000000c28388 in ?? ()
(gdb) bt
#0  0x0000000000c28388 in ?? ()
#1  0x00002b873ede674e in -[NSDistributedNotificationCenter(Private) _connect]
    (self=0xc0ed30, _cmd=0x2b873f2858f0)
    at NSDistributedNotificationCenter.m:780
#2  0x00002b873ede4df5 in -[NSDistributedNotificationCenter addObserver:selector:name:object:suspensionBehavior:] (self=0xc0ed30, _cmd=0x2b873f2858c0,
    anObserver=0xc0a1b0, aSelector=0x2b873ebb7cb0, notificationName=0x0,
    anObject=0x2b873ebb65c0,
    suspensionBehavior=NSNotificationSuspensionBehaviorCoalesce)
    at NSDistributedNotificationCenter.m:339
#3  0x00002b873ede4ad3 in -[NSDistributedNotificationCenter addObserver:selector:name:object:] (self=0xc0ed30, _cmd=0x2b873ebb7cc0, anObserver=0xc0a1b0,
    aSelector=0x2b873ebb7cb0, notificationName=0x0, anObject=0x2b873ebb65c0)
    at NSDistributedNotificationCenter.m:264
#4  0x00002b873e7c1da1 in -[_GSWorkspaceCenter init] (self=0xc0a1b0,
    _cmd=0x2b873f2a7e30) at NSWorkspace.m:275
#5  0x00002b873ee31407 in +[NSObject new] (self=0x2b873ebb79c0,
    _cmd=0x2b873ebb7bc0) at NSObject.m:1268
#6  0x00002b873e7c2c84 in -[NSWorkspace init] (self=0xc09fe0,
    _cmd=0x2b873ebb7c90) at NSWorkspace.m:634
#7  0x00002b873e7c2aa4 in +[NSWorkspace sharedWorkspace] (self=0x2b873ebb77e0,
    _cmd=0x2b873eb0db40) at NSWorkspace.m:603
#8  0x00002b873e693cde in -[NSDocumentController init] (self=0xa0f160,
---Type <return> to continue, or q <return> to quit---
    _cmd=0x2b873eb0da80) at NSDocumentController.m:193
#9  0x00002b873e693822 in +[NSDocumentController sharedDocumentController] (
    self=0x2b873eb0d9a0, _cmd=0x2b873eacdb00) at NSDocumentController.m:148
#10 0x00002b873e61cbeb in -[NSApplication targetForAction:] (self=0x830f60,
    _cmd=0x2b873eacdf10, aSelector=0x6970a0) at NSApplication.m:2127
#11 0x00002b873e61c5c8 in -[NSApplication targetForAction:to:from:] (
    self=0x830f60, _cmd=0x2b873eb3e9c0, theAction=0x6970a0, theTarget=0x0,
    sender=0xb3bf50) at NSApplication.m:2027
#12 0x00002b873e6e99a2 in -[NSMenu update] (self=0xb3be90, _cmd=0x2b873eb3e830)
    at NSMenu.m:1013
#13 0x00002b873e6e8a7e in -[NSMenu itemChanged:] (self=0xb3be90,
    _cmd=0x2b873eb44ba0, anObject=0xb3bf50) at NSMenu.m:717
#14 0x00002b873e6f6187 in -[NSMenuItem setAction:] (self=0xb3bf50,
    _cmd=0x2b873eae10d0, aSelector=0x6970a0) at NSMenuItem.m:394
#15 0x00002b873e64b3d3 in -[NSNibControlConnector establishConnection] (
    self=0xbfd1b0, _cmd=0x2b873ebe9f00) at NSBundleAdditions.m:192
#16 0x00002b873e820e33 in -[GSNibContainer awakeWithContext:] (self=0xa109e0,
    _cmd=0x2b873ec004e0, context=0x9fa170) at GSNibTemplates.m:190
#17 0x00002b873e843db1 in -[GSGormLoader loadModelData:externalNameTable:withZone:] (self=0x94ff70, _cmd=0x2b873ec00560, data=0xa03670, context=0x9fa170,
    zone=0x2b873f2e9e40) at GSGormLoader.m:80
#18 0x00002b873e84409c in -[GSGormLoader loadModelFile:externalNameTable:withZone:] (self=0x94ff70, _cmd=0x2b873eae1150, fileName=0xa03930, context=0x9fa170,
---Type <return> to continue, or q <return> to quit---
    zone=0x2b873f2e9e40) at GSGormLoader.m:134
#19 0x00002b873e64b670 in +[NSBundle(NSBundleAdditions) loadNibFile:externalNameTable:withZone:] (self=0x2b873f267fc0, _cmd=0x2b873eae1250, fileName=0xa03930,
    context=0x9fa170, zone=0x2b873f2e9e40) at NSBundleAdditions.m:243
#20 0x00002b873e64bd50 in -[NSBundle(NSBundleAdditions) loadNibFile:externalNameTable:withZone:] (self=0x824e00, _cmd=0x2b873eae11a0, fileName=0x8278d0,
    context=0x9fa170, zone=0x2b873f2e9e40) at NSBundleAdditions.m:344
#21 0x00002b873e64b84b in +[NSBundle(NSBundleAdditions) loadNibNamed:owner:] (
    self=0x2b873f267fc0, _cmd=0x2b873eacd9b0, aNibName=0x8278d0,
    owner=0x830f60) at NSBundleAdditions.m:282
#22 0x00002b873e6187f6 in -[NSApplication finishLaunching] (self=0x830f60,
    _cmd=0x2b873eacdc90) at NSApplication.m:945
#23 0x00002b873e61a6b1 in -[NSApplication run] (self=0x830f60,
    _cmd=0x2b873eabdb60) at NSApplication.m:1366
#24 0x00002b873e5faf1f in NSApplicationMain (argc=1, argv=0x7fff6cb4c168)
    at Functions.m:74
#25 0x00000000004082bb in main (argc=1, argv=0x7fff6cb4c168)
    at ProjectCenter_main.m:28
(gdb)

Regards
Friedrich

Friedrich <fridom>
Tue 17 Jun 2008 07:00:49 AM UTC, comment #4: 

Maybe it won't help, but could you please run  under gdb and print a stacktrace at the point when the program crashes, and post the stacktrace to this bug report.
The gdb bug which prevents you from setting a breakpoint in main should not effect the ability to print a stacktrace after a crash (just don't try to set the breakpoint).

Richard Frith-Macdonald <CaS>
Project Member
Mon 16 Jun 2008 10:05:00 PM UTC, comment #3: 

Could you please report the gdb bug to the Debian or gdb bug trackern? Debugging with a broken gdb really is no fun. I know that from MinGW on Win32, where no gdb has full Objective-C support.

As for your font problem I expexct that you are using the standard art backend of GNUstep, the one you get if you don't chose any other backend. This already comes with a Helvetica font (but without Courier!) and there is an additional font package for it for more fonts.

Please check in the GNUstep fonts directory, whether the Helvetica font is installed. Normally this is /usr/GNUstep/System/Library/Fonts/, but of course you may have selected a different setup.

There also was a small change for some 64-bit systems to GNUstep base. Perhaps an update from SVN helps.

Fred Kiefer <FredKiefer>
Project Member
Mon 16 Jun 2008 10:08:27 AM UTC, comment #2: 

It may be that it's the font problem which causes the crash.
Other GUI applications do have the same problem.

Regards
Friedrich

Friedrich <fridom>
Mon 16 Jun 2008 10:04:50 AM UTC, comment #1: 

Oh great the stuff I liked to post is gone. So again.
System Intel 64-bit dual core
Linux fvl 2.6.22 #
gcc -vgcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --disable-libmudflap --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.2.3 (Debian 4.2.3-3)

Update all the sources from the Subversion tree and re-installed
make, base, gui, back.

then I can compile ProjectCenter, howerver on start it simply crashes:
This GDB was configured as "x86_64-linux-gnu"...
(gdb) run
Starting program: /home/local/GNUstep/System/Applications/ProjectCenter.app/ProjectCenter
[Thread debugging using libthread_db enabled]
[New Thread 0x2b337995a5e0 (LWP 11864)]
2008-06-16 12:03:15.192 ProjectCenter[11864] The font specified for NSFont, Helvetica, can't be found.
2008-06-16 12:03:15.204 ProjectCenter[11864] The font specified for NSFont, Helvetica, can't be found.
2008-06-16 12:03:15.220 ProjectCenter[11864] The font specified for NSUserFixedPitchFont, Courier, can't be found.
2008-06-16 12:03:15.227 ProjectCenter[11864] The font specified for NSFont, Helvetica, can't be found.
2008-06-16 12:03:15.228 ProjectCenter[11864] The font specified for NSBoldFont, Helvetica-Bold, can't be found.
2008-06-16 12:03:15.234 ProjectCenter[11864] The font specified for NSFont, Helvetica, can't be found.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2b337995a5e0 (LWP 11864)]
0x0000000000c84fb8 in ?? ()
(gdb)

There's no more information, just another crash in gdb if ones tries to use it:
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) b main
Breakpoint 1 at 0x4082af: file ProjectCenter_main.m, line 28.
(gdb) run
Starting program: /home/local/GNUstep/System/Applications/ProjectCenter.app/ProjectCenter
[0] cancel
[1] all
[2] -[NSThread main] at NSThread.m:708
[3] main at ProjectCenter_main.m:28

> 1

/tmp/buildd/gdb-6.8/gdb/breakpoint.c:7292: internal-error: breakpoint_re_set_one: Assertion `sals.nelts == 1' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

So some pointers seem to really run amok.

Regards
Friedrich

Friedrich <fridom>
Mon 16 Jun 2008 09:50:17 AM UTC, original submission:  
Friedrich <fridom>

 

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 rmottola (Posted a comment)
  • -email is unavailable- added by gcasa (Posted a comment)
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by FredKiefer (Posted a comment)
  • -email is unavailable- added by fridom (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-03-22 rmottola StatusNone => Works For Me
        Open/ClosedOpen => Declined
    2008-07-11 gcasa CategoryApplication => ProjectCenter

    Back to the top


    Powered by Savane 3.5