Page 4 of 4
Re: 0.7.11 Intermittently Quits [OS X]
Posted: September 14th, 2013, 5:37 am
by shypike
Thanks for your detective work.
We're still at a loss as to why this happens.
Especially because most people (including the developers) don't have the problem.
I'll check the build history again.
Re: 0.7.11 Intermittently Quits [OS X]
Posted: November 23rd, 2013, 11:05 am
by seiryu
I've also been seeing this, usually every day but it can skip a day or two and have some additional hints as to cause. It looks like this is the same as the the issue reported here:
https://forums.sabnzbd.org/viewtopic.php?f=3&t=8972
When I was looking at it this morning I noticed something in the system log that correlates to the failure:
Code: Select all
11/23/13 5:45:19.000 AM kernel[0]: PSYNCH: pid[28678]: cvwait: thread entry with same sequence already present
11/23/13 5:45:19.000 AM kernel[0]: PSYNCH: pid[28678]: cvwait: thread entry with same sequence already present
In some of the crashes I've noticed a thread with a stack like:
Code: Select all
Thread 47:
0 libsystem_kernel.dylib 0x00007fff81760712 __writev_nocancel + 10
1 libsystem_c.dylib 0x00007fff8a5a073f perror + 235
2 org.python.python 0x000000010cca0551 PyThread_acquire_lock + 113
3 org.python.python 0x000000010cc67afd PyEval_RestoreThread + 61
4 time.so 0x000000010d1d8a40 time_sleep + 192
5 org.python.python 0x000000010cc6ac97 PyEval_EvalFrameEx + 9911
6 org.python.python 0x000000010cc68596 PyEval_EvalCodeEx + 1990
7 org.python.python 0x000000010cc6fb8d fast_function + 285
8 org.python.python 0x000000010cc6ad38 PyEval_EvalFrameEx + 10072
9 org.python.python 0x000000010cc68596 PyEval_EvalCodeEx + 1990
10 org.python.python 0x000000010cc6fb8d fast_function + 285
11 org.python.python 0x000000010cc6ad38 PyEval_EvalFrameEx + 10072
12 org.python.python 0x000000010cc6fb22 fast_function + 178
13 org.python.python 0x000000010cc6ad38 PyEval_EvalFrameEx + 10072
14 org.python.python 0x000000010cc6fb22 fast_function + 178
15 org.python.python 0x000000010cc6ad38 PyEval_EvalFrameEx + 10072
16 org.python.python 0x000000010cc68596 PyEval_EvalCodeEx + 1990
17 org.python.python 0x000000010cbfd40b function_call + 347
18 org.python.python 0x000000010cbd98b1 PyObject_Call + 97
19 org.python.python 0x000000010cbe5526 instancemethod_call + 502
20 org.python.python 0x000000010cbd98b1 PyObject_Call + 97
21 org.python.python 0x000000010cc6f338 PyEval_CallObjectWithKeywords + 168
22 org.python.python 0x000000010cca4b46 t_bootstrap + 70
23 libsystem_c.dylib 0x00007fff8a534772 _pthread_start + 327
24 libsystem_c.dylib 0x00007fff8a5211a1 thread_start + 13
My Config:
python 2.7.5 from macports
py27-cheetah @2.4.4_1
OSX 10.8.5
SABnzbd 0.7.16 from the Python source tar ball. I have not been using the OSX package.
Interestingly, I've just noticed that I do not appear to have a version of yenc installed in my python 2.7 environment but SAB has been working for me other than this occasional problem. Is yenc still required?
Re: 0.7.11 Intermittently Quits [OS X]
Posted: November 25th, 2013, 3:02 pm
by shypike
The yEnc module is only needed for speed.
With a fast CPU you won't see much difference.
The only thing that this tells me is that yEnc isn't the source of the problem.
Beats me what it is.
I have two Macs (one Mountain Lion and one Mavericks) and neither one has the issue.
Re: 0.7.11 Intermittently Quits [OS X]
Posted: December 8th, 2013, 11:21 am
by alcuin
Add me to the list of OS X users with the same problem.
sabnzbd just crashes almost every night.
Here's the top of the latest crash log:
Code: Select all
Process: SABnzbd [2368]
Path: /Applications/SABnzbd.app/Contents/MacOS/SABnzbd
Identifier: org.sabnzbd.team
Version: 0.7.16 (0.0.0)
Code Type: X86 (Native)
Parent Process: launchd [124]
User ID: 501
Date/Time: 2013-12-08 03:10:24.305 +0100
OS Version: Mac OS X 10.8.5 (12F45)
Report Version: 10
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x978aa7ce mach_msg_trap + 10
1 libsystem_kernel.dylib 0x978a9cac mach_msg + 68
2 com.apple.CoreFoundation 0x90582f79 __CFRunLoopServiceMachPort + 185
3 com.apple.CoreFoundation 0x9058895f __CFRunLoopRun + 1247
4 com.apple.CoreFoundation 0x9058801a CFRunLoopRunSpecific + 378
5 com.apple.CoreFoundation 0x90587e8b CFRunLoopRunInMode + 123
6 com.apple.HIToolbox 0x94febf5a RunCurrentEventLoopInMode + 242
7 com.apple.HIToolbox 0x94febcc9 ReceiveNextEventCommon + 374
8 com.apple.HIToolbox 0x94febb44 BlockUntilNextEventMatchingListInMode + 88
9 com.apple.AppKit 0x90d5393a _DPSNextEvent + 724
10 com.apple.AppKit 0x90d5316c -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
11 com.apple.AppKit 0x90d495cc -[NSApplication run] + 855
12 com.apple.AppKit 0x90cec5f6 NSApplicationMain + 1053
13 _AppKit.so 0x01ab6315 0x1ab3000 + 13077
14 org.python.python 0x0019d90a PyCFunction_Call + 98
15 org.python.python 0x001ebef4 PyEval_EvalFrameEx + 8182
16 org.python.python 0x001e9eb2 PyEval_EvalCodeEx + 1777
17 org.python.python 0x001efea8 0x132000 + 777896
18 org.python.python 0x001ebf77 PyEval_EvalFrameEx + 8313
19 org.python.python 0x001e9eb2 PyEval_EvalCodeEx + 1777
20 org.python.python 0x001e97bc PyEval_EvalCode + 87
21 org.python.python 0x0015a10e 0x132000 + 164110
22 org.python.python 0x0015a1c3 PyRun_FileExFlags + 152
23 org.python.python 0x001e5e15 0x132000 + 736789
24 org.python.python 0x0019d90a PyCFunction_Call + 98
25 org.python.python 0x001ebef4 PyEval_EvalFrameEx + 8182
26 org.python.python 0x001e9eb2 PyEval_EvalCodeEx + 1777
27 org.python.python 0x001efea8 0x132000 + 777896
28 org.python.python 0x001ebf77 PyEval_EvalFrameEx + 8313
29 org.python.python 0x001e9eb2 PyEval_EvalCodeEx + 1777
30 org.python.python 0x001e97bc PyEval_EvalCode + 87
31 org.python.python 0x0015a10e 0x132000 + 164110
32 org.python.python 0x0015a1c3 PyRun_FileExFlags + 152
33 org.python.python 0x00159bcd PyRun_SimpleFileExFlags + 441
34 org.python.python 0x0015b70a PyRun_SimpleFile + 40
35 org.sabnzbd.team 0x000ef226 0xec000 + 12838
36 org.sabnzbd.team 0x000ed706 main + 1509
37 libdyld.dylib 0x974a5725 start + 1
It's the ready-made OS X package I use and it's running on OS X 10.8.5.
Python is V2.7.2 (guess it's the one that came with OS X or the Xcode tools, never upgraded Python manually).
If I can help in any way just drop me a line.