Sabnzbd crashes on OSX 10.8.5 with EXC_BAD_ACCESS (SIGBUS)

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
sumocomputers
Newbie
Newbie
Posts: 5
Joined: November 24th, 2011, 2:06 pm

Sabnzbd crashes on OSX 10.8.5 with EXC_BAD_ACCESS (SIGBUS)

Post by sumocomputers »

Sab v0.7.16
Mac OSX 10.8.5 on Mac Mini i5 with 8GB
Python 2.7.5
Also have Sickbeard & Couchpotato installed

I tried to search, but most of the errors are not quite the same as mine, or are very old, so I start a new one.

Sabnzbd crashes on OSX 10.8.5 with EXC_BAD_ACCESS (SIGBUS). It does this randomly, but seems to be when downloading large files (like maybe larger than 10GB total?), just a guess, but when idle, it never seems to shut down.

Crash log is here, hopefully it is enough to get an idea of what I can do for troubleshoot: http://pastebin.com/QhiMy9NT

In the meantime I upgraded Python to 2.7.6 just to see if this might make a difference, since the logs showed a lot of python (sorry, I really don't know what the logs are telling me).

Thanks,

Chris
ernine
Newbie
Newbie
Posts: 5
Joined: November 10th, 2013, 9:56 pm

Re: Sabnzbd crashes on OSX 10.8.5 with EXC_BAD_ACCESS (SIGBU

Post by ernine »

It's crashing in yEnc decoding (converting a text-based Usenet post back to binary) which unfortunately suggests a hardware or system problem, especially if it's happening quite frequently and not just on a particular file.

In any case it's outside sabnzbd itself, in an external library.

Thread 18 Crashed:
0 _yenc.so 0x01a87942 decode_string + 338
1 org.python.python 0x0017990a PyCFunction_Call + 98
2 org.python.python 0x001c7ef4 PyEval_EvalFrameEx + 8182
3 org.python.python 0x001cbe37 0x10e000 + 777783
sumocomputers
Newbie
Newbie
Posts: 5
Joined: November 24th, 2011, 2:06 pm

Re: Sabnzbd crashes on OSX 10.8.5 with EXC_BAD_ACCESS (SIGBU

Post by sumocomputers »

ernine wrote:It's crashing in yEnc decoding (converting a text-based Usenet post back to binary) which unfortunately suggests a hardware or system problem, especially if it's happening quite frequently and not just on a particular file.

In any case it's outside sabnzbd itself, in an external library.

Thread 18 Crashed:
0 _yenc.so 0x01a87942 decode_string + 338
1 org.python.python 0x0017990a PyCFunction_Call + 98
2 org.python.python 0x001c7ef4 PyEval_EvalFrameEx + 8182
3 org.python.python 0x001cbe37 0x10e000 + 777783
Currently, it does keep crashing on a particular download, which I assumed because it was large. Perhaps it is something weird with one of the rar parts?

You suggested a system or hardware problem. I have recently ran the extended Apple hardware test at BIOS level, and found no issues. Also ran repair disk permissions. The Python 2.7.6 update did not change the problem.

Any ideas on where I can start to troubleshoot? Can I look at the library where yEnc lives?

Thanks
sumocomputers
Newbie
Newbie
Posts: 5
Joined: November 24th, 2011, 2:06 pm

Re: Sabnzbd crashes on OSX 10.8.5 with EXC_BAD_ACCESS (SIGBU

Post by sumocomputers »

OK, now that I know it is yEnc, I have some more info:

1. Even though I have Python 2.7.6 installed on the Mac, Sabnzbd is reporting 2.7.2. Is this OK?

2. Regarding yEnc, I found this discussion: https://github.com/sabnzbd/sabnzbd/issues/68. I am going to enable "use_pickle" to see if it helps. What about removing the yEnc library? Seems drastic, and not sure how to properly uninstall or reinstall the yEnc library.

Thanks
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd crashes on OSX 10.8.5 with EXC_BAD_ACCESS (SIGBU

Post by shypike »

SABnzbd comes with its own Python runtimes.
yEnc is a challenge for some systems.
Removing the module will only have some effect on CPU load,
SABnzbd will still function properly.
sumocomputers
Newbie
Newbie
Posts: 5
Joined: November 24th, 2011, 2:06 pm

Re: Sabnzbd crashes on OSX 10.8.5 with EXC_BAD_ACCESS (SIGBU

Post by sumocomputers »

OK, for the yEnc stuff, I will try removing "use_pickle", followed by removing the yEnc module.

But in the meantime, now I am seeing another type of crash, which appears not to be yEnc related:

Exception Type: EXC_CRASH (SIGABRT)
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread

Full Log:
http://pastebin.com/hcgvWC2V

I have no idea how to start troubleshooting, any help would be appreciated.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd crashes on OSX 10.8.5 with EXC_BAD_ACCESS (SIGBU

Post by shypike »

We've seen that one before too, unfortunately.
So far no solution, it seems to be a bug in Apple's Python implementation.
Post Reply