NzbDrone Crash (Linux / Mono)

Version: 2.0.0.1062
Running on Gentoo Linux, kernel 3.1.6
I pipe stderr and stdout to two separate files:

$ tail nzbdrone.err

Debug info from gdb:

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.

and:

$ sudo tail nzbdrone.out
[Info] DownloadDecisionMaker: Processing 325 reports
[Info] RssSyncService: RSS Sync Completed. Reports found: 325, Reports downloaded: 0
[Info] RssSyncService: Starting RSS Sync
[Info] DownloadDecisionMaker: Processing 325 reports
[Info] RssSyncService: RSS Sync Completed. Reports found: 325, Reports downloaded: 0
[Info] RssSyncService: Starting RSS Sync
[Info] DownloadDecisionMaker: Processing 325 reports
[Info] RssSyncService: RSS Sync Completed. Reports found: 325, Reports downloaded: 0
gdir-unix.c:74: assertion ‘dir != NULL && dir->dir != NULL’ failed
gdir-unix.c:99: assertion ‘dir != NULL && dir->dir != 0’ failed

Let me know if there’s anything else that would be helpful.
After restarting NzbDrone it seems to be working fine.

What version of mono are you running?

dev-lang/mono-2.10.9-r2

I had the same thing happen again a couple of days ago:

Stacktrace:

Native stacktrace:

    NzbDrone.exe() [0x4921d7]
    NzbDrone.exe() [0x4e2827]
    NzbDrone.exe() [0x41bcef]
    /lib64/libpthread.so.0(+0x10310) [0x7fef755ba310]
    /lib64/libpthread.so.0(pthread_mutex_lock+0x4) [0x7fef755b4214]
    NzbDrone.exe() [0x49bfdd]
    [0x41748a3a]

You’re on Gentoo with kernel 3.1 and mono 2.10? Have you considered switching distro, cause Gentoo is makde to be updated quite often.

2.10.9 will work, but 3.2 is definitely more stable and is highly recommended.

Tofagerl, I run Gentoo on my desktop and keep it updated. I haven’t really had a need to update this fileserver very often.
It runs pretty fine as is. However I’ll be rebuilding it in the next few weeks.

I’ll see if I can put Mono 3.2 on in the meantime. Looks like it’s available, just not marked as stable.
I couldn’t see any recommended Mono version on the Wiki when I did the install… however it’s been updated recently with that info.

Yeah, added it to the wiki due to this error popping up occasionally.