2018-09-08, 00:36
@mglae Yes I have seen other crashes, not very often, but
I'm testing with these scripts which you can install in the LibreELEC client:
Then run "/storage/segfault #" to test (where # is the number of restarts to be tested). If Kodi crashes it should display the relevant backtrace. With a regular build of Kodi I can usually trigger a crash within 3 restarts, quite often at the first attempt. With a build that has PR14356 reverted I can restart 30 times without a crash.
You can try #0907b which has PR14356 reverted: Generic
#0907:
#0907b:
GUIFontManager
and CNfsConnection
crashes are by far the most common (for me, at least).I'm testing with these scripts which you can install in the LibreELEC client:
text:
wget -q http://ix.io/1mcF -O /storage/segfault
wget -q http://ix.io/1mcE -O /storage/debug.sh
chmod +x /storage/segfault /storage/debug.sh
Then run "/storage/segfault #" to test (where # is the number of restarts to be tested). If Kodi crashes it should display the relevant backtrace. With a regular build of Kodi I can usually trigger a crash within 3 restarts, quite often at the first attempt. With a build that has PR14356 reverted I can restart 30 times without a crash.
You can try #0907b which has PR14356 reverted: Generic
#0907:
text:
NUC:~ # /storage/segfault 30
LibreELEC (Milhouse): devel-20180907210336-#0907-g10e5dba [Build #0907]
2018-09-07 23:19:54: 001 Stopping... stopped.
Found new crash log after Kodi shutdown!
********
[New LWP 1114]
[New LWP 1111]
[New LWP 1133]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/lib/kodi/kodi.bin --standalone -fs'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fc6b84b6b99 in ?? ()
[Current thread is 1 (Thread 0x7fc706597880 (LWP 1108))]
Thread 4 (Thread 0x7fc6ce7fc700 (LWP 1133)):
********
THREAD #1:
Thread 1 (Thread 0x7fc706597880 (LWP 1108)):
#0 0x00007fc6b84b6b99 in ?? ()
#1 0x00000000007e64b0 in CNfsConnection::destroyOpenContexts() ()
#2 0x00000000007e6536 in CNfsConnection:einit() ()
#3 0x00000000007e6703 in CNfsConnection::~CNfsConnection() ()
#4 0x00007fc70791f3ec in __run_exit_handlers (status=65, listp=0x7fc707a95718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
#5 0x00007fc70791f51a in __GI_exit (status=<optimized out>) at exit.c:139
#6 0x00007fc70790a092 in __libc_start_main (main=0x797102 <main>, argc=3, argv=0x7ffc7c5ae968, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc7c5ae958) at ../csu/libc-start.c:342
#7 0x000000000079820a in _start ()
#0907b:
text:
NUC:~ # /storage/segfault 30
LibreELEC (Milhouse): devel-20180907230715-#0907b-g9f04b0e [Build #0907b]
2018-09-07 23:22:19: 001 Stopping... stopped. Starting... started.
2018-09-07 23:22:33: 002 Stopping... stopped. Starting... started.
2018-09-07 23:22:49: 003 Stopping... stopped. Starting... started.
2018-09-07 23:23:04: 004 Stopping... stopped. Starting... started.
2018-09-07 23:23:18: 005 Stopping... stopped. Starting... started.
2018-09-07 23:23:32: 006 Stopping... stopped. Starting... started.
2018-09-07 23:23:46: 007 Stopping... stopped. Starting... started.
2018-09-07 23:24:01: 008 Stopping... stopped. Starting... started.
2018-09-07 23:24:15: 009 Stopping... stopped. Starting... started.
2018-09-07 23:24:29: 010 Stopping... stopped. Starting... started.
2018-09-07 23:24:43: 011 Stopping... stopped. Starting... started.
2018-09-07 23:24:58: 012 Stopping... stopped. Starting... started.
2018-09-07 23:25:12: 013 Stopping... stopped. Starting... started.
2018-09-07 23:25:26: 014 Stopping... stopped. Starting... started.
2018-09-07 23:25:40: 015 Stopping... stopped. Starting... started.
2018-09-07 23:25:55: 016 Stopping... stopped. Starting... started.
2018-09-07 23:26:09: 017 Stopping... stopped. Starting... started.
2018-09-07 23:26:24: 018 Stopping... stopped. Starting... started.
2018-09-07 23:26:38: 019 Stopping... stopped. Starting... started.
2018-09-07 23:26:53: 020 Stopping... stopped. Starting... started.
2018-09-07 23:27:07: 021 Stopping... stopped. Starting... started.
2018-09-07 23:27:21: 022 Stopping... stopped. Starting... started.
2018-09-07 23:27:35: 023 Stopping... stopped. Starting... started.
2018-09-07 23:27:50: 024 Stopping... stopped. Starting... started.
2018-09-07 23:28:05: 025 Stopping... stopped. Starting... started.
2018-09-07 23:28:19: 026 Stopping... stopped. Starting... started.
2018-09-07 23:28:33: 027 Stopping... stopped. Starting... started.
2018-09-07 23:28:50: 028 Stopping... stopped. Starting... started.
2018-09-07 23:29:04: 029 Stopping... stopped. Starting... started.
2018-09-07 23:29:18: 030 Stopping... stopped. Starting... started.
All 30 passes successful!