Author Topic: PI 1.8 1054 crashes and weird behavior  (Read 4810 times)

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
PI 1.8 1054 crashes and weird behavior
« on: 2013 November 29 09:54:54 »
against macosx 10.8.5, i've had the following weird stuff. i think this is somehow OS related -

1) when given a long list of images to register where the reference image has a 400mm FL and the targets have 200mm fl, star alignment eventually hangs while detecting stars on an image about 1/2 way down the list. this might correlate with the machine going into a low-power state (this is on a macbook air). star alignment is working hard with many failed ransac iterations. unfortunately it's too many images to upload…

2) i just ran TGVDenoise and walked away from the laptop. i don't think the machine was sleeping but as i unlocked the screensaver, PI just crashed. i could see that TGVDenoise was done as i could see the PI desktop briefly. this backtrace makes it seem like the problem was again OS related.

Code: [Select]
Process:         PixInsight [1004]
Path:            /Users/USER/Downloads/PixInsight-3.app/Contents/MacOS/PixInsight
Identifier:      com.pleiades-astrophoto.PixInsight
Version:         01.08.00.1054 Ripley [x64]
Code Type:       X86-64 (Native)
Parent Process:  launchd [359]
User ID:         501

Date/Time:       2013-11-29 09:43:16.765 -0800
OS Version:      Mac OS X 10.8.5 (12F45)
Report Version:  10
Sleep/Wake UUID: 84DD4EA2-B190-40E0-8E34-C3FFE3C50BEE

Interval Since Last Report:          2318622 sec
Crashes Since Last Report:           19
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      FD0CB4A1-20C6-A769-4A82-C2AEC898AA26

Crashed Thread:  9

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

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[QNSListener notificationHandler:]: unrecognized selector sent to instance 0x1055cc340'
abort() called
terminate called throwing an exception

Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff89a5db06 __exceptionPreprocess + 198
1   libobjc.A.dylib                     0x00007fff83b0a3f0 objc_exception_throw + 43
2   CoreFoundation                      0x00007fff89af440a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3   CoreFoundation                      0x00007fff89a4c02e ___forwarding___ + 414
4   CoreFoundation                      0x00007fff89a4be18 _CF_forwarding_prep_0 + 232
5   CoreFoundation                      0x00007fff89a0feda _CFXNotificationPost + 2554
6   CoreWLAN                            0x00007fff8fbfab65 _apple80211Callback + 362
7   CoreWLAN                            0x00007fff8fc179f0 _eventRead + 961
8   CoreWLAN                            0x00007fff8fc1729e __Apple80211EventMonitoringInit2_block_invoke_0 + 81
9   libdispatch.dylib                   0x00007fff8f0950b6 _dispatch_client_callout + 8
10  libdispatch.dylib                   0x00007fff8f09729b _dispatch_source_invoke + 691
11  libdispatch.dylib                   0x00007fff8f096305 _dispatch_queue_invoke + 72
12  libdispatch.dylib                   0x00007fff8f096448 _dispatch_queue_drain + 180
13  libdispatch.dylib                   0x00007fff8f0962f1 _dispatch_queue_invoke + 52
14  libdispatch.dylib                   0x00007fff8f0961c3 _dispatch_worker_thread2 + 249
15  libsystem_c.dylib                   0x00007fff83859cdb _pthread_wqthread + 404
16  libsystem_c.dylib                   0x00007fff83844191 start_wqthread + 13

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        0x00007fff8f95d686 mach_msg_trap + 10
1   libsystem_kernel.dylib        0x00007fff8f95cc42 mach_msg + 70
2   com.apple.CoreFoundation      0x00007fff899fa233 __CFRunLoopServiceMachPort + 195
3   com.apple.CoreFoundation      0x00007fff899ff916 __CFRunLoopRun + 1078
4   com.apple.CoreFoundation      0x00007fff899ff0e2 CFRunLoopRunSpecific + 290
5   com.apple.HIToolbox            0x00007fff8c37eeb4 RunCurrentEventLoopInMode + 209
6   com.apple.HIToolbox            0x00007fff8c37ec52 ReceiveNextEventCommon + 356
7   com.apple.HIToolbox            0x00007fff8c37eae3 BlockUntilNextEventMatchingListInMode + 62
8   com.apple.AppKit              0x00007fff850b8533 _DPSNextEvent + 685
9   com.apple.AppKit              0x00007fff850b7df2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
10  com.apple.AppKit              0x00007fff850af1a3 -[NSApplication run] + 517
11  QtGui                          0x0000000101837763 0x1017f7000 + 264035
12  QtCore                        0x0000000103e91077 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 487
13  QtCore                        0x0000000103e94427 QCoreApplication::exec() + 199
14  com.pleiades-astrophoto.PixInsight 0x0000000100139735 main + 20821
15  com.pleiades-astrophoto.PixInsight 0x0000000100005704 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        0x00007fff8f95fd16 kevent + 10
1   libdispatch.dylib              0x00007fff8f097dea _dispatch_mgr_invoke + 883
2   libdispatch.dylib              0x00007fff8f0979ee _dispatch_mgr_thread + 54

