Author Topic: 1.6.1 osx x86_64 crash  (Read 4746 times)

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
1.6.1 osx x86_64 crash
« on: 2010 July 28 22:23:36 »
when closing an _ABE window:

not sure how useful this backtrace is, but here you go.


Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib                0x00007fff8429c886 __kill + 10
1   libSystem.B.dylib                0x00007fff8433ceae abort + 83
2   libSystem.B.dylib                0x00007fff84254a75 free + 128
3   QtCore                           0x0000000102342d9f QObjectPrivate::deleteChildren() + 95
4   QtGui                            0x00000001016faacd QWidget::~QWidget() + 493
5   ...iades-astrophoto.PixInsight   0x00000001002553c8 pi::ImageView::~ImageView() + 232
6   QtCore                           0x0000000102342d9f QObjectPrivate::deleteChildren() + 95
7   QtGui                            0x00000001016faacd QWidget::~QWidget() + 493
8   ...iades-astrophoto.PixInsight   0x000000010027d5f1 pi::ImageWindow::~ImageWindow() + 1489
9   QtCore                           0x000000010242be02 QObject::event(QEvent*) + 1154
10  QtGui                            0x00000001016fd9c3 QWidget::event(QEvent*) + 67
11  QtGui                            0x00000001016a8d9e QApplicationPrivate::notify_helper(QObject*, QEvent*) + 190
12  QtGui                            0x00000001016ad49b QApplication::notify(QObject*, QEvent*) + 2059
13  ...iades-astrophoto.PixInsight   0x0000000100156871 pi::PixInsightApplication::notify(QObject*, QEvent*) + 33
14  QtCore                           0x000000010233d85f QCoreApplication::notifyInternal(QObject*, QEvent*) + 127
15  QtCore                           0x000000010241f8c4 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 564
16  com.apple.CoreFoundation         0x00007fff87bb1f21 __CFRunLoopDoSources0 + 1361
17  com.apple.CoreFoundation         0x00007fff87bb0119 __CFRunLoopRun + 873
18  com.apple.CoreFoundation         0x00007fff87baf8df CFRunLoopRunSpecific + 575
19  com.apple.HIToolbox              0x00007fff863b7ada RunCurrentEventLoopInMode + 333
20  com.apple.HIToolbox              0x00007fff863b783d ReceiveNextEventCommon + 148
21  com.apple.HIToolbox              0x00007fff863b7798 BlockUntilNextEventMatchingListInMode + 59
22  com.apple.AppKit                 0x00007fff8317ba2a _DPSNextEvent + 708
23  com.apple.AppKit                 0x00007fff8317b379 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
24  com.apple.AppKit                 0x00007fff8314105b -[NSApplication run] + 395
25  QtGui                            0x0000000101669b70 QDesktopWidget::resizeEvent(QResizeEvent*) + 11376
26  QtCore                           0x000000010241e4fc QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 60
27  QtCore                           0x000000010241e824 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 180
28  QtGui                            0x0000000101ab35a4 QMenu::exec(QPoint const&, QAction*) + 116
29  ...iades-astrophoto.PixInsight   0x0000000100270867 pi::ImageView::mousePressEvent(QMouseEvent*) + 2759
30  QtGui                            0x00000001016fe4a4 QWidget::event(QEvent*) + 2852
31  QtGui                            0x0000000101a70f1c QFrame::event(QEvent*) + 44
32  QtGui                            0x0000000101af7f87 QAbstractScrollArea::viewportEvent(QEvent*) + 23
33  ...iades-astrophoto.PixInsight   0x0000000100264cdf pi::ImageView::viewportEvent(QEvent*) + 79
34  QtGui                            0x0000000101afa4a0 QAbstractScrollArea::qt_metacall(QMetaObject::Call, int, void**) + 400
35  QtCore                           0x000000010241ee5b QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 155
36  QtGui                            0x00000001016a8d6e QApplicationPrivate::notify_helper(QObject*, QEvent*) + 142
37  QtGui                            0x00000001016ad5c0 QApplication::notify(QObject*, QEvent*) + 2352
38  ...iades-astrophoto.PixInsight   0x0000000100156871 pi::PixInsightApplication::notify(QObject*, QEvent*) + 33
39  QtCore                           0x000000010233d85f QCoreApplication::notifyInternal(QObject*, QEvent*) + 127
40  QtGui                            0x00000001016a902c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 844
41  QtGui                            0x00000001016649fd QMacCocoaAutoReleasePool::~QMacCocoaAutoReleasePool() + 12045
42  com.apple.AppKit                 0x00007fff83275c3b -[NSWindow sendEvent:] + 8769
43  QtGui                            0x000000010165e18e QMacInputContext::reset() + 31022
44  com.apple.AppKit                 0x00007fff831aa662 -[NSApplication sendEvent:] + 4719
45  QtGui                            0x0000000101667baa QDesktopWidget::resizeEvent(QResizeEvent*) + 3242
46  QtGui                            0x0000000101669a24 QDesktopWidget::resizeEvent(QResizeEvent*) + 11044
47  QtCore                           0x000000010241fd4f QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 63
48  ...iades-astrophoto.PixInsight   0x0000000100b14566 pi::ConsumeEvents() + 38
49  ...iades-astrophoto.PixInsight   0x0000000100b159e5 pi::FadingWidgetAnimation::NextFadeOutStep() + 133
50  ...iades-astrophoto.PixInsight   0x000000010006c436 pi::FadingWidgetAnimation::qt_metacall(QMetaObject::Call, int, void**) + 54
51  QtCore                           0x000000010242bde5 QObject::event(QEvent*) + 1125
52  QtGui                            0x00000001016a8d9e QApplicationPrivate::notify_helper(QObject*, QEvent*) + 190
53  QtGui                            0x00000001016ad49b QApplication::notify(QObject*, QEvent*) + 2059
54  ...iades-astrophoto.PixInsight   0x0000000100156871 pi::PixInsightApplication::notify(QObject*, QEvent*) + 33
55  QtCore                           0x000000010233d85f QCoreApplication::notifyInternal(QObject*, QEvent*) + 127
56  QtCore                           0x000000010241f8c4 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 564
57  com.apple.CoreFoundation         0x00007fff87bb1f21 __CFRunLoopDoSources0 + 1361
58  com.apple.CoreFoundation         0x00007fff87bb0119 __CFRunLoopRun + 873
59  com.apple.CoreFoundation         0x00007fff87baf8df CFRunLoopRunSpecific + 575
60  com.apple.HIToolbox              0x00007fff863b7ada RunCurrentEventLoopInMode + 333
61  com.apple.HIToolbox              0x00007fff863b783d ReceiveNextEventCommon + 148
62  com.apple.HIToolbox              0x00007fff863b7798 BlockUntilNextEventMatchingListInMode + 59
63  com.apple.AppKit                 0x00007fff8317ba2a _DPSNextEvent + 708
64  com.apple.AppKit                 0x00007fff8317b379 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
65  QtGui                            0x0000000101669ac6 QDesktopWidget::resizeEvent(QResizeEvent*) + 11206
66  QtCore                           0x000000010241fd4f QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 63
67  ...iades-astrophoto.PixInsight   0x000000010016de2b pi::AutoHideWidget::Hide(bool) + 379
68  ...iades-astrophoto.PixInsight   0x000000010000b42b pi::AutoHideWidget::qt_metacall(QMetaObject::Call, int, void**) + 347
69  QtCore                           0x00000001023443c7 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 599
70  QtGui                            0x0000000101cfa461 QAbstractButton::clicked(bool) + 49
71  QtGui                            0x0000000101a28321 QAbstractButton::mousePressEvent(QMouseEvent*) + 209
72  QtGui                            0x0000000101a29240 QAbstractButton::keyPressEvent(QKeyEvent*) + 832
73  QtGui                            0x0000000101a29491 QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 113
74  QtGui                            0x0000000101af4082 QToolButton::mouseReleaseEvent(QMouseEvent*) + 18
75  QtGui                            0x00000001016fe2a8 QWidget::event(QEvent*) + 2344
76  QtGui                            0x0000000101a28528 QAbstractButton::event(QEvent*) + 40
77  QtGui                            0x0000000101af5a2f QToolButton::event(QEvent*) + 63
78  QtGui                            0x00000001016a8d9e QApplicationPrivate::notify_helper(QObject*, QEvent*) + 190
79  QtGui                            0x00000001016ad5c0 QApplication::notify(QObject*, QEvent*) + 2352
80  ...iades-astrophoto.PixInsight   0x0000000100156871 pi::PixInsightApplication::notify(QObject*, QEvent*) + 33
81  QtCore                           0x000000010233d85f QCoreApplication::notifyInternal(QObject*, QEvent*) + 127
82  QtGui                            0x00000001016a902c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 844
83  QtGui                            0x00000001016649fd QMacCocoaAutoReleasePool::~QMacCocoaAutoReleasePool() + 12045
84  QtGui                            0x00000001016578a6 QMacInputContext::reset() + 4166
85  com.apple.AppKit                 0x00007fff83274fa5 -[NSWindow sendEvent:] + 5547
86  QtGui                            0x000000010165e18e QMacInputContext::reset() + 31022
87  com.apple.AppKit                 0x00007fff831aa662 -[NSApplication sendEvent:] + 4719
88  com.apple.AppKit                 0x00007fff831410aa -[NSApplication run] + 474
89  QtGui                            0x0000000101669b70 QDesktopWidget::resizeEvent(QResizeEvent*) + 11376
90  QtCore                           0x000000010241e4fc QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 60
91  QtCore                           0x000000010241e824 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 180
92  QtCore                           0x000000010241fbbc QCoreApplication::exec() + 172
93  ...iades-astrophoto.PixInsight   0x0000000100bc22b8 main + 19608
94  ...iades-astrophoto.PixInsight   0x000000010000a598 start + 52

