Immediate crash on FreeBSD

Sonarr version (exact version): sonarr-2.0.0.3953
Mono version (if Sonarr is not running on Windows): mono-4.2.3.4
OS: FreeBSD 10.3-STABLE
((Debug logs)) (posted to pastebin or similar): http://pastebin.com/zs7YaX66
Description of issue:

Very similar to this issue, I am getting a SIGSEGV when launching Sonarr on FreeBSD:

I tried moving my data directory and unmounting the downloads folder, as per the other thread, but it didn’t make a difference. I even created a fresh jail and installed clean versions of Mono and Sonarr, but it also failed.

The stack trace is in the pastebin link above, but using truss, it appears to be something with Mono trying to get a process name:
converting method (wrapper managed-to-native) System.Diagnostics.Process:ProcessName_internal (intptr) write(1,"converting method (wrapper manag"...,103) = 103 (0x67) Method (wrapper managed-to-native) System.Diagnostics.Process:ProcessName_internal (intptr) emitted at 0x168150 to 0x1681d9 (code length 137) [NzbDrone.exe] write(1,"Method (wrapper managed-to-nativ"...,157) = 157 (0x9d) gettimeofday({ 1463013411.333667 },0x0) = 0 (0x0) SIGNAL 11 (SIGSEGV)

From other threads, people have suggested mounting procfs, fdescfs, and linprocfs, which hasn’t changed anything. I’ve been running Sonarr for the past year or so without any issues, but I can’t pinpoint the last time it was running.

I can confirm that the same version of mono + sonarr listed above works on FreeBSD 10.2-STABLE, tested in VirtualBox. I upgraded the VM to 10.3-STABLE and I get the same exact crash. Since this is probably a kernel/mono issue, I’ll take the issue over to the BSD# team.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.