Thread 2:: QThread
0   libsystem_kernel.dylib        0x00007fff8f95f0fa __psynch_cvwait + 10
1   libsystem_c.dylib              0x00007fff8385bfb9 _pthread_cond_wait + 869
2   QtCore                        0x0000000103d95ab5 QThread::msleep(unsigned long) + 229
3   com.pleiades-astrophoto.PixInsight 0x000000010012d0c8 pi::WatchDog::run() + 248
4   QtCore                        0x0000000103d953a4 0x103d70000 + 152484
5   libsystem_c.dylib              0x00007fff83857772 _pthread_start + 327
6   libsystem_c.dylib              0x00007fff838441a1 thread_start + 13

Thread 3:: QFileInfoGatherer
0   libsystem_kernel.dylib        0x00007fff8f95f0fa __psynch_cvwait + 10
1   libsystem_c.dylib              0x00007fff8385bfb9 _pthread_cond_wait + 869
2   QtCore                        0x0000000103d970a1 0x103d70000 + 159905
3   QtCore                        0x0000000103d96e69 QWaitCondition::wait(QMutex*, unsigned long) + 217
4   QtGui                          0x0000000101d02167 0x1017f7000 + 5288295
5   QtCore                        0x0000000103d953a4 0x103d70000 + 152484
6   libsystem_c.dylib              0x00007fff83857772 _pthread_start + 327
7   libsystem_c.dylib              0x00007fff838441a1 thread_start + 13

Thread 4:
0   libsystem_kernel.dylib        0x00007fff8f95f0fa __psynch_cvwait + 10
1   libsystem_c.dylib              0x00007fff8385bfb9 _pthread_cond_wait + 869
2   QtWebKit                      0x0000000102fea362 0x10235e000 + 13157218
3   QtWebKit                      0x0000000102fea2f9 0x10235e000 + 13157113
4   libsystem_c.dylib              0x00007fff83857772 _pthread_start + 327
5   libsystem_c.dylib              0x00007fff838441a1 thread_start + 13

Thread 5:: QThread
0   libsystem_kernel.dylib        0x00007fff8f95f0fa __psynch_cvwait + 10
1   libsystem_c.dylib              0x00007fff8385bfb9 _pthread_cond_wait + 869
2   QtCore                        0x0000000103d970a1 0x103d70000 + 159905
3   QtCore                        0x0000000103d96e69 QWaitCondition::wait(QMutex*, unsigned long) + 217
4   QtWebKit                      0x0000000102e671c1 0x10235e000 + 11571649
5   QtWebKit                      0x0000000102e670c5 0x10235e000 + 11571397
6   QtWebKit                      0x0000000102e61ff9 0x10235e000 + 11550713
7   QtWebKit                      0x0000000102ff3d60 0x10235e000 + 13196640
8   QtCore                        0x0000000103d953a4 0x103d70000 + 152484
9   libsystem_c.dylib              0x00007fff83857772 _pthread_start + 327
10  libsystem_c.dylib              0x00007fff838441a1 thread_start + 13

