Page 1 of 1

Startup Freeze on OSX

Posted: July 14th, 2011, 11:45 pm
by blank456
Everything was running fine for me until suddenly sabnzbd froze up in the middle of a download when my computer lost wireless momentarily. Now when I attempt to open sabnzbd the menu icon pops up but the web UI is inaccessible. When I hover my mouse over the menu icon I get the spinning beachball.

I have tried deleting the application as well as the application support folder and reinstalling. It still freezes immediately and only generates a sabnzbd.ini with the following contents:
__version__=19
[misc]
[logging]

No error logs appear. I am forced to quit the application through activity monitor.

Any ideas what I can do to reset this issue?

Re: Startup Freeze on OSX

Posted: July 15th, 2011, 4:10 am
by shypike
For a blunt repair.
Make sure SABnzbd doesn't run .
Remove everything in /Users/user/Library/Application Support/SABnzbd/
Start SABnzbd.

Re: Startup Freeze on OSX

Posted: July 15th, 2011, 9:06 am
by blank456
That was the first thing I tried and unfortunately it did not work.

This is SABnzbd 0.6.5 on OS X 10.6.8

Re: Startup Freeze on OSX

Posted: July 15th, 2011, 9:11 am
by shypike
What can I say? It works for many other people on OSX.
Do you see any suspect messages in the OSX Console app?

Re: Startup Freeze on OSX

Posted: July 15th, 2011, 9:26 am
by blank456
I don't know enough about Python to know whether any of this is suspect:

Analysis of sampling SABnzbd (pid 709) every 1 millisecond
Call graph:
833 Thread_8568 DispatchQueue_1: com.apple.main-thread (serial)
833 start
833 main
833 start
833 PyRun_SimpleFileExFlags
833 PyRun_FileExFlags
833 Py_CompileString
833 PyEval_EvalCode
833 PyEval_EvalCodeEx
833 PyEval_EvalFrameEx
833 PyEval_EvalCodeEx
833 PyEval_EvalFrameEx
833 _PyBuiltin_Init
833 PyRun_FileExFlags
833 Py_CompileString
833 PyEval_EvalCode
833 PyEval_EvalCodeEx
833 PyEval_EvalFrameEx
833 PyEval_EvalCodeEx
833 PyEval_EvalFrameEx
833 0x103a00a27
833 NSApplicationMain
833 +[NSBundle(NSNibLoading) loadNibNamed:owner:]
833 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:]
833 old_loadNib
833 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:]
833 -[NSSet makeObjectsPerformSelector:]
833 ffi_closure_unix64
833 ffi_closure_unix64_inner
833 PyObjCFFI_MakeIMPForSignature
833 PyObject_Call
833 PyClassMethod_New
833 PyEval_EvalCodeEx
833 PyEval_EvalFrameEx
833 PyObject_Call
833 PyObjCSelector_FromFunction
833 PyObject_Call
833 PyClassMethod_New
833 PyEval_EvalCodeEx
833 PyEval_EvalFrameEx
833 _PyTime_DoubleToTimet
832 select$DARWIN_EXTSN
1 PyEval_RestoreThread
1 PyThread_acquire_lock
1 __spin_lock
833 Thread_8583 DispatchQueue_2: com.apple.libdispatch-manager (serial)
833 start_wqthread
833 _pthread_wqthread
833 _dispatch_worker_thread2
833 _dispatch_queue_invoke
833 _dispatch_mgr_invoke
833 kevent

Re: Startup Freeze on OSX

Posted: July 15th, 2011, 9:33 am
by shypike
Can you try the new Beta for 0.6.6?
http://forums.sabnzbd.org/viewtopic.php?f=8&t=8280

That one is compatible with OSX Lion and uses the built-in Apple Python
instead of the third-party ActiveState Python.

Re: Startup Freeze on OSX

Posted: July 15th, 2011, 5:11 pm
by blank456
I can't explain it... I installed the beta this morning and had the same issue. Shut my computer off; came back to it after work and it's working again. Only thing I had to change was from localhost to my ip address.

Re: Startup Freeze on OSX

Posted: July 15th, 2011, 6:12 pm
by shypike
Depending on what you installed, localhost can behave bit weird.
Which web browser is your OS's default?

Re: Startup Freeze on OSX

Posted: July 19th, 2011, 7:30 pm
by blank456
Firefox 5.0.1. After working fine for an evening, Beta 0.6.6 has returned to the same problem as 0.6.5, frozen on startup. Switching default browser to Safari 5.0.5 does not seem to change anything.

Re: Startup Freeze on OSX

Posted: July 20th, 2011, 1:19 am
by shypike
Doesn't using the IP instead of localhost help any more?