Offline Philippe B.

  • PixInsight Old Hand
  • ****
  • Posts: 399
    • CIEL AUSTRAL
Re: 1.6.1 osx x86_64 crash
« Reply #1 on: 2010 July 28 23:27:00 »
PI 161 64 bits OSX works fine for me.
Running 32bit version, then close then running 64bits version ask for reset of parameters (at least the 2 first option)
But OK, it is not a problem. It is just to compare performances of the 2 versions and definively switch to 64bits version when all will be OK.
Right now, no real bug detected. But needs time...

In any case, thanks for these new versions  ;)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: 1.6.1 osx x86_64 crash
« Reply #2 on: 2010 July 29 12:04:39 »
Hi Rob,

This seems a sporadic error. I assume you're unable to reproduce it. I've tried hard to reproduce it without success.

Yes, the backtrace is helpful in this case. It tells me where the error originated, and the section of my code that (indirectly) caused it. It seems a problem with destruction (memory deallocation) of internal image structures in the Core application (5: pi::ImageView::~ImageView()), but the actual error seems to be in Qt code (3: QObjectPrivate::deleteChildren()).

Thanks for the information.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: 1.6.1 osx x86_64 crash
« Reply #3 on: 2010 July 29 12:10:32 »
Hi Philippe,

Quote
PI 161 64 bits OSX works fine for me.