Thread 6:: QThread
0   libsystem_kernel.dylib        0x00007fff8f95f322 __select + 10
1   QtCore                        0x0000000103ebda35 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 101
2   QtCore                        0x0000000103ec0bfb QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 827
3   QtCore                        0x0000000103ec2418 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 232
4   QtCore                        0x0000000103e91077 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 487
5   QtCore                        0x0000000103d932f5 QThread::exec() + 229
6   QtCore                        0x0000000103d953a4 0x103d70000 + 152484
7   libsystem_c.dylib              0x00007fff83857772 _pthread_start + 327
8   libsystem_c.dylib              0x00007fff838441a1 thread_start + 13

Thread 7:: QKqueueFileSystemWatcherEngine
0   libsystem_kernel.dylib        0x00007fff8f95fd16 kevent + 10
1   QtCore                        0x0000000103e7702a 0x103d70000 + 1077290
2   QtCore                        0x0000000103d953a4 0x103d70000 + 152484
3   libsystem_c.dylib              0x00007fff83857772 _pthread_start + 327
4   libsystem_c.dylib              0x00007fff838441a1 thread_start + 13

Thread 8:
0   libsystem_kernel.dylib        0x00007fff8f95f6d6 __workq_kernreturn + 10
1   libsystem_c.dylib              0x00007fff83859f1c _pthread_workq_return + 25
2   libsystem_c.dylib              0x00007fff83859ce3 _pthread_wqthread + 412
3   libsystem_c.dylib              0x00007fff83844191 start_wqthread + 13

Thread 9 Crashed:
0   libsystem_kernel.dylib        0x00007fff8f95f212 __pthread_kill + 10
1   libsystem_c.dylib              0x00007fff83858b24 pthread_kill + 90
2   libsystem_c.dylib              0x00007fff8389cf61 abort + 143
3   libc++abi.dylib                0x00007fff837439eb abort_message + 257
4   libc++abi.dylib                0x00007fff8374139a default_terminate() + 28
5   libobjc.A.dylib                0x00007fff83b0a873 _objc_terminate() + 91
6   libc++.1.dylib                0x00007fff87f418fe std::terminate() + 20
7   libobjc.A.dylib                0x00007fff83b0a5de objc_terminate + 9
8   libdispatch.dylib              0x00007fff8f0950ca _dispatch_client_callout + 28
9   libdispatch.dylib              0x00007fff8f09729b _dispatch_source_invoke + 691
10  libdispatch.dylib              0x00007fff8f096305 _dispatch_queue_invoke + 72
11  libdispatch.dylib              0x00007fff8f096448 _dispatch_queue_drain + 180
12  libdispatch.dylib              0x00007fff8f0962f1 _dispatch_queue_invoke + 52
13  libdispatch.dylib              0x00007fff8f0961c3 _dispatch_worker_thread2 + 249
14  libsystem_c.dylib              0x00007fff83859cdb _pthread_wqthread + 404
15  libsystem_c.dylib              0x00007fff83844191 start_wqthread + 13

Thread 10:
0   libsystem_kernel.dylib        0x00007fff8f95f6d6 __workq_kernreturn + 10
1   libsystem_c.dylib              0x00007fff83859f1c _pthread_workq_return + 25
2   libsystem_c.dylib              0x00007fff83859ce3 _pthread_wqthread + 412
3   libsystem_c.dylib              0x00007fff83844191 start_wqthread + 13

Thread 11:: QScanThread
0   libsystem_kernel.dylib        0x00007fff8f95d6c2 semaphore_wait_trap + 10
1   libdispatch.dylib              0x00007fff8f099c32 _dispatch_thread_semaphore_wait + 16
2   libdispatch.dylib              0x00007fff8f099a92 _dispatch_barrier_sync_f_slow + 188
3   com.apple.framework.CoreWLAN  0x00007fff8fbf9ca4 -[CWInterface dealloc] + 145
4   libobjc.A.dylib                0x00007fff83b03230 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 464
5   com.apple.CoreFoundation      0x00007fff899fad72 _CFAutoreleasePoolPop + 34
6   com.apple.Foundation          0x00007fff880d9fbd -[NSAutoreleasePool release] + 154
7   libqcorewlanbearer.dylib      0x000000010cad9ee9 0x10cad5000 + 20201
8   QtCore                        0x0000000103d953a4 0x103d70000 + 152484
9   libsystem_c.dylib              0x00007fff83857772 _pthread_start + 327
10  libsystem_c.dylib              0x00007fff838441a1 thread_start + 13

