discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gworkspace crashes on startup


From: Sebastian Reitenbach
Subject: Re: gworkspace crashes on startup
Date: Fri, 8 Apr 2011 13:20:58 +0200
User-agent: KMail/1.13.5 (Linux/2.6.34.7-0.7-xen; KDE/4.4.4; x86_64; ; )

On Friday, April 08, 2011 11:40:43 am David Chisnall wrote:
> On 8 Apr 2011, at 10:24, Sebastian Reitenbach wrote:
> > Thanks, I'll try your updated version then, David, do you still want me
> > to try to recompile libobjc2 with gcc?
> 
> If it still crashes, yes - currently, clang only produces good debug info
> at -O0, so either compile with gcc or clang -O0 when you need a helpful
> stack trace.

It also seems to work for me now. However, when I tried to start it the first 
time, it crashed, so this crasher seems to be a bit more random, and somehow 
looks a bit similar to the random pl2link crasher:


(gdb) info threads 
  4 process 19763, thread 0x893c8400 (RUNNING)  _thread_kern_sched 
(scp=0xcfbeb49c) at /usr/src/lib/libpthread/uthread/uthread_kern.c:488
  3 process 19763, thread 0x843a6400 (RUNNING)  0x0338376d in kill () from 
/usr/lib/libc.so.58.0
  2 process 19763, thread 0x843a6000 (COND_WAIT)  _thread_kern_sched (scp=0x0) 
at /usr/src/lib/libpthread/uthread/uthread_kern.c:488
* 1 process 19763  0x0338376d in kill () from /usr/lib/libc.so.58.0

(gdb) thread apply all bt                                                       
                                                                                
                                                                                
  
                                                                                
                                                                                
                                                                                
  
Thread 4 (process 19763, thread 0x893c8400):                                    
                                                                                
                                                                                
  
#0  _thread_kern_sched (scp=0xcfbeb49c) at 
/usr/src/lib/libpthread/uthread/uthread_kern.c:488                              
                                                                                
                                       
#1  0x071901f0 in _thread_sig_handler (sig=27, info=0xcfbeb4f0, 
scp=0xcfbeb49c) at /usr/src/lib/libpthread/uthread/uthread_sig.c:86             
                                                                                
                  
#2  <signal handler called>                                                     
                                                                                
                                                                                
  
#3  0x0cb09b5d in _dl_sigprocmask () from /usr/libexec/ld.so                    
                                                                                
                                                                                
  
#4  0x0cb0bf1e in _dl_thread_bind_lock () from /usr/libexec/ld.so               
                                                                                
                                                                                
  
#5  0x0cb0d31c in _dl_bind () from /usr/libexec/ld.so                           
                                                                                
                                                                                
  
#6  0x0cb09b87 in _dl_bind_start () from /usr/libexec/ld.so                     
                                                                                
                                                                                
  
#7  0x86eb8008 in ?? ()
#8  0x00000fc8 in ?? ()
#9  0x2bda0033 in ?? ()
#10 0x24b40033 in .objc_method_list53 () from /usr/local/lib/libgnustep-
base.so.3.2
#11 0xcfbeb868 in ?? ()
#12 0x24b8f844 in ?? () from /usr/local/lib/libgnustep-base.so.3.2
#13 0xcfbeb880 in ?? ()
#14 0x24b8f844 in ?? () from /usr/local/lib/libgnustep-base.so.3.2
#15 0x00000009 in ?? ()
#16 0x24b0906b in __unnamed_56 () from /usr/local/lib/libgnustep-base.so.3.2
#17 0x04c3e5c0 in -[NSObject dealloc] () at NSObject.m:1279
#18 0x00000296 in ?? ()
#19 0x86eb8008 in ?? ()
#20 0x00000fc8 in ?? ()
#21 0x04c3e146 in +[NSObject initialize] (self=Cannot access memory at address 
0x0
) at NSObject.m:981
#22 0x0bdaf2a8 in objc_send_initialize (object=Variable "object" is not 
available.
) at dtable.c:605
#23 0x0bdaf010 in objc_send_initialize (object=Variable "object" is not 
available.
) at dtable.c:542
#24 0x0bdb8525 in objc_msg_lookup (receiver=Variable "receiver" is not 
available.
) at sendmsg2.c:68
#25 0x04c69874 in _gnu_process_args (argc=Variable "argc" is not available.
) at NSProcessInfo.m:232
#26 0x04c69812 in main (argc=-809584152, argv=0xcfbeb9e8, env=0xcfbeb9e8) at 
NSProcessInfo.m:976
#27 0x1c02ea07 in ___start ()
#28 0x1c02e987 in _start ()
#29 0x00000000 in ?? ()

