Bug #1437
Crash after deleting all muxes
0%
Description
I wanted to have a clean channel list, so I deleted all muxes, what worked without a problem.
Then I added one mux by "Add DVB Network by location" and enabled "autodetect muxes". After enabling
this option tvheadend crashed. If I start tvheadend again ist crashes each time:
[...] Nov 29 21:49:10 [DEBUG]:epg: unref'd object 347467 (tvh://channel-1/bcast-347466/episode) created during update Nov 29 21:49:10 [DEBUG]:epg: unref'd object 347453 (tvh://channel-1/bcast-347452/episode) created during update Nov 29 21:49:10 [DEBUG]:epg: unref'd object 347443 (tvh://channel-1/bcast-347442/episode) created during update Nov 29 21:49:10 [DEBUG]:epg: unref'd object 347441 (tvh://channel-1/bcast-347440/episode) created during update Program received signal SIGSEGV, Segmentation fault. dvr_event_updated (e=0x3ee180) at /opt/src/tvheadend_beta/src/dvr/dvr_db.c:836 836 LIST_FOREACH(de, &e->channel->ch_dvrs, de_channel_link) (gdb) bt full #0 dvr_event_updated (e=0x3ee180) at /opt/src/tvheadend_beta/src/dvr/dvr_db.c:836 de = (dvr_entry_t *) 0x0 #1 0x0000f690 in _epg_broadcast_updated (eo=0x3ee180) at /opt/src/tvheadend_beta/src/epg.c:1528 ebc = (epg_broadcast_t *) 0x3ee180 #2 0x000119f4 in epg_updated () at /opt/src/tvheadend_beta/src/epg.c:113 eo = (epg_object_t *) 0x3ee180 #3 0x0000ba20 in main (argc=Unhandled dwarf expression opcode 0xf3 ) at /opt/src/tvheadend_beta/src/main.c:485 c = <value optimized out> forkaway = <value optimized out> pidfile = <value optimized out> pidpath = <value optimized out> grp = <value optimized out> pw = <value optimized out> usernam = <value optimized out> groupnam = <value optimized out> createdefault = <value optimized out> set = {__val = {2147483647, 4294967294, 4294967295 <repeats 30 times>}} homedir = <value optimized out> rawts_input = <value optimized out> dvb_rawts_input = <value optimized out> join_transport = <value optimized out> confpath = <value optimized out> p = <value optimized out> endp = 0x40025894 "??\001@\n" adapter_mask = <value optimized out> crash = <value optimized out> ---Type <return> to continue, or q <return> to quit--- gid = <value optimized out> uid = <value optimized out> (gdb) info reg r0 0x3ee180 4120960 r1 0x0 0 r2 0x403da018 1077780504 r3 0x0 0 r4 0x3ee180 4120960 r5 0x86548 550216 r6 0x0 0 r7 0x854c8 545992 r8 0x0 0 r9 0xffffffff 4294967295 r10 0x40025000 1073893376 r11 0xbecf2c14 3201248276 r12 0xea120 958752 sp 0xbecf2a90 0xbecf2a90 lr 0xf690 63120 pc 0x39988 0x39988 <dvr_event_updated+12> fps 0x0 0 cpsr 0x60000010 1610612752
History
Updated by Adam Sutton about 12 years ago
- Status changed from New to Need feedback
I'll try and replicate this, but do you have the configuration that was causing this crash? That could be useful to help replicate the failure.
Adam
Updated by Rene Herbrich about 12 years ago
Damn, no I deleted the config, sorry.
If it helps: it was rather a very old config, created with v2.9, I think.
I'll try to repeat the steps.
Updated by Rene Herbrich about 12 years ago
I tried the same steps again (sadly without gdb ), with a clean config and it crashed, but after a restart everything was ok again.
Next try with with another clean config resulted in no crashes.
The only thing I noticed are these lines in debug output:
Dec 04 23:31:50 [DEBUG]:epg: unref'd object 11144 (tvh://channel-97/bcast-11143/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 4044 (tvh://channel-9/bcast-4043/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 12562 (tvh://channel-88/bcast-12561/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 7932 (tvh://channel-73/bcast-7931/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 11010 (tvh://channel-70/bcast-11009/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 6774 (tvh://channel-66/bcast-6773/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 13332 (tvh://channel-65/bcast-13331/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 6482 (tvh://channel-64/bcast-6481/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 5770 (tvh://channel-60/bcast-5769/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 11426 (tvh://channel-53/bcast-11425/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 5738 (tvh://channel-46/bcast-5737/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 11128 (tvh://channel-44/bcast-11127/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 8958 (tvh://channel-38/bcast-8957/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 5756 (tvh://channel-33/bcast-5755/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 192 (tvh://channel-33/bcast-191/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 4994 (tvh://channel-194/bcast-4993/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 4906 (tvh://channel-189/bcast-4905/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 4062 (tvh://channel-18/bcast-4061/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 4956 (tvh://channel-173/bcast-4955/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 9092 (tvh://channel-162/bcast-9091/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 9134 (tvh://channel-161/bcast-9133/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 9010 (tvh://channel-160/bcast-9009/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 9030 (tvh://channel-158/bcast-9029/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 3730 (tvh://channel-155/bcast-3729/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 4040 (tvh://channel-12/bcast-4039/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 212 (tvh://channel-115/bcast-211/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 13110 (tvh://channel-113/bcast-13109/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 8618 (tvh://channel-108/bcast-8617/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 6566 (tvh://channel-108/bcast-6565/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 8630 (tvh://channel-101/bcast-8629/episode) created during update Dec 04 23:31:50 [DEBUG]:epg: unref'd object 210 (tvh://channel-1/bcast-209/episode) created during update
Maybe tvheadend crashes under some circumstances, if there are unreferenced objects?
Updated by Adam Sutton almost 12 years ago
Rene,
are you still seeing this? I've never had a chance to try replicating it.
Adam
Updated by Rene Herbrich almost 12 years ago
Adam Sutton wrote:
Rene,
are you still seeing this? I've never had a chance to try replicating it.
Adam
honestly I did not try again, I'd say you can close the ticket. If it will happen again, I'll add the information here.
Updated by Adam Sutton almost 12 years ago
- Status changed from Need feedback to Rejected
Closing, shout if it happens again.