Astroua / CARTAvis

Deprecated Repository for CARTA project. Refer to:
https://github.com/cartavis/carta
GNU General Public License v2.0
2 stars 7 forks source link

Mac Version 10.11_1.0.0 crashes on changing coordinate frame #184

Closed low-sky closed 7 years ago

low-sky commented 8 years ago

To replicate. Right click, select Image settings and change J2000 to Galactic. This is operating on aJ.fits but all other images also crash. Here's the trace on the Mac side.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff9cd40f06 __pthread_kill + 10
1   libsystem_pthread.dylib         0x00007fff9d3f64ec pthread_kill + 90
2   libsystem_c.dylib               0x00007fff9ca046df abort + 129
3   libplugin.dylib                 0x00000001181fe4e2 Carta::Lib::cartaAssertAbort(char const*, char const*, char const*, int, QString) + 530
4   libplugin.dylib                 0x00000001182204f2 Carta::Lib::VectorGraphics::VGComposer::setEntry(long long, Carta::Lib::VectorGraphics::IVGListEntry*) + 98
5   libplugin.dylib                 0x000000011821ca02 WcsPlotterPluginNS::AstWcsGridRenderService::setPen(Carta::Lib::IWcsGridRenderService::Element, QPen const&) + 322
6   libcore.1.dylib                 0x000000010bcbc92c Carta::Data::DataGrid::_resetGridRenderer() + 348
7   libcore.1.dylib                 0x000000010bcbd64c Carta::Data::DataGrid::_resetState(Carta::State::StateInterface const&) + 124
8   libcore.1.dylib                 0x000000010bc8fca0 Carta::Data::Stack::_gridChanged(Carta::State::StateInterface const&, bool) + 224
9   QtCore                          0x000000010eb82b6f QMetaObject::activate(QObject*, int, int, void**) + 1871
10  libcore.1.dylib                 0x000000010be26f40 Carta::Data::GridControls::gridChanged(Carta::State::StateInterface const&, bool) + 64
11  libcore.1.dylib                 0x000000010bcc8e04 Carta::Data::GridControls::_updateGrid() + 116
12  libcore.1.dylib                 0x000000010bcc919f Carta::Data::GridControls::setCoordinateSystem(QString const&) + 47
13  libcore.1.dylib                 0x000000010bccb92e std::__1::__function::__func<Carta::Data::GridControls::_initializeCallbacks()::$_6, std::__1::allocator<Carta::Data::GridControls::_initializeCallbacks()::$_6>, QString (QString const&, QString const&, QString const&)>::operator()(QString const&, QString const&, QString const&) + 238
14  desktop                         0x000000010bbe96ac std::__1::__function::__func<DesktopConnector::jsSendCommandSlot(QString const&, QString const&)::$_1, std::__1::allocator<DesktopConnector::jsSendCommandSlot(QString const&, QString const&)::$_1>, void ()>::operator()() + 172
15  QtCore                          0x000000010eb7bc5b QObject::event(QEvent*) + 747
16  QtWidgets                       0x000000010f492ffc QApplicationPrivate::notify_helper(QObject*, QEvent*) + 300
17  QtWidgets                       0x000000010f495abb QApplication::notify(QObject*, QEvent*) + 6187
18  libcore.1.dylib                 0x000000010bc1773e MyQApp::notify(QObject*, QEvent*) + 30
19  QtCore                          0x000000010eb4f4b7 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 631
20  libqcocoa.dylib                 0x0000000113332f06 0x113313000 + 130822
21  libqcocoa.dylib                 0x00000001133338a8 0x113313000 + 133288
22  com.apple.CoreFoundation        0x00007fff94be6881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
23  com.apple.CoreFoundation        0x00007fff94bc5fbc __CFRunLoopDoSources0 + 556
24  com.apple.CoreFoundation        0x00007fff94bc54df __CFRunLoopRun + 927
25  com.apple.CoreFoundation        0x00007fff94bc4ed8 CFRunLoopRunSpecific + 296
26  com.apple.HIToolbox             0x00007fff9d8ab935 RunCurrentEventLoopInMode + 235
27  com.apple.HIToolbox             0x00007fff9d8ab76f ReceiveNextEventCommon + 432
28  com.apple.HIToolbox             0x00007fff9d8ab5af _BlockUntilNextEventMatchingListInModeWithFilter + 71
29  com.apple.AppKit                0x00007fff8f334df6 _DPSNextEvent + 1067
30  com.apple.AppKit                0x00007fff8f334226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
31  com.apple.AppKit                0x00007fff8f328d80 -[NSApplication run] + 682
32  libqcocoa.dylib                 0x00000001133325e4 0x113313000 + 128484
33  QtCore                          0x000000010eb4b9ad QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381
34  QtCore                          0x000000010eb4eee7 QCoreApplication::exec() + 359
35  desktop                         0x000000010bbe4689 int Carta::Core::coreMain<DesktopPlatform>(QString, int, char**) + 2905
36  desktop                         0x000000010bbe3953 main + 51
37  desktop                         0x000000010bbdff64 start + 52
slovelan commented 8 years ago

This is the same segfault as is in #178, even though the recreate scenario is different. The fix is already in the pull request.

low-sky commented 7 years ago

Issue resolved.