[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with GSLazyRecursiveLock on MOSX
From: |
Philip Mötteli |
Subject: |
Problems with GSLazyRecursiveLock on MOSX |
Date: |
Thu, 22 Apr 2004 00:12:02 +0200 |
Hi
I try to use GSW on MOSX. The moment I access the first page, there's
some initializing stuff and then a GSLazyRecursiveLock gets
deallocated, which in turn calls [super deallocate] and the super class
crashes somewhere in pthread_mutex_destroy. I have the backtrace
attached. The output from the program doesn't help me a lot:
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-21 23:26:20 +0200
<NSThread: 0x6117f0>{num = 1, threadDictionary =
(null)
}: New Request 2004-04-21 23:26:20 +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-21 23:26:20 +0200
<NSThread: 0x6117f0>{num = 1, threadDictionary =
(null)
} : Lauch Thread (Multi) 2004-04-21 23:26:20 +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-21 23:26:20.638 MultiMarketsWWW[14159] Application : sessionID
is nil
Program received signal EXC_BAD_ACCESS, Could not access memory.
[Switching to process 14159 thread 0x180f]
0xffff8264 in __spin_lock ()
I think the backtrace could help more:
#0 0xffff8264 in __spin_lock ()
#1 0x90014058 in pthread_mutex_destroy ()
#2 0x90a22bdc in -[NSRecursiveLock dealloc] ()
#3 0x0021195c in -[ dealloc] (self=0x6d2690, _cmd=0x90870b34) at
GSLock.m:228
#4 0x00211a64 in -[GSLazyRecursiveLock init] (self=0x6d2690,
_cmd=0x9083ed94) at GSLock.m:241
#5 0x0020a038 in +[_GSLockInitializer initialize] (self=0x23778c,
_cmd=0x9083ebbc) at GSCategories.m:1161
#6 0x908329e0 in class_initialize ()
#7 0x90831524 in _class_lookupMethodAndLoadCache ()
#8 0x90831298 in objc_msgSend ()
#9 0x0020a370 in newLockAt (self=0x23793c, _cmd=0x401428,
location=0x402260) at GSCategories.m:1181
#10 0x0020a0cc in +[NSRecursiveLock(GSCategories) newLockAt:]
(self=0x23793c, _cmd=0x401428, location=0x402260) at
GSCategories.m:1254
#11 0x003f2568 in GSUseStrictWO451Compatibility (key=0x0) at
EONSAddOns.m:71
#12 0x003caf44 in initialize () at EOKeyValueCoding.m:85
#13 0x003c6d48 in -[NSArray(EOKeyValueCoding) valueForKey:]
(self=0x6d22e0, _cmd=0x9089ddd8, key=0x17571fc) at
EOKeyValueCoding.m:215
#14 0x016a2234 in +[GSWValueQualityHeaderPart valuesFromHeaderString:]
(self=0x175e414, _cmd=0x173b55c, string=0x6ceb50) at GSWRequest.m:89
#15 0x016a46fc in -[WORequest browserLanguages] (self=0x6d00a0,
_cmd=0x1736550) at GSWRequest.m:555
#16 0x016bb110 in -[WOSession(GSWLocalization) languages]
(self=0x606fc0, _cmd=0x1732a80) at GSWSession.m:1442
#17 0x0168ab60 in -[WOContext(GSWContextB) languages] (self=0x6d0f80,
_cmd=0x1732a80) at GSWContext.m:1051
#18 0x01670858 in -[WOApplication(GSWPageManagement)
_pageWithName:inContext:] (self=0x6b9d40, _cmd=0x1731910,
aName=0x1752708, aContext=0x6d0f80) at GSWApplication.m:2775
#19 0x0167060c in -[WOApplication(GSWPageManagement)
pageWithName:inContext:] (self=0x6b9d40, _cmd=0x173193c, aName=0x0,
aContext=0x6d0f80) at GSWApplication.m:2733
#20 0x016f8e84 in -[WOComponentRequestHandler
lockedDispatchWithPreparedSession:inContext:elements:] (self=0x6074f0,
_cmd=0x1745f14, aSession=0x606fc0, aContext=0x6d0f80,
elements=0x6d0ff0) at GSWComponentRequestHandler.m:307
#21 0x016f8694 in -[WOComponentRequestHandler
lockedDispatchWithPreparedApplication:inContext:elements:]
(self=0x6074f0, _cmd=0x1745f4c, application=0x6b9d40,
aContext=0x6d0f80, elements=0x6d0ff0) at
GSWComponentRequestHandler.m:231
#22 0x016f7fc4 in -[WOComponentRequestHandler lockedHandleRequest:]
(self=0x6074f0, _cmd=0x1745f88, aRequest=0x6d00a0) at
GSWComponentRequestHandler.m:127
#23 0x016f79f8 in -[WOComponentRequestHandler handleRequest:]
(self=0x6074f0, _cmd=0x1732c7c, aRequest=0x6d00a0) at
GSWComponentRequestHandler.m:51
#24 0x016725dc in -[WOApplication(GSWRequestHandling) dispatchRequest:]
(self=0x6b9d40, _cmd=0x1731798, aRequest=0x6d00a0) at
GSWApplication.m:3282
#25 0x016fe88c in -[WODefaultAdaptorThread run:] (self=0x6cbf10,
_cmd=0x9088d8a0, nothing=0x0) at GSWDefaultAdaptorThread.m:204
#26 0x90a3a2c4 in forkThreadForFunction ()
#27 0x900247e8 in _pthread_body ()
Thanks for any help!
Phil
- Problems with GSLazyRecursiveLock on MOSX,
Philip Mötteli <=