Project

General

Profile

Bug #271

crash after deleting auto rec entry

Added by ukasz - about 14 years ago. Updated almost 14 years ago.

Status:
Fixed
Priority:
Urgent
Assignee:
Category:
General
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Found in version:
Affected Versions:

Description

after trying to delete auto rec entry i got a crash.

Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: Signal: 6 in PRG: /usr/bin/tvheadend (SVN-r5322) [7b5770e8a6544ef4786514c043659f36e130c184] CWD: /
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: Fault address 0x72cc (N/A)
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: Loaded libraries: /lib/i686/cmov/librt.so.1 /lib/i686/cmov/libcrypt.so.1 /usr/lib/libavahi-common.so.3 /usr/lib/libavahi-client.so.3 /lib/i686/cmov/libpthread.so.0 /lib/i686/cmov/libm.so.6 /lib/i686/cmov/libc.so.6 /lib/i686/cmov/libdl.so.2 /lib/ld-linux.so.2 /lib/libdbus-1.so.3 /lib/i686/cmov/libnss_compat.so.2 /lib/i686/cmov/libnsl.so.1 /lib/i686/cmov/libnss_nis.so.2 /lib/i686/cmov/libnss_files.so.2
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: Register dump r19: 00000033 00000000 0000007b 0000007b b7799ff4 096e3918 ae5966f0 ae5966d8 000072cc 00000006 000072e9 00000000 00000000 00000000 b783b424 00000073 00000206 ae5966d8 0000007b
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: STACKTRACE
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: /usr/bin/tvheadend 0x8066cc9
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: +kernel_rt_sigreturn+0x0 ()
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: abort+0x182 (/lib/i686/cmov/libc.so.6)
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: /usr/bin/tvheadend 0x806b8c2
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: /usr/bin/tvheadend 0x806c91d
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: /usr/bin/tvheadend 0x806d297
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: /usr/bin/tvheadend 0x804cff2
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: /usr/bin/tvheadend 0x804d055
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: /usr/bin/tvheadend 0x807a4af
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: /usr/bin/tvheadend 0x804e649
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: /usr/bin/tvheadend 0x804ea14
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: /usr/bin/tvheadend 0x804ec5a
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: /usr/bin/tvheadend 0x804ed54
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: /usr/bin/tvheadend 0x804d413
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: /lib/i686/cmov/libpthread.so.0 0xb77ca955
Aug 30 18:15:04 dvbstreamer tvheadendr29388: CRASH: clone+0x5e (/lib/i686/cmov/libc.so.6)

History

#1

Updated by ukasz - about 14 years ago

svn version 5322

after trying to disabling auto rec entry same error.

Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: Signal: 6 in PRG: /usr/bin/tvheadend (SVN-r5322) [7b5770e8a6544ef4786514c043659f36e130c184] CWD: /
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: Fault address 0x730e (N/A)
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: Loaded libraries: /lib/i686/cmov/librt.so.1 /lib/i686/cmov/libcrypt.so.1 /usr/lib/libavahi-common.so.3 /usr/lib/libavahi-client.so.3 /lib/i686/cmov/libpthread.so.0 /lib/i686/cmov/libm.so.6 /lib/i686/cmov/libc.so.6 /lib/i686/cmov/libdl.so.2 /lib/ld-linux.so.2 /lib/libdbus-1.so.3 /lib/i686/cmov/libnss_compat.so.2 /lib/i686/cmov/libnsl.so.1 /lib/i686/cmov/libnss_nis.so.2 /lib/i686/cmov/libnss_files.so.2
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: Register dump r19: 00000033 00000000 0000007b 0000007b b7800ff4 0a1ba8e8 b04f26c0 b04f26a8 0000730e 00000006 00007327 00000000 00000000 00000000 b78a2424 00000073 00000202 b04f26a8 0000007b
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: STACKTRACE
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: /usr/bin/tvheadend 0x8066cc9
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: +kernel_rt_sigreturn+0x0 ()
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: abort+0x182 (/lib/i686/cmov/libc.so.6)
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: /usr/bin/tvheadend 0x806b8c2
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: /usr/bin/tvheadend 0x806cc95
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: /usr/bin/tvheadend 0x806d55a
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: /usr/bin/tvheadend 0x804d0ef
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: /usr/bin/tvheadend 0x807a42f
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: /usr/bin/tvheadend 0x804e649
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: /usr/bin/tvheadend 0x804ea14
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: /usr/bin/tvheadend 0x804ec5a
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: /usr/bin/tvheadend 0x804ed54
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: /usr/bin/tvheadend 0x804d413
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: /lib/i686/cmov/libpthread.so.0 0xb7831955
Aug 30 18:17:24 dvbstreamer tvheadendr29454: CRASH: clone+0x5e (/lib/i686/cmov/libc.so.6)

