discuss-gnustep
[Top][All Lists]
Advanced

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

Still crashes in GSLazyRecursiveLock


From: Philip Mötteli
Subject: Still crashes in GSLazyRecursiveLock
Date: Thu, 22 Apr 2004 17:15:45 +0200

Hi


I have succeeded in displaying my first Web page with GSW on MOSX. But the moment this action is finished, the autorelease pool emptied, the same problem arises:

Starting program: /private/tmp/MultiMarketsWWW.woa/Contents/MacOS/MultiMarketsWWW
Reading symbols for shared libraries . done
Reading symbols for shared libraries +++++++................................................. done
result=1
Thread <NSThread: 0x6117f0>{num = 1, threadDictionary =
(null)
}: Waiting for connections on herkules:9001.
Thread <NSThread: 0x6117f0>{num = 1, threadDictionary =
(null)
}: Waiting for connections on herkules:9001.
<NSThread: 0x6117f0>{num = 1, threadDictionary =
(null)
}: New Request 2004-04-22 17:10:52 +0200
<NSThread: 0x6117f0>{num = 1, threadDictionary =
(null)
}: New Request 2004-04-22 17:10:52 +0200
ACCEPTED connection from: 192.168.1.3 (Allowed: 192.168.1.3)
ACCEPTED connection from: 192.168.1.3 (Allowed: 192.168.1.3)
<NSThread: 0x6117f0>{num = 1, threadDictionary =
(null)
} : Lauch Thread (Multi) 2004-04-22 17:10:52 +0200
<NSThread: 0x6117f0>{num = 1, threadDictionary =
(null)
} : Lauch Thread (Multi) 2004-04-22 17:10:52 +0200
blocked=0RemoteAddress=127.0.0.1 Request uri=/GSWeb/MultiMarketsWWW.gswa/1
RemoteAddress=127.0.0.1 Request uri=/GSWeb/MultiMarketsWWW.gswa/1
2004-04-22 17:10:52.450 MultiMarketsWWW[23067] Application : sessionID is nil
Component Main  language Deutsch (Not Cached) search time: 0.005 s
Component Main  language Deutsch (Not Cached) search time: 0.005 s
Component Introduction language Deutsch (Not Cached) search time: 0.002 s Component Introduction language Deutsch (Not Cached) search time: 0.002 s Component PMPoweredBy language Deutsch (Not Cached) search time: 0.001 s Component PMPoweredBy language Deutsch (Not Cached) search time: 0.001 s
Component Introduction  language Deutsch (Cached) search time: 0.000 s
Component Introduction  language Deutsch (Cached) search time: 0.000 s
Component PMPoweredBy  language Deutsch (Cached) search time: 0.000 s
Component PMPoweredBy  language Deutsch (Cached) search time: 0.000 s
lock Target...
unlock Target...
session 0x606fc0 _releaseAutoreleasePool START
session 0x606fc0 _releaseAutoreleasePool START
session 0x606fc0 _releaseAutoreleasePool after garbage
session 0x606fc0 _releaseAutoreleasePool after garbagesession 0x606fc0 _releaseAutoreleasePool STOP
session 0x606fc0 _releaseAutoreleasePool STOP

Response Sent


Response Sent

threadWillExit START
threadWillExit START
GC** GarbageCollector collectGarbages START
GC** GarbageCollector collectGarbages STOP
threadWillExit STOP
threadWillExit STOP

Program received signal EXC_BAD_ACCESS, Could not access memory.
[Switching to process 23067 thread 0x180f]
0xffff8264 in __spin_lock ()


It seems, that by autoreleasing those locks, we just have postponed the problem:

#0  0xffff8264 in __spin_lock ()
#1  0x90014058 in pthread_mutex_destroy ()
#2  0x90a22bdc in -[NSRecursiveLock dealloc] ()
#3 0x0021195c in -[GSLazyRecursiveLock dealloc] (self=0x35d2910, _cmd=0x90870b34) at GSLock.m:228
#4  0x909f1d8c in NSPopAutoreleasePool ()
#5 0x016fe23c in -[WODefaultAdaptorThread setPool:destroyLast:] (self=0x35cc490, _cmd=0x1746fc8, pool=0x0, destroy=1 '\001') at GSWDefaultAdaptorThread.m:113 #6 0x016fec4c in -[WODefaultAdaptorThread threadExited] (self=0x35cc490, _cmd=0x1746fb8) at GSWDefaultAdaptorThread.m:276 #7 0x016fef60 in +[WODefaultAdaptorThread threadExited:] (self=0x175ee48, _cmd=0x1746f14, notif=0x602ce0) at GSWDefaultAdaptorThread.m:305
#8  0x909f793c in _nsnote_callback ()
#9  0x901aa680 in __CFXNotificationPost ()
#10 0x901af090 in _CFXNotificationPostNotification ()
#11 0x909f5788 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#12 0x90a15258 in __NSFinalizeThreadData ()
#13 0x9001e34c in _pthread_tsd_cleanup ()
#14 0x90017188 in pthread_exit ()
#15 0x90a5d308 in +[NSThread exit] ()
#16 0x016feba4 in -[WODefaultAdaptorThread run:] (self=0x35cc490, _cmd=0x9088d8a0, nothing=0x0) at GSWDefaultAdaptorThread.m:258
#17 0x90a3a2c4 in forkThreadForFunction ()
#18 0x900247e8 in _pthread_body ()

Does anybody have any other suggestions?


Thanks
Phil





reply via email to

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