[Qt-interest] Crash when application launched.

Manish Chaturvedi manish_chaturvedi at persistent.co.in
Wed Jun 2 08:55:25 CEST 2010


Hi All,

I am writing a Qt application on Mac using Qt 4.5.3. This application does well when accessibility is not turned on my machine but when I enabled accessibility from Preferences->Universal access-> Enable access for assistive devices, my application started crashing while launching.


Here is the crash log for the same

Architecture:  i386
Date/Time:      2010-05-28 09:18:08.959 -0600
OS Version:      Mac OS X 10.5.8 (9L30)
Report Version:  6
Anonymous UUID:  0EAD256E-99EC-47A0-9263-0AA7AE87DC8F

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000004
Crashed Thread:  0

Thread 0 Crashed:
0  QtGui                            0x18d4fc16 QToolButton::menu() const  6
1  libqtaccessiblewidgets.dylib      0x17811311 AccessibleFactory::create(QString const_and_, QObject*)  787
2  QtGui                            0x18dd5d15 QAccessible::queryAccessibleInterface(QObject*)  453
3  QtGui                            0x18dda5ba QAccessibleWidget::navigate(QAccessible::RelationFlag, int, QAccessibleInterface**) const  186
4  QtGui                            0x00c48083 QAInterface::navigate(QAccessible::RelationFlag, int) const  163
5  QtGui                            0x00c486a4 managesChildren(QAInterface const_and_)  100
6  QtGui                            0x00c50037 QAccessibleHierarchyManager::registerInterface(QAInterface const_and_)  999
7  QtGui                            0x00c5050d QAccessible::updateAccessibility(QObject*, int, QAccessible::Event)  621
8  QtGui                            0x00cade7a QWidgetPrivate::show_helper()  330
9  QtGui                            0x00cae553 QWidget::setVisible(bool)  1267
10  QtGui                            0x00cadcd8 QWidgetPrivate::showChildren(bool)  328
11  QtGui                            0x00cadd8c QWidgetPrivate::show_helper()  92
12  QtGui                            0x00cae553 QWidget::setVisible(bool)  1267
13  com.app.MyApp          0x0000988b CMainWindow::Show()  83
14  com. app.MyApp          0x0001ed99 CViewController::Display()  77
15  com. app.MyApp          0x0000fb7f CTeacherApplication::ShowMainWindow()  115
16  com. app.MyApp          0x00009173 main  927


I don't see this problem when my application is run from Xcode. This crash is observed only when I am installing my application to Application folder. Is something I am missing while creating the installer of my application? Any help will be appreciated!

Thanks in advance!

Manish

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100602/346ddb24/attachment.html 


More information about the Qt-interest-old mailing list