DW_OP_piece when foregrounding app

Discuss any Chipmunk bugs here.
Post Reply
andrews
Posts: 16
Joined: Wed Apr 27, 2011 5:35 am
Contact:

DW_OP_piece when foregrounding app

Post by andrews »

Anyone has insight why is this happening?

objective c wrapper
5.3.5 v.

DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.


#0 0x08090c40 in ?? ()
#1 0x000c2c2c in contactSetFilter (arb=0x6787ec0, space=0x80824d4) at /Users/slembcke/Development/Objective-Chipmunk/../Chipmunk/src/cpSpaceStep.c:258
#2 0x000b7cb8 in cpHashSetFilter (set=0x80827d0, func=0xc2b78 <contactSetFilter>, data=0x80824d4) at /Users/slembcke/Development/Objective-Chipmunk/../Chipmunk/src/cpHashSet.c:241
DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
#3 0x000c2df0 in cpSpaceStep (space=0x80824d4, dt=) at /Users/slembcke/Development/Objective-Chipmunk/../Chipmunk/src/cpSpaceStep.c:325
#4 0x000c09ac in -[ChipmunkSpace step:] (self=<value temporarily unavailable, due to optimizations>, _cmd=<value temporarily unavailable, due to optimizations>, dt=<value temporarily unavailable, due to optimizations>) at /Users/slembcke/Development/Objective-Chipmunk/ChipmunkSpace.m:408
#5 0x0006dbda in -[GameViewController update] (self=0x7549e50, _cmd=0x3164fbd8) at /Users/Zsolt/Dropbox/brians.com projects/Baloise iPhone App/Classes/../../../Brians.com Projects/Baloise iPhone App/BIABall/../../brians_boxonlinebiaball/BIABawls/Game/GameViewController.m:982
#6 0x325c4bea in CA::Display::DisplayLink::dispatch ()
#7 0x325c4d12 in CA::Display::IOMFBDisplayLink::callback ()
#8 0x34d199c6 in IOMobileFramebufferVsyncNotifyFunc ()
#9 0x312366ea in IODispatchCalloutFromCFMessage ()
#10 0x36195bde in __CFMachPortPerform ()
#11 0x361a0a96 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ ()
#12 0x361a283e in __CFRunLoopDoSource1 ()
#13 0x361a360c in __CFRunLoopRun ()
#14 0x36133ec2 in CFRunLoopRunSpecific ()
#15 0x36133dca in CFRunLoopRunInMode ()
#16 0x310c241e in GSEventRunModal ()
#17 0x310c24ca in GSEventRun ()
#18 0x3133ed68 in -[UIApplication _run] ()
#19 0x3133c806 in UIApplicationMain ()
#20 0x00002306 in main (argc=1, argv=0x2fdff534) at /Users/Zsolt/Dropbox/brians.com projects/Baloise iPhone App/main.m:14
Current language: auto; currently objective-c
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: DW_OP_piece when foregrounding app

Post by slembcke »

Never heard of that error, and Google isn't terrible helpful.

Are you using separate handler events at all? My best guess is the separate callback function pointer is getting corrupted and jumping the CPU into some non-code, possibly because the callback was removed or changed. I wrote it so it should be safe to do that, but I might have snuck a bug in. Try disabling the separate callbacks if you have them, and we'll see if we can work from there.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
andrews
Posts: 16
Joined: Wed Apr 27, 2011 5:35 am
Contact:

Re: DW_OP_piece when foregrounding app

Post by andrews »

thanks! I will try figure it out based on your answer.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests