[Closed] Crash on OSX when exporting to Doctrine 2 annotations in a folder that exists

0 votes
asked May 14, 2013 in Solved by gavinwilliams (150 points)
recategorized Jun 26, 2014 by Martin Freki Stradej

If I go to export a modified ORM design back to Doctrine 2 annotations, I get the following exception on OSX.

Process:         OrmDesigner2 [89939]
Path:            /Applications/OrmDesigner2.app/Contents/MacOS/OrmDesigner2
Identifier:      com.orm-designer.OrmDesigner2
Version:         1.0
Code Type:       X86-64 (Native)
Parent Process:  launchd [532]
User ID:         501

Date/Time:       2013-05-14 13:53:09.879 +0100
OS Version:      Mac OS X 10.8.3 (12D78)
Report Version:  10

Interval Since Last Report:          476529 sec
Crashes Since Last Report:           4
Per-App Crashes Since Last Report:   4
Anonymous UUID:                      C5E62E55-7609-25B5-70B0-54077F7B46CA

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called
terminate called throwing an exception

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff8e85e212 __pthread_kill + 10
1   libsystem_c.dylib               0x00007fff88f8ab54 pthread_kill + 90
2   libsystem_c.dylib               0x00007fff88fcedce abort + 143
3   libc++abi.dylib                 0x00007fff89f1e9eb abort_message + 257
4   libc++abi.dylib                 0x00007fff89f1c39a default_terminate() + 28
5   libobjc.A.dylib                 0x00007fff9099f887 _objc_terminate() + 111
6   libc++abi.dylib                 0x00007fff89f1c3c9 safe_handler_caller(void (*)()) + 8
7   libc++abi.dylib                 0x00007fff89f1c424 std::terminate() + 16
8   libc++abi.dylib                 0x00007fff89f1d58b __cxa_throw + 111
9   libboost_filesystem.dylib       0x0000000102c50d4e boost::filesystem::detail::create_directories(boost::filesystem::path const&, boost::system::error_code*) + 430
10  com.orm-designer.OrmDesigner2   0x00000001000b9886 Atomix::CDirectoryHelper::CreateDirectoryPath(Atomix::CFilePath) + 310
11  com.orm-designer.OrmDesigner2   0x00000001001dfdd3 Atomix::QtScript::CFileToolsPrototype::CopyFile(QString, QString) const + 115
12  com.orm-designer.OrmDesigner2   0x000000010093ddb3 Atomix::QtScript::CFileToolsPrototype::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 275
13  com.orm-designer.OrmDesigner2   0x000000010093e91f Atomix::QtScript::CFileToolsPrototype::qt_metacall(QMetaObject::Call, int, void**) + 95
14  QtScript                        0x0000000104fb1b15 QScriptable::QScriptable() + 77669
15  QtScript                        0x0000000104fb4985 QScriptable::QScriptable() + 89557
16  QtScript                        0x0000000104fb4c5d QScriptable::QScriptable() + 90285
17  QtScript                        0x0000000104ec14b2 0x104df3000 + 844978
18  QtScript                        0x0000000104e966f3 0x104df3000 + 669427
19  ???                             0x00000001072dd0a6 0 + 4415410342
20  QtScript                        0x0000000104e4d33d 0x104df3000 + 369469
21  QtScript                        0x0000000104eea839 0x104df3000 + 1013817
22  QtScript                        0x0000000104ec14e2 0x104df3000 + 845026
23  QtScript                        0x0000000104f9b095 QScriptValue::call(QScriptValue const&, QList<QScriptValue> const&) + 821
24  com.orm-designer.OrmDesigner2   0x000000010064a399 Services::CProjectSessionScriptService::ExecuteScriptFunction(Logic::COrmdProjectScriptSession*, String::CSmartString<String::string_trait<wchar_t> >, QList<QScriptValue>&) + 393
25  com.orm-designer.OrmDesigner2   0x000000010064a9de Services::CProjectSessionScriptService::ExportProject(boost::shared_ptr<Logic::COrmdProjectSession>, Atomix::CFilePath, bool, Atomix::Services::CDatapack*) + 542
26  com.orm-designer.OrmDesigner2   0x0000000100644b4b Services::CProjectSerializerService::ExportProject(boost::shared_ptr<Logic::COrmdProjectSession>, Atomix::CFilePath, bool, Atomix::Services::CDatapack*) + 123
27  com.orm-designer.OrmDesigner2   0x0000000100712ff7 Services::CProjectSessionController::ExportProject(boost::shared_ptr<Logic::COrmdProjectSession>) + 711
28  com.orm-designer.OrmDesigner2   0x0000000100856aad Gui::CMainWindowProject::ExportProject() + 125
29  QtCore                          0x00000001051f7f2e QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 1566
30  QtGui                           0x000000010545d4a1 QAction::triggered(bool) + 49
31  QtGui                           0x000000010545e834 QAction::activate(QAction::ActionEvent) + 180
32  QtGui                           0x0000000105807b19 QAbstractButton::keyPressEvent(QKeyEvent*) + 713
33  QtGui                           0x0000000105807db1 QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 113
34  QtGui                           0x00000001058d5cd2 QToolButton::mouseReleaseEvent(QMouseEvent*) + 18
35  QtGui                           0x00000001054bb721 QWidget::event(QEvent*) + 2369
36  QtGui                           0x0000000105806ba8 QAbstractButton::event(QEvent*) + 40
37  QtGui                           0x00000001058d80df QToolButton::event(QEvent*) + 63
38  QtGui                           0x0000000105463a5d QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189
39  QtGui                           0x000000010546a600 QApplication::notify(QObject*, QEvent*) + 2384
40  com.orm-designer.OrmDesigner2   0x000000010092a6ca Atomix::CAtomixApplicationQtApp::notify(QObject*, QEvent*) + 42
41  QtCore                          0x00000001051dfb2c QCoreApplication::notifyInternal(QObject*, QEvent*) + 124
42  QtGui                           0x000000010546804d QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 333
43  QtGui                           0x0000000105417b35 QMacCocoaAutoReleasePool::~QMacCocoaAutoReleasePool() + 18901
44  com.apple.AppKit                0x00007fff920e4606 -[NSWindow sendEvent:] + 7053
45  QtGui                           0x000000010540cbe7 QMacInputContext::reset() + 24823
46  com.apple.AppKit                0x00007fff920e0674 -[NSApplication sendEvent:] + 5761
47  QtGui                           0x0000000105411cd4 QMacInputContext::reset() + 45540
48  com.apple.AppKit                0x00007fff91ff624a -[NSApplication run] + 636
49  QtGui                           0x000000010541cab0 QDesktopWidget::resizeEvent(QResizeEvent*) + 13040
50  QtCore                          0x00000001051dea34 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 68
51  QtCore                          0x00000001051dede4 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 324
52  QtCore                          0x00000001051e14cc QCoreApplication::exec() + 188
53  com.orm-designer.OrmDesigner2   0x000000010058d5b2 Logic::CApplicationOrmDesigner2::ExecuteMainApplication() + 258
54  com.orm-designer.OrmDesigner2   0x0000000100928a8d Atomix::CApplication::Execute() + 141
55  com.orm-designer.OrmDesigner2   0x000000010092725d Atomix::CApplication::ExecuteApplication(Atomix::CApplication*) + 621
56  com.orm-designer.OrmDesigner2   0x000000010006baf8 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x00007fff8e85ed16 kevent + 10
1   libdispatch.dylib               0x00007fff915b0dea _dispatch_mgr_invoke + 883
2   libdispatch.dylib               0x00007fff915b09ee _dispatch_mgr_thread + 54

1 Answer

0 votes
answered May 14, 2013 by ludek.vodicka Skipper developer (140,450 points)
selected Jul 30, 2014 by Martin Freki Stradej
 
Best answer

Thank you for sending this crash report.

Unfortunately we aren't able to find out what's wrong only from this crash-report. Would it be possible to send us your project including your php schema files (or at least a file which cases this crash)?

Without that we unfortunately can't fix it. Your project will be used only for bug-testing and will be treated as confidential.

commented May 14, 2013 by ludek.vodicka Skipper developer (140,450 points)

PS: Based on call-stack, could you please try to export your project to another location? Is your destination write-able?

...