-
-
Notifications
You must be signed in to change notification settings - Fork 146
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Using the new 3.0.9 version that was just release instantly crashes and is not able to run.
Host: Intel NUC
OS: NixOS 21.11 (Porcupine)
Docker: Docker version 20.10.9, build v20.10.9
CPU: Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
System resource usage is low, all other containers and services are running fine.
Running docker run linuxserver/sonarr yields the following error:
[migrations] started
[migrations] no migrations found
usermod: no changes
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support the app dev(s) visit:
Sonarr: https://sonarr.tv/donate
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 911
User gid: 911
-------------------------------------
[custom-init] No custom files found, skipping...
* Assertion at gc.c:1005, condition `is_ok (error)' not met, function:mono_gc_init_finalizer_thread, Couldn't create thread. Error 0x0 assembly:<unknown assembly> type:<unknown type> member:(null)
=================================================================
Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
=================================================================
Native stacktrace:
=================================================================
0x556ccc876ffb - mono :
0x556ccc87738d - mono :
0x556ccc824087 - mono :
0x556ccc87657c - mono :
0x7fc5e5e80520 - /lib/x86_64-linux-gnu/libc.so.6 :
0x7fc5e5ed4a7c - /lib/x86_64-linux-gnu/libc.so.6 : pthread_kill
0x7fc5e5e80476 - /lib/x86_64-linux-gnu/libc.so.6 : raise
0x7fc5e5e667f3 - /lib/x86_64-linux-gnu/libc.so.6 : abort
0x556ccc7e63c4 - mono :
0x556cccacb135 - mono :
0x556cccae85be - mono :
0x556cccae8c73 - mono : monoeg_assertion_message
0x556ccca65f08 - mono :
0x556ccc9539f6 - mono :
0x556ccc7e9047 - mono :
0x556ccc7f77b6 - mono : mono_main
0x556ccc7e64df - mono :
0x7fc5e5e67d90 - /lib/x86_64-linux-gnu/libc.so.6 :
0x7fc5e5e67e40 - /lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main
0x556ccc7e6b1e - mono : _start
=================================================================
Telemetry Dumper:
=================================================================
Entering thread summarizer pause from 0x140487942197376x
Finished thread summarizer pause from 0x140487942197376x.
Failed to create breadcrumb file (null)/crash_hash_0x0
Waiting for dumping threads to resume
=================================================================
External Debugger Dump:
=================================================================
mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb
=================================================================
Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7fc5e5ed4a7c):0x7fc5e5ed4a6c 05 00 44 89 e2 89 ee 89 c7 b8 ea 00 00 00 0f 05 ..D.............
0x7fc5e5ed4a7c 41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00 A..A..=.........
0x7fc5e5ed4a8c 44 0f 46 e8 e9 6d ff ff ff 0f 1f 00 48 89 ef e8 D.F..m......H...
0x7fc5e5ed4a9c 10 a8 ff ff e9 29 ff ff ff 0f 1f 00 48 89 ef e8 .....)......H...
=================================================================
Managed Stacktrace:
=================================================================
=================================================================
* Assertion at gc.c:1005, condition `is_ok (error)' not met, function:mono_gc_init_finalizer_thread, Couldn't create thread. Error 0x0 assembly:<unknown assembly> type:<unknown type> member:(null)
=================================================================
Native Crash Reporting
=================================================================
Got a SIGABRT 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 then the "Native Crash Reporting" keeps repeating about once every second for as long as the container is running. The web server never starts, when mounting config volumes for logs and such they are also empty (I believe it crashes before it even opens any log files).
Running a test with 3.0.8 works just fine as expected. Pinning this version in my current docker-compose file also fixes my current stack.
Example output of working docker run linuxserver/sonarr:3.0.8
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service 00-legacy: starting
s6-rc: info: service 00-legacy successfully started
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/01-envfile
cont-init: info: /etc/cont-init.d/01-envfile exited 0
cont-init: info: running /etc/cont-init.d/01-migrations
[migrations] started
[migrations] no migrations found
cont-init: info: /etc/cont-init.d/01-migrations exited 0
cont-init: info: running /etc/cont-init.d/02-tamper-check
cont-init: info: /etc/cont-init.d/02-tamper-check exited 0
cont-init: info: running /etc/cont-init.d/10-adduser
usermod: no changes
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support the app dev(s) visit:
Sonarr: https://sonarr.tv/donate
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 911
User gid: 911
-------------------------------------
cont-init: info: /etc/cont-init.d/10-adduser exited 0
cont-init: info: running /etc/cont-init.d/30-config
cont-init: info: /etc/cont-init.d/30-config exited 0
cont-init: info: running /etc/cont-init.d/90-custom-folders
cont-init: info: /etc/cont-init.d/90-custom-folders exited 0
cont-init: info: running /etc/cont-init.d/99-custom-scripts
[custom-init] no custom files found exiting...
cont-init: info: /etc/cont-init.d/99-custom-scripts exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-mods: starting
s6-rc: info: service init-mods successfully started
s6-rc: info: service init-mods-package-install: starting
s6-rc: info: service init-mods-package-install successfully started
s6-rc: info: service init-mods-end: starting
s6-rc: info: service init-mods-end successfully started
s6-rc: info: service init-services: starting
s6-rc: info: service init-services successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun sonarr (no readiness notification)
s6-rc: info: service legacy-services successfully started
s6-rc: info: service 99-ci-service-check: starting
[ls.io-init] done.
... (continues normally) ...
I also tried starting the 3.0.9 version on my mac and there it started fine, so I assume there might be some hardware comparability problem.
I am not super familiar with development in Mono so not entirely sure what info might be useful for such an issue, but I can provide more system details or logs if necessary.
Expected Behavior
I expect Sonarr to not instantly crash on startup.
Steps To Reproduce
Run docker run linuxserver/sonarr:3.0.9 and Sonarr instantly crashes.
Environment
- OS: 21.11 (Porcupine)
- How docker service was installed:
`/etc/nixos/configuration.nix`:
...
environment.systemPackages = with pkgs; [
...
docker-compose
...
];
...CPU architecture
x86-64
Docker creation
Normally using docker compose:
version: "3.4"
services:
sonarr:
image: linuxserver/sonarr:latest
restart: unless-stopped
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
volumes:
- /etc/localtime:/etc/localtime:ro
- ./config/sonarr:/config
- ./media:/media
ports:
- 8989:8989
But also simply running `docker run --rm linuxserver/sonarr:3.0.9` causes the same results.Container logs
[migrations] started
[migrations] no migrations found
usermod: no changes
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support the app dev(s) visit:
Sonarr: https://sonarr.tv/donate
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 911
User gid: 911
-------------------------------------
[custom-init] No custom files found, skipping...
* Assertion at gc.c:1005, condition `is_ok (error)' not met, function:mono_gc_init_finalizer_thread, Couldn't create thread. Error 0x0 assembly:<unknown assembly> type:<unknown type> member:(null)
=================================================================
Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
=================================================================
Native stacktrace:
=================================================================
0x556ccc876ffb - mono :
0x556ccc87738d - mono :
0x556ccc824087 - mono :
0x556ccc87657c - mono :
0x7fc5e5e80520 - /lib/x86_64-linux-gnu/libc.so.6 :
0x7fc5e5ed4a7c - /lib/x86_64-linux-gnu/libc.so.6 : pthread_kill
0x7fc5e5e80476 - /lib/x86_64-linux-gnu/libc.so.6 : raise
0x7fc5e5e667f3 - /lib/x86_64-linux-gnu/libc.so.6 : abort
0x556ccc7e63c4 - mono :
0x556cccacb135 - mono :
0x556cccae85be - mono :
0x556cccae8c73 - mono : monoeg_assertion_message
0x556ccca65f08 - mono :
0x556ccc9539f6 - mono :
0x556ccc7e9047 - mono :
0x556ccc7f77b6 - mono : mono_main
0x556ccc7e64df - mono :
0x7fc5e5e67d90 - /lib/x86_64-linux-gnu/libc.so.6 :
0x7fc5e5e67e40 - /lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main
0x556ccc7e6b1e - mono : _start
=================================================================
Telemetry Dumper:
=================================================================
Entering thread summarizer pause from 0x140487942197376x
Finished thread summarizer pause from 0x140487942197376x.
Failed to create breadcrumb file (null)/crash_hash_0x0
Waiting for dumping threads to resume
=================================================================
External Debugger Dump:
=================================================================
mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb
=================================================================
Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7fc5e5ed4a7c):0x7fc5e5ed4a6c 05 00 44 89 e2 89 ee 89 c7 b8 ea 00 00 00 0f 05 ..D.............
0x7fc5e5ed4a7c 41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00 A..A..=.........
0x7fc5e5ed4a8c 44 0f 46 e8 e9 6d ff ff ff 0f 1f 00 48 89 ef e8 D.F..m......H...
0x7fc5e5ed4a9c 10 a8 ff ff e9 29 ff ff ff 0f 1f 00 48 89 ef e8 .....)......H...
=================================================================
Managed Stacktrace:
=================================================================
=================================================================
* Assertion at gc.c:1005, condition `is_ok (error)' not met, function:mono_gc_init_finalizer_thread, Couldn't create thread. Error 0x0 assembly:<unknown assembly> type:<unknown type> member:(null)
=================================================================
Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
=================================================================
Native stacktrace:
=================================================================
0x5622d501fffb - mono :
0x5622d502038d - mono :
0x5622d4fcd087 - mono :
0x5622d501f57c - mono :
0x7ff784ac5520 - /lib/x86_64-linux-gnu/libc.so.6 :
0x7ff784b19a7c - /lib/x86_64-linux-gnu/libc.so.6 : pthread_kill
0x7ff784ac5476 - /lib/x86_64-linux-gnu/libc.so.6 : raise
0x7ff784aab7f3 - /lib/x86_64-linux-gnu/libc.so.6 : abort
0x5622d4f8f3c4 - mono :
0x5622d5274135 - mono :
0x5622d52915be - mono :
0x5622d5291c73 - mono : monoeg_assertion_message
0x5622d520ef08 - mono :
0x5622d50fc9f6 - mono :
0x5622d4f92047 - mono :
0x5622d4fa07b6 - mono : mono_main
0x5622d4f8f4df - mono :
0x7ff784aacd90 - /lib/x86_64-linux-gnu/libc.so.6 :
0x7ff784aace40 - /lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main
0x5622d4f8fb1e - mono : _start
=================================================================
Telemetry Dumper:
=================================================================
Entering thread summarizer pause from 0x140701059260544x
Finished thread summarizer pause from 0x140701059260544x.
Failed to create breadcrumb file (null)/crash_hash_0x0
Waiting for dumping threads to resume
=================================================================
External Debugger Dump:
=================================================================
mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb
=================================================================
Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7ff784b19a7c):0x7ff784b19a6c 05 00 44 89 e2 89 ee 89 c7 b8 ea 00 00 00 0f 05 ..D.............
0x7ff784b19a7c 41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00 A..A..=.........
0x7ff784b19a8c 44 0f 46 e8 e9 6d ff ff ff 0f 1f 00 48 89 ef e8 D.F..m......H...
0x7ff784b19a9c 10 a8 ff ff e9 29 ff ff ff 0f 1f 00 48 89 ef e8 .....)......H...
=================================================================
Managed Stacktrace:
=================================================================
=================================================================
* Assertion at gc.c:1005, condition `is_ok (error)' not met, function:mono_gc_init_finalizer_thread, Couldn't create thread. Error 0x0 assembly:<unknown assembly> type:<unknown type> member:(null)
=================================================================
Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
... infinity repeating about once every second ...