Thread 3 (process 19763, thread 0x843a6400):
#0  0x0338376d in kill () from /usr/lib/libc.so.58.0
#1  0x033baaf3 in __stack_smash_handler (func=0x2717cfd6 "_spinlock_debug", 
damaged=655869752) at /usr/src/lib/libc/sys/stack_protector.c:89
#2  0x0719036d in _spinlock_debug (lck=Variable "lck" is not available.
) at /usr/src/lib/libpthread/uthread/uthread_spinlock.c:109
#3  0x07187c72 in _thread_malloc_lock () at 
/usr/src/lib/libpthread/thread/thread_malloc_lock.c:14
#4  0x033e2e6c in free (ptr=0x8b69c000) at 
/usr/src/lib/libc/stdlib/malloc.c:1317
#5  0x0bdb740b in selector_table_collect_garbage (t=Cannot access memory at 
address 0x0
) at hash_table.h:153
#6  0x0bdb8ca6 in runloop (q=Variable "q" is not available.
) at toydispatch.c:197
#7  0x071865be in _thread_start () at 
/usr/src/lib/libpthread/uthread/uthread_create.c:242
#8  0x0000002b in ?? ()
#9  0x00000000 in ?? ()

Thread 2 (process 19763, thread 0x843a6000):
#0  _thread_kern_sched (scp=0x0) at 
/usr/src/lib/libpthread/uthread/uthread_kern.c:488
#1  0x0718f6cf in _thread_kern_sched_state_unlock (state=PS_COND_WAIT, 
lock=0x8648b518, fname=0x2717ce14 
"/usr/src/lib/libpthread/uthread/uthread_cond.c", lineno=432) at 
/usr/src/lib/libpthread/uthread/uthread_kern.c:592
#2  0x0718ba97 in pthread_cond_timedwait (cond=0x2717e120, mutex=0x2717e11c, 
abstime=0x85676fc0) at /usr/src/lib/libpthread/uthread/uthread_cond.c:431
---Type <return> to continue, or q <return> to quit---
#3  0x07186bd7 in _thread_gc (arg=0x0) at 
/usr/src/lib/libpthread/uthread/uthread_gc.c:181                                
                                                                                
                                        
#4  0x071865be in _thread_start () at 
/usr/src/lib/libpthread/uthread/uthread_create.c:242                            
                                                                                
                                            
#5  0x0000002b in ?? ()                                                         
                                                                                
                                                                                
  
#6  0x00000000 in ?? ()                                                         
                                                                                
                                                                                
  

Thread 1 (process 19763):
#0  0x0338376d in kill () from /usr/lib/libc.so.58.0
#1  0x033baaf3 in __stack_smash_handler (func=0x2717cfd6 "_spinlock_debug", 
damaged=655869752) at /usr/src/lib/libc/sys/stack_protector.c:89
#2  0x0719036d in _spinlock_debug (lck=Variable "lck" is not available.
) at /usr/src/lib/libpthread/uthread/uthread_spinlock.c:109
#3  0x07187c72 in _thread_malloc_lock () at 
/usr/src/lib/libpthread/thread/thread_malloc_lock.c:14
#4  0x033e2e6c in free (ptr=0x8b69c000) at 
/usr/src/lib/libc/stdlib/malloc.c:1317
#5  0x0bdb740b in selector_table_collect_garbage (t=Cannot access memory at 
address 0x0
) at hash_table.h:153
#6  0x0bdb8ca6 in runloop (q=Variable "q" is not available.
) at toydispatch.c:197
#7  0x071865be in _thread_start () at 
/usr/src/lib/libpthread/uthread/uthread_create.c:242
#8  0x0000002b in ?? ()
#9  0x00000000 in ?? ()

I'm going now and rebuild everything with gcc, and will see if both crash 
again, or even others. And to check for the displaying problem I reported with 
FTP and AddressManager also appears with gcc compiled.

Sebastian


> 
> David
> 
> -- Sent from my Apple II



reply via email to

[Prev in Thread] Current Thread [Next in Thread]