#2

Updated by Andreas Smas about 14 years ago

Can't reproduce.

Please track this down with gdb.

See wiki:tvheadendcrash

#3

Updated by zenani - about 14 years ago

I have the same problem with SVN r5323:
(gdb) info reg
eax 0x0 0
ecx 0xa0e 2574
edx 0x6 6
ebx 0x9f3 2547
esp 0xaf5f76c4 0xaf5f76c4
ebp 0xaf5f76d0 0xaf5f76d0
esi 0xb2e033b8 -1293929544
edi 0x630ff4 6492148
eip 0x110422 0x110422 <+kernel_vsyscall+2>
eflags 0x206 [ PF IF ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51

(gdb) disassemble $pc-32,$pc+32
No function contains specified address.

(gdb) bt full
#0 0x00996422 in +kernel_vsyscall ()
No symbol table info available.
#1 0x003314d1 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2 0x00334932 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3 0x0806c9b2 in dvr_entry_cancel (de=0xb5016110) at /home/xbmc/tvheadend/src/dvr/dvr_db.c:683
No locals.
#4 0x0806db8d in dvr_autorec_purge_spawns (dae=0xb50180b0) at /home/xbmc/tvheadend/src/dvr/dvr_autorec.c:56
de = 0x0
#5 autorec_entry_destroy (dae=0xb50180b0) at /home/xbmc/tvheadend/src/dvr/dvr_autorec.c:165
No locals.
#6 0x0806e547 in autorec_record_delete (opaque=0x0, id=0x80cd910 "2") at /home/xbmc/tvheadend/src/dvr/dvr_autorec.c:386
dae = 0x0
#7 0x0804d362 in dtable_record_delete (dt=0xb6effbb0, id=0x80cd910 "2") at /home/xbmc/tvheadend/src/dtable.c:149
No locals.
#8 0x0804d3c5 in dtable_record_delete_by_array (dt=0xb6effbb0, msg=0x80cd8c0) at /home/xbmc/tvheadend/src/dtable.c:168
f = 0x80cd8e8
id = 0x0
changed = 1
#9 0x0807becf in extjs_tablemgr (hc=0xae7f22c8, remain=0x0, opaque=0x0) at /home/xbmc/tvheadend/src/webui/extjs.c:262
dt = 0xb6effbb0
out = <value optimized out>
in = 0x80cd8c0
array = <value optimized out>
tablename = <value optimized out>
op = <value optimized out>
entries = <value optimized out>
#10 0x0804ea59 in http_exec (hc=0xae7f22c8, hp=0xb53b8070, remain=0x0) at /home/xbmc/tvheadend/src/http.c:330
err = 6
#11 0x0804ee62 in http_cmd_post (hc=0xae7f22c8, spill=<value optimized out>;) at /home/xbmc/tvheadend/src/http.c:420
hp = <value optimized out>
remain = 0x0
argv = {0x80cd618 "application/x-www-form-urlencoded", 0x80cd63b "charset=UTF-8"}
args = 0x0
v = <value optimized out>
n = <value optimized out>
#12 http_process_request (hc=0xae7f22c8, spill=<value optimized out>;) at /home/xbmc/tvheadend/src/http.c:441
No locals.
#13 process_request (hc=0xae7f22c8, spill=<value optimized out>;) at /home/xbmc/tvheadend/src/http.c:506
v = <value optimized out>
argv = {0xae7f1986 "admin", 0xae7f198c "admin"}
n = <value optimized out>
rval = 0
authbuf = "admin\000admin\000D\000\370\177B\000\002\000\000\000 \000\000\000\002\000\000\000\t\000\000\000ØD\000\020\325\f\b\020\000\000\000\000\000\000\000\240\203D\000ÐD\000\003\000\000\000\364oD\000\240\203D\000\275v\006\b|\032\177\256@\316\f\b\001\000\000\000ÐD\000\001\000\000\000\364oD\000\060#\177\256\001\000\000\000\267\002\000\000\000\000\000\000\210\002\000\000\000\000\000\000\060#\177\256\035\000\000\000\070\032\177\256\247\332\004\b0#\177\256\001\000\000\000\001\000\000"
#14 0x0804f0d6 in http_serve_requests (hc=0xae7f22c8, spill=0xae7f2330) at /home/xbmc/tvheadend/src/http.c:734
cmdline = "POST\000/tablemgr\000HTTP/1.1\000\000es/images/default/window/left-right.png\000HTTP/1.1\000\000P/1.1", '\000' <repeats 943 times>
hdrline = "\000\000che-Control\000\000no-cache\000\000aW46YWRtaW4=\000\000tjs.html\000\000charset=UTF-8\000\000*;q=0.8\000\000o/20100824 Firefox/3.6.9", '\000' <repeats 926 times>
argv = {0xae7f1a7c "", 0xae7f1a8b "no-cache", 0xae7f1e8b "HTTP/1.1"}
n = <value optimized out>
#15 0x0804f1d4 in http_serve (fd=29, opaque=0x0, peer=0xb5100474, self=0xb5100484) at /home/xbmc/tvheadend/src/http.c:777
spill = {hq_q = {tqh_first = 0x0, tqh_last = 0xae7f2330}, hq_size = 0, hq_maxsize = 2147483647}
hc = {hc_fd = 29, hc_peer = 0xb5100474, hc_self = 0xb5100484, hc_representative = 0x80cd7d0 "admin", hc_url = 0xae7f1e81 "/tablemgr",
hc_url_orig = 0xae7f1930 "/tablemgr", hc_keep_alive = 1, hc_reply = {hq_q = {tqh_first = 0x0, tqh_last = 0xae7f22e4}, hq_size = 0, hq_maxsize = 2147483647},
hc_args = {tqh_first = 0x80cdb08, tqh_last = 0x80cd770}, hc_req_args = {tqh_first = 0x80cd818, tqh_last = 0x80cd888}, hc_state = HTTP_CON_WAIT_REQUEST,
hc_cmd = HTTP_CMD_POST, hc_version = HTTP_VERSION_1_1, hc_username = 0x80cd7b0 "admin", hc_password = 0x80cd7c0 "admin", hc_authenticated = 0,
hc_user_config = 0x0, hc_no_output = 0, hc_post_data = 0x80cd7e0 "op", hc_post_len = 45, hc_rtsp_session = 0x0}
#16 0x0804d793 in tcp_server_start (aux=0xb5100468) at /home/xbmc/tvheadend/src/tcp.c:397
#0 0x00996422 in ?? ()
No symbol table info available.
#1 0x003314d1 in ?? ()
No symbol table info available.
#2 0x00334932 in ?? ()
No symbol table info available.
#3 0x0806c9b2 in dvr_entry_cancel (de=0xb5016110) at /home/xbmc/tvheadend/src/dvr/dvr_db.c:683
No locals.
#4 0x0806db8d in dvr_autorec_purge_spawns (dae=0xb50180b0) at /home/xbmc/tvheadend/src/dvr/dvr_autorec.c:56
de = 0x0
#5 autorec_entry_destroy (dae=0xb50180b0) at /home/xbmc/tvheadend/src/dvr/dvr_autorec.c:165
No locals.
#6 0x0806e547 in autorec_record_delete (opaque=0x0, id=0x80cd910 "2") at /home/xbmc/tvheadend/src/dvr/dvr_autorec.c:386
dae = 0x0
#7 0x0804d362 in dtable_record_delete (dt=0xb6effbb0, id=0x80cd910 "2") at /home/xbmc/tvheadend/src/dtable.c:149
No locals.
#8 0x0804d3c5 in dtable_record_delete_by_array (dt=0xb6effbb0, msg=0x80cd8c0) at /home/xbmc/tvheadend/src/dtable.c:168
f = 0x80cd8e8
id = 0x0
changed = 1
#9 0x0807becf in extjs_tablemgr (hc=0xae7f22c8, remain=0x0, opaque=0x0) at /home/xbmc/tvheadend/src/webui/extjs.c:262
dt = 0xb6effbb0
out = <value optimized out>
in = 0x80cd8c0
array = <value optimized out>
tablename = <value optimized out>
op = <value optimized out>
entries = <value optimized out>
#10 0x0804ea59 in http_exec (hc=0xae7f22c8, hp=0xb53b8070, remain=0x0) at /home/xbmc/tvheadend/src/http.c:330
err = 6
#11 0x0804ee62 in http_cmd_post (hc=0xae7f22c8, spill=<value optimized out>;) at /home/xbmc/tvheadend/src/http.c:420
hp = <value optimized out>
remain = 0x0
argv = {0x80cd618 "application/x-www-form-urlencoded", 0x80cd63b "charset=UTF-8"}
args = 0x0
v = <value optimized out>
n = <value optimized out>
#12 http_process_request (hc=0xae7f22c8, spill=<value optimized out>;) at /home/xbmc/tvheadend/src/http.c:441
No locals.
#13 process_request (hc=0xae7f22c8, spill=<value optimized out>;) at /home/xbmc/tvheadend/src/http.c:506
v = <value optimized out>
argv = {0xae7f1986 "admin", 0xae7f198c "admin"}
n = <value optimized out>
rval = 0
authbuf = "admin\000admin\000D\000\370\177B\000\002\000\000\000 \000\000\000\002\000\000\000\t\000\000\000ØD\000\020\325\f\b\020\000\000\000\000\000\000\000\240\203D\000ÐD\000\003\000\000\000\364oD\000\240\203D\000\275v\006\b|\032\177\256@\316\f\b\001\000\000\000ÐD\000\001\000\000\000\364oD\000\060#\177\256\001\000\000\000\267\002\000\000\000\000\000\000\210\002\000\000\000\000\000\000\060#\177\256\035\000\000\000\070\032\177\256\247\332\004\b0#\177\256\001\000\000\000\001\000\000"
#14 0x0804f0d6 in http_serve_requests (hc=0xae7f22c8, spill=0xae7f2330) at /home/xbmc/tvheadend/src/http.c:734
cmdline = "POST\000/tablemgr\000HTTP/1.1\000\000es/images/default/window/left-right.png\000HTTP/1.1\000\000P/1.1", '\000' <repeats 943 times>
hdrline = "\000\000che-Control\000\000no-cache\000\000aW46YWRtaW4=\000\000tjs.html\000\000charset=UTF-8\000\000*;q=0.8\000\000o/20100824 Firefox/3.6.9", '\000' <repeats 926 times>
argv = {0xae7f1a7c "", 0xae7f1a8b "no-cache", 0xae7f1e8b "HTTP/1.1"}
n = <value optimized out>
#15 0x0804f1d4 in http_serve (fd=29, opaque=0x0, peer=0xb5100474, self=0xb5100484) at /home/xbmc/tvheadend/src/http.c:777
spill = {hq_q = {tqh_first = 0x0, tqh_last = 0xae7f2330}, hq_size = 0, hq_maxsize = 2147483647}
hc = {hc_fd = 29, hc_peer = 0xb5100474, hc_self = 0xb5100484, hc_representative = 0x80cd7d0 "admin", hc_url = 0xae7f1e81 "/tablemgr",
hc_url_orig = 0xae7f1930 "/tablemgr", hc_keep_alive = 1, hc_reply = {hq_q = {tqh_first = 0x0, tqh_last = 0xae7f22e4}, hq_size = 0, hq_maxsize = 2147483647},
hc_args = {tqh_first = 0x80cdb08, tqh_last = 0x80cd770}, hc_req_args = {tqh_first = 0x80cd818, tqh_last = 0x80cd888}, hc_state = HTTP_CON_WAIT_REQUEST,
hc_cmd = HTTP_CMD_POST, hc_version = HTTP_VERSION_1_1, hc_username = 0x80cd7b0 "admin", hc_password = 0x80cd7c0 "admin", hc_authenticated = 0,
hc_user_config = 0x0, hc_no_output = 0, hc_post_data = 0x80cd7e0 "op", hc_post_len = 45, hc_rtsp_session = 0x0}
#16 0x0804d793 in tcp_server_start (aux=0xb5100468) at /home/xbmc/tvheadend/src/tcp.c:397
---Type <return> to continue, or q <return> to quit---
val = 1
#17 0x0023480e in ?? ()
No symbol table info available.
#18 0x003d37ee in ?? ()
No symbol table info available.

#4

Updated by ukasz - almost 14 years ago

  • Found in version set to fixed

in 5662 it is working debian squeeze

Also available in: Atom PDF