MallocDebug Mystifies MemNewbie
MallocDebug Mystifies MemNewbie
- Subject: MallocDebug Mystifies MemNewbie
- From: Lance Drake <email@hidden>
- Date: Fri, 30 May 2003 16:10:38 -0600
Attempting to confirm my optimistic assumption that all is well with
my app, I decided to take it on a test spin with 'MallocDebug'.
Immediately, the app is quit by MallocDebug with a complaint about a
bad memory access.
Of course, the app runs fine without the asisst of MallocDebug but I
believe that something IS wrong.
After leaving awakeFromNib() - the fit-hits-the-shan and the game is
over - up comes the alert that an illegal memory access has occurred
and that the app has been quit. Below is from CrashReporter log.
Any clues for a mystified MallocDebug newbie?
Lance Drake
-----------------------------------------------------------------------
Thread 3 Crashed:
#0 0x8c904f48 in unwindStack
#1 0x8c904fd4 in getBacktrace
#2 0x8c905068 in malloc
#3 0x900117d0 in _pthread_create_suspended
#4 0x002731fc in 0x2731fc
#5 0x00000000 in 0x0 <-- hmmmm ?
The complaint is: <yourapp> accessed memory at 0x7c0802ae illegally.
Note: Register r4 is suspiciously close to that value.
PPC Thread State:
srr0: 0x8c904f48 srr1: 0x0000d030 vrsave: 0x00000000
xer: 0x00000000 lr: 0x8c904fd4 ctr: 0x8c904ff0 mq: 0x00000000
r0: 0x90010008 r1: 0x0027ba60 r2: 0x873204f0 r3: 0x0027baa0
r4: 0x7c0802a6 r5: 0x00000030 r6: 0x0000002c r7: 0x00000803
r8: 0x00000000 r9: 0x00000004 r10: 0x00000000 r11: 0x0027bab0
r12: 0x8c904ff0 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0x90034660 r18: 0x90011700 r19: 0x90007f40
r20: 0x90027680 r21: 0x00000000 r22: 0x00273238 r23: 0x00273008
r24: 0x00000000 r25: 0x00000000 r26: 0x0027bfc0 r27: 0x00000000
r28: 0x0000025c r29: 0x00000000 r30: 0x0027beb0 r31: 0x8c904f98
------------------------------------------------------------------------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.