Thread 9 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x000000010ea80bf8  rdx: 0x0000000000000000
  rdi: 0x000000000000ad5b  rsi: 0x0000000000000006  rbp: 0x000000010ea80c20  rsp: 0x000000010ea80bf8
   r8: 0x00007fff73780278   r9: 0x000000000000000f  r10: 0x0000000030000000  r11: 0x0000000000000206
  r12: 0x000000010ea80d80  r13: 0x00007fff75072e08  r14: 0x000000010ea81000  r15: 0x000000010ea80c60
  rip: 0x00007fff8f95f212  rfl: 0x0000000000000206  cr2: 0x00007fff73779ff0
Logical CPU: 0



Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: PI 1.8 1054 crashes and weird behavior
« Reply #1 on: 2013 November 29 15:26:04 »
unfortunately this crash keeps happening… 2nd time today. maybe it's Qt related? very strange.

rob

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PI 1.8 1054 crashes and weird behavior
« Reply #2 on: 2013 December 03 06:54:03 »
I don't know. Definitely, there seem to be problems with sleep / wake up transitions on Mac OS X. In your report, thread 9 crashes with the following traced sequence:

0   libsystem_kernel.dylib           0x00007fff8f95f212 __pthread_kill + 10
1   libsystem_c.dylib                0x00007fff83858b24 pthread_kill + 90
2   libsystem_c.dylib                0x00007fff8389cf61 abort + 143
3   libc++abi.dylib                  0x00007fff837439eb abort_message + 257
4   libc++abi.dylib                  0x00007fff8374139a default_terminate() + 28
5   libobjc.A.dylib                  0x00007fff83b0a873 _objc_terminate() + 91
6   libc++.1.dylib                   0x00007fff87f418fe std::terminate() + 20
7   libobjc.A.dylib                  0x00007fff83b0a5de objc_terminate + 9
8   libdispatch.dylib                0x00007fff8f0950ca _dispatch_client_callout + 28
9   libdispatch.dylib                0x00007fff8f09729b _dispatch_source_invoke + 691
10  libdispatch.dylib                0x00007fff8f096305 _dispatch_queue_invoke + 72
11  libdispatch.dylib                0x00007fff8f096448 _dispatch_queue_drain + 180
12  libdispatch.dylib                0x00007fff8f0962f1 _dispatch_queue_invoke + 52
13  libdispatch.dylib                0x00007fff8f0961c3 _dispatch_worker_thread2 + 249
14  libsystem_c.dylib                0x00007fff83859cdb _pthread_wqthread + 404
15  libsystem_c.dylib                0x00007fff83844191 start_wqthread + 13


I have no control over this sequence, so there's little I can do AFAIK. It seems that something is going out of control in the _dispatch_client_callout routine, but what can I do?
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: PI 1.8 1054 crashes and weird behavior
« Reply #3 on: 2013 December 03 08:41:59 »
yeah, i realize that. however it's the first time i've ever seen an app quit on wake like that. well, the second; on my hackintosh the HW monitor menu bar extension crashes SystemUIServer on wake.

my money is on Qt - if they had to make changes for mavericks compatibility i can see something like this happening.

rob

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: PI 1.8 1054 crashes and weird behavior
« Reply #4 on: 2014 January 03 13:50:19 »
okay i did a little googling about this and it just seems like it's related to unhandled exceptions. what that exception is i'm not sure… but if there's no handler, boom.

here's another app that uses Qt which had a similar bug (crash on wake from sleep; same wifi-related stuff in backtrace):

http://www.na-mic.org/Bug/view.php?id=3140

there are a couple of links in the Description which might be relevant; the developer's resolution was "added exception handling".

rob