Hi,
habe hier das gleiche Problem. Coredump beim Anlegen von timern, die nicht auf 'VDR' gestellt werden.
Ich poste mal den bt, vielleicht hilft's.
Christian
web /var/lib/systemd/coredump # coredumpctl debug
PID: 1413 (epghttpd)
UID: 0 (root)
GID: 0 (root)
Signal: 11 (SEGV)
Timestamp: Wed 2024-06-19 22:07:27 CEST (9s ago)
Command Line: /usr/bin/epghttpd -c /etc/epgd
Executable: /usr/bin/epghttpd
Control Group: /system.slice/epghttpd.service
Unit: epghttpd.service
Slice: system.slice
Boot ID: 5b166cb376ba493e81a44b8b831d9572
Machine ID: 83039f6c679c90a840bd10b25b1fce02
Hostname: web
Storage: /var/lib/systemd/coredump/core.epghttpd.0.5b166cb376ba493e81a44b8b831d9572.1413.1718827647000000.zst (present)
Size on Disk: 1014.5K
Message: Process 1413 (epghttpd) of user 0 dumped core.
GNU gdb (Gentoo 14.2 vanilla) 14.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/epghttpd...
Reading symbols from /usr/lib/debug//usr/bin/epghttpd.debug...
[New LWP 1414]
[New LWP 1413]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/epghttpd -c /etc/epgd'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f68cae2a7b4 in ?? () from /usr/lib64/libpython3.12.so.1.0
[Current thread is 1 (Thread 0x7f68c89196c0 (LWP 1414))]
(gdb) bt
#0 0x00007f68cae2a7b4 in ?? () from /usr/lib64/libpython3.12.so.1.0
#1 0x00007f68cadd5c42 in ?? () from /usr/lib64/libpython3.12.so.1.0
#2 0x00007f68cadd7895 in ?? () from /usr/lib64/libpython3.12.so.1.0
#3 0x00007f68cace6d36 in PyObject_CallObject () from /usr/lib64/libpython3.12.so.1.0
#4 0x000055ce649ae354 in Python::execute (this=0x55ce660fc030, eventsDb=0x55ce661d61b0, namingmode=1, tmplExpression=0x7f68c4009a00 "")
at python.c:310
#5 0x000055ce6493ba78 in cEpgHttpd::storeTimerJob (this=0x55ce660fb1e0, jInData=0x7f68c4009330, response=0x7f68c4009250) at webstore.c:309
#6 0x000055ce64954cf2 in cEpgHttpd::performPostData (this=0x55ce660fb1e0, url=0x7f68c4000d75 "/data/save-timer", data=0x7f68c8917b20)
at httpd.c:1624
#7 0x000055ce64955610 in cEpgHttpd::dispatcher (cls=0x0, tcp=0x7f68c4000b70, url=0x7f68c4000d75 "/data/save-timer", method=0x7f68c4000d70 "POST",
version=0x7f68c4000d86 "HTTP/1.1", upload_data=0x0, upload_data_size=0x7f68c8917ef0, con_cls=0x7f68c4000bc8) at httpd.c:1777
#8 0x00007f68cb34da0c in ?? () from /usr/lib64/libmicrohttpd.so.12
#9 0x00007f68cb34fbf8 in ?? () from /usr/lib64/libmicrohttpd.so.12
#10 0x00007f68cb3525e0 in ?? () from /usr/lib64/libmicrohttpd.so.12
#11 0x00007f68cb357da0 in ?? () from /usr/lib64/libmicrohttpd.so.12
#12 0x00007f68cb358d05 in ?? () from /usr/lib64/libmicrohttpd.so.12
#13 0x00007f68c9ebf551 in ?? () from /usr/lib64/libc.so.6
#14 0x00007f68c9f2d92c in ?? () from /usr/lib64/libc.so.6
(gdb)
Display More
Log dazu:
Jun 19 22:07:27 web kernel: MHD-single[1414]: segfault at f0 ip 00007f68cae2a7b4 sp 00007f68c8917380 error 4 in libpython3.12.so.1.0[7f68cac83000+243000] likely on CPU 0 (core 0, socket 0)
Jun 19 22:07:27 web kernel: Code: 06 00 00 0f 95 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 41 55 41 54 55 49 89 f4 53 48 89 fd 48 83 ec 08 <48> 8b 97 f0 00 00 00 48 85 d2 74 1a 48 8b 87 f8 00 00 00 48 63 ce
Jun 19 22:07:27 web systemd[1]: Started Process Core Dump (PID 1470/UID 0).
Jun 19 22:07:27 web systemd-coredump[1471]: elfutils disabled, parsing ELF objects not supported
Jun 19 22:07:27 web systemd-coredump[1471]: [🡕] Process 1413 (epghttpd) of user 0 dumped core.
Jun 19 22:07:27 web systemd[1]: epghttpd.service: Main process exited, code=dumped, status=11/SEGV
Jun 19 22:07:27 web systemd[1]: epghttpd.service: Failed with result 'core-dump'.
Jun 19 22:07:27 web systemd[1]: systemd-coredump@2-1470-0.service: Deactivated successfully.
Jun 19 22:07:28 web systemd[1]: epghttpd.service: Scheduled restart job, restart counter is at 2.
Jun 19 22:07:28 web systemd[1]: Starting EPG HTTP Daemon that provides a web interface...
Jun 19 22:07:28 web epghttpd[1483]: Set locale to 'de_DE.utf8'
Jun 19 22:07:28 web epghttpd[1483]: detected UTF-8
Jun 19 22:07:28 web epghttpd[1483]: Read 27 option from /etc/epgd/epgd.conf
Jun 19 22:07:28 web epghttpd[1483]: Initialize python script '/etc/epgd/recording.py'
Jun 19 22:07:28 web systemd[1]: Started EPG HTTP Daemon that provides a web interface.
Jun 19 22:07:28 web epghttpd[1483]: Initialize python script '/etc/epgd/recording.py'
Jun 19 22:07:28 web epghttpd[1483]: Dictionary '/etc/epgd/epg.dat' loaded
Jun 19 22:07:28 web epghttpd[1483]: Info: Calling mysql_library_init()
Jun 19 22:07:28 web epghttpd[1483]: Connecting to database at 'localhost:3306'
Jun 19 22:07:28 web epghttpd[1483]: Calling mysql_init(1483)
Jun 19 22:07:28 web epghttpd[1483]: SQL client character now 'utf8mb3'
Jun 19 22:07:28 web epghttpd[1483]: Info: Eloquence set to 'Error,Warning,Info' => 0x0007
Jun 19 22:07:28 web epghttpd[1483]: Calling mysql_init(1483)
Jun 19 22:07:28 web epghttpd[1483]: Starting http server ...
Jun 19 22:07:28 web epghttpd[1483]: Listener at port 9999 established, waiting for connections
Jun 19 22:07:28 web epghttpd[1483]: Calling sd_notify(READY=1$STATUS=Ready$MAINPID=1483$)
Jun 19 22:07:28 web epghttpd[1483]: Info: Systemd watchdog not configured, epgd won't be sending keep-alive messages!
Display More