jhuscott / virtualc64

Automatically exported from code.google.com/p/virtualc64
0 stars 0 forks source link

crash just after using USB joypad #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start the app
2. hit any key on the joypad
3. crash

What version of the product are you using? On what operating system?

0.9.5.1 on OSX 10.7

Please provide any additional information below.

part of the stack trace:

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000

VM Regions Near 0:
--> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- 
SM=NUL  /Users/USER/Downloads/VirtualC64.app/Contents/MacOS/VirtualC64
    __TEXT                 0000000000001000-0000000000079000 [  480K] r-x/rwx SM=COW  /Users/USER/Downloads/VirtualC64.app/Contents/MacOS/VirtualC64

Application Specific Information:
objc[2550]: garbage collection is ON

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   ???                             0000000000 0 + 0
1   de.dirkwhoffmann.VirtualC64     0x0003cffd 
IOHIDDeviceInfo::IOHIDDeviceInfo(__IOHIDDevice*) + 49
2   de.dirkwhoffmann.VirtualC64     0x0003d304 
JoystickManager::InputValueCallback(void*, int, void*, __IOHIDValue*) + 36
3   de.dirkwhoffmann.VirtualC64     0x0003d856 
JoystickManager::InputValueCallback_static(void*, int, void*, __IOHIDValue*) + 
42
4   com.apple.framework.IOKit       0x970b3ecc 
__IOHIDDeviceInputElementValueCallback + 185
5   com.apple.framework.IOKit       0x970b55b6 _IOHIDCallbackApplier + 42
6   com.apple.CoreFoundation        0x9bd28b30 
__CFDictionaryApplyFunction_block_invoke_1 + 32
7   com.apple.CoreFoundation        0x9bd07e62 CFBasicHashApply + 114
8   com.apple.CoreFoundation        0x9bd28b02 CFDictionaryApplyFunction + 194
9   com.apple.framework.IOKit       0x970b7120 
__IOHIDQueueValueAvailableCallback + 72
10  com.apple.iokit.IOHIDLib        0x0dfea53b 
IOHIDQueueClass::queueEventSourceCallback(__CFMachPort*, mach_msg_header_t*, 
long, void*) + 43
11  com.apple.CoreFoundation        0x9bcf8cda __CFMachPortPerform + 346
12  com.apple.CoreFoundation        0x9bcf8b61 
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 49
13  com.apple.CoreFoundation        0x9bcf878b __CFRunLoopDoSource1 + 155
14  com.apple.CoreFoundation        0x9bd31e11 __CFRunLoopRun + 2193
15  com.apple.CoreFoundation        0x9bd311ec CFRunLoopRunSpecific + 332
16  com.apple.CoreFoundation        0x9bd31098 CFRunLoopRunInMode + 120
17  com.apple.HIToolbox             0x98068487 RunCurrentEventLoopInMode + 318
18  com.apple.HIToolbox             0x9806fdc3 ReceiveNextEventCommon + 381
19  com.apple.HIToolbox             0x9806fc32 
BlockUntilNextEventMatchingListInMode + 88
20  com.apple.AppKit                0x963406c0 _DPSNextEvent + 678
21  com.apple.AppKit                0x9633ff2d -[NSApplication 
nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
22  com.apple.AppKit                0x9633c29f -[NSApplication run] + 904
23  com.apple.AppKit                0x965cf928 NSApplicationMain + 1054
24  de.dirkwhoffmann.VirtualC64     0x00002ee5 start + 53

Original issue reported on code.google.com by lerche.a...@gmail.com on 7 Aug 2011 at 6:00

GoogleCodeExporter commented 9 years ago
maybe a screenshot showing the crash within a Xcode session is helpful

Original comment by lerche.a...@gmail.com on 7 Aug 2011 at 6:09

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in 0.9.6

Thanks for reporting!

Original comment by dirk.hof...@gmail.com on 17 Sep 2011 at 11:08