Glad to hear that! I've worked hard to get it working. It hasn't been easy.

Quote
Running 32bit version, then close then running 64bits version ask for reset of parameters (at least the 2 first option)

This is normal. Both applications (x86 and x86_64) share the same set of settings data for a single user. In fact, it is mandatory to reset the set of standard modules when you switch between 32-bit and 64-bit versions. Otherwise a severe crash is for sure.

I suggest you to create a new user account on your Mac. In this way you can use both versions as two independent applications. Remember to copy your license file to the second user's home folder.

Quote
Right now, no real bug detected. But needs time...

It is indeed a work in progress. Actually, it only has GUI problems; everything else is as stable as it is on Linux and Windows 64-bit versions.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: 1.6.1 osx x86_64 crash
« Reply #4 on: 2010 July 29 13:59:12 »
Hi Rob,

This seems a sporadic error. I assume you're unable to reproduce it. I've tried hard to reproduce it without success.

Yes, the backtrace is helpful in this case. It tells me where the error originated, and the section of my code that (indirectly) caused it. It seems a problem with destruction (memory deallocation) of internal image structures in the Core application (5: pi::ImageView::~ImageView()), but the actual error seems to be in Qt code (3: QObjectPrivate::deleteChildren()).

Thanks for the information.


yes, i have not been able to reproduce it. however it's the first time something like that has ever happened to me across 1.5 and 1.6.x on the same machine.

we'll see if it happens again.

i do see the strange cursor issues and stuff on the x86_64 version. so far it seems to only be cosmetic as you said in the release notes.