Hi all, whenever we call QDialog::exec(), the app crashes (see the attached crash report + lldb dumps). We use Qt 5.2 It crashes only on one particular machine, it runs on another machine without any problems. I really don't know what is wrong (it seems it has something to do with the accessibility events handling, but we didn't do anything special with accessibility) Date/Time: 2014-01-23 08:42:51.559 +0100 OS Version: Mac OS X 10.9.1 (13B42) Report Version: 11 Anonymous UUID: B524C2F7-2C97-E23E-D37D-E57B85E65AFF Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libQt5Gui.5.dylib 0x00cd5418 QAccessible::registerAccessibleInterface(QAccessibleInterface*) + 24 1 libQt5Gui.5.dylib 0x00cd5566 QAccessible::uniqueId(QAccessibleInterface*) + 70 2 libqcocoa.dylib 0x05faf00d QCocoaAccessibility::notifyAccessibilityUpdate(QAccessibleEvent*) + 29 3 libQt5Gui.5.dylib 0x00cd6697 QAccessible::updateAccessibility(QAccessibleEvent*) + 103 4 libQt5Widgets.5.dylib 0x011ff64e QWidgetWindow::event(QEvent*) + 1118 5 libQt5Widgets.5.dylib 0x01197c8c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 188 6 libQt5Widgets.5.dylib 0x011a0a73 QApplication::notify(QObject*, QEvent*) + 1635 7 libQt5Core.5.dylib 0x0092135c QCoreApplication::notifyInternal(QObject*, QEvent*) + 108 8 libQt5Gui.5.dylib 0x00cf0eaa QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) + 298 9 libQt5Gui.5.dylib 0x00cf8854 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 1908 10 libQt5Gui.5.dylib 0x00cde5a4 QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 52 11 libqcocoa.dylib 0x05f9a5cf QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 31 12 com.apple.CoreFoundation 0x991dee3f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15 13 com.apple.CoreFoundation 0x991cfccb __CFRunLoopDoSources0 + 235 14 com.apple.CoreFoundation 0x991cf3ce __CFRunLoopRun + 1022 15 com.apple.CoreFoundation 0x991ced5a CFRunLoopRunSpecific + 394 16 com.apple.CoreFoundation 0x991cebbb CFRunLoopRunInMode + 123 17 com.apple.HIToolbox 0x98c1ce2d RunCurrentEventLoopInMode + 259 18 com.apple.HIToolbox 0x98c1ca47 ReceiveNextEventCommon + 163 19 com.apple.HIToolbox 0x98c1c98d _BlockUntilNextEventMatchingListInModeWithFilter + 92 20 com.apple.AppKit 0x902be5a9 _DPSNextEvent + 1602 21 com.apple.AppKit 0x902bdad0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119 22 com.apple.AppKit 0x9063beac -[NSApplication _realDoModalLoop:peek:] + 828 23 com.apple.AppKit 0x9063bb5d -[NSApplication _doModalLoop:peek:] + 209 24 com.apple.AppKit 0x90679efd -[NSApplication runModalSession:] + 118 25 libqcocoa.dylib 0x05f9ad3f QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1871 26 libQt5Core.5.dylib 0x0091ffb7 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 39 27 libQt5Core.5.dylib 0x009205ef QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 207 28 libQt5Widgets.5.dylib 0x013a9883 QDialog::exec() + 547 (lldb) register read General Purpose Registers: eax = 0x00000000 ebx = 0x00cd5414 ecx = 0xffffffff edx = 0xbfffc3bc edi = 0x00000000 esi = 0xbfffc46c ebp = 0xbfffc3c8 esp = 0xbfffc390 ss = 0x00000023 eflags = 0x00210286 eip = 0x00cd5418 cs = 0x0000001b ds = 0x00000023 es = 0x00000023 fs = 0x00000000 gs = 0x0000000f (lldb) di -f libQt5Gui.5.dylib`QAccessible::registerAccessibleInterface(QAccessibleInterface*): 0xcd5400: pushl %ebp 0xcd5401: movl %esp, %ebp 0xcd5403: subl $56, %esp 0xcd5406: movl %ebx, -12(%ebp) 0xcd5409: movl %esi, -8(%ebp) 0xcd540c: movl %edi, -4(%ebp) 0xcd540f: calll 0xcd5414 ; QAccessible::registerAccessibleInterface(QAccessibleInterface*) + 20 0xcd5414: popl %ebx 0xcd5415: movl 8(%ebp), %edi -> 0xcd5418: movl (%edi), %eax 0xcd541a: movl 12(%eax), %eax 0xcd541d: movl %edi, (%esp) 0xcd5420: calll *%eax 0xcd5422: movl %eax, %esi 0xcd5424: movl 3761368(%ebx), %eax 0xcd542a: testl %eax, %eax 0xcd542c: jns 0xcd544f ; QAccessible::registerAccessibleInterface(QAccessibleInterface*) + 79 0xcd542e: movl %edi, 8(%esp) 0xcd5432: movl %esi, 4(%esp) 0xcd5436: movl 3761440(%ebx), %eax 0xcd543c: movl %eax, (%esp) 0xcd543f: calll 0xcd8a60 ; QAccessibleCache::insert(QObject*, QAccessibleInterface*) const 0xcd5444: movl -12(%ebp), %ebx 0xcd5447: movl -8(%ebp), %esi 0xcd544a: movl -4(%ebp), %edi 0xcd544d: leave 0xcd544e: ret Stanislav Kolář | Research & Development Kerio Technologies Anglické nábřeží 1, 301 00 Plzeň Tel: +420 377 338 901
Social collaboration reinvented. http://www.samepage.io
<<inline: image003.png>>
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest