[mythtv] (no subject)

Bjorn Hijmans bjorn at hijmans.nl
Mon Jul 28 21:50:24 EDT 2003


Hi,

Mythbackend segfaults after watching LiveTV for about 45 minutes 
(sometimes longer but always within a few hours). It crashes if you 
are just watching, nothing special happens. I'm using a PVR 250, ivrv 
is not reporting any errors in dmesg. Just before the segfault 
mythbackend reports 'ERROR: file I/O problem in safe_read'.

Thanks for helping,
Bjorn

2003-07-28 19:08:00 adding: garfield as a remote file transfer
[New Thread 344086 (LWP 32344)]
2003-07-28 19:08:00 adding: garfield as a player 0
2003-07-28 19:08:00 adding: garfield as a remote file transfer
[New Thread 360471 (LWP 32345)]
2003-07-28 19:08:01 adding: garfield as a player 0
2003-07-28 19:08:01 adding: garfield as a remote file transfer
[New Thread 376856 (LWP 32346)]
ERROR: file I/O problem in 'safe_read()'
: Invalid argument
ERROR: file I/O problem in 'safe_read()'
: Invalid argument
ERROR: file I/O problem in 'safe_read()'
: Invalid argument
ERROR: file I/O problem in 'safe_read()'
: Bad address
ERROR: file I/O problem in 'safe_read()'
: Bad address
ERROR: file I/O problem in 'safe_read()'
: Bad address
ERROR: file I/O problem in 'safe_read()'
: Bad address
ERROR: file I/O problem in 'safe_read()'
: Bad address
ERROR: file I/O problem in 'safe_read()'
: Bad address
ERROR: file I/O problem in 'safe_read()'
: Bad address
ERROR: file I/O problem in 'safe_read()'
: Bad address
ERROR: file I/O problem in 'safe_read()'
: Bad address

Program received signal SIGSEGV, Segmentation fault.

[Switching to Thread 163851 (LWP 32198)]
0x40df5cdc in memcpy () from /lib/libc.so.6

(gdb) thread apply all bt full

Thread 14 (Thread 196621 (LWP 32207)):
#0  0x40e288d6 in __libc_nanosleep () from /lib/libc.so.6
No locals.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 13 (Thread 180236 (LWP 32199)):
#0  0x40cc9cab in __libc_read () from /lib/libpthread.so.0
No locals.
#1  0xbe3c11dc in ?? ()
No symbol table info available.
#2  0x40cc3e7f in pthread_start_thread_event (arg=0x844e860) at manager.c:324
No locals.

Thread 12 (Thread 163851 (LWP 32198)):
#0  0x40df5cdc in memcpy () from /lib/libc.so.6
No locals.
#1  0x4082034e in QSocket::writeBlock () from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.

Thread 10 (Thread 131081 (LWP 32146)):
#0  0x40da1cc1 in do_sigsuspend (set=0xbe9ff92c) at 
../sysdeps/unix/sysv/linux/sigsuspend.c:50
         resultvar = 4294967292
         saved_errno = 4
#1  0x40da1d89 in *__GI___sigsuspend (set=0x4) at 
../sysdeps/unix/sysv/linux/sigsuspend.c:87
         oldtype = 1089136864
         result = 4
#2  0x40cc6318 in __pthread_wait_for_restart_signal (self=0xbe9ffbe0) 
at pthread.c:1141
         mask = {__val = {0, 0, 1089128720, 16, 3198155364, 134609121, 
3198155124, 138730624,
     3198155120, 138723224, 138730624, 1087143822, 138716960, 
1087706640, 12, 138723216,
     138723216, 138729544, 138710856, 1087144174, 0, 138731208, 0, 
1087142942, 138666560,
     134632202, 138730624, 1087171776, 3198155340, 0, 3198155204, 1087131082}}
#3  0x40cc2e68 in __pthread_cond_wait (cond=0x0, mutex=0xbe9ffa4c) at 
restart.h:36
         self = (struct _pthread_descr_struct * volatile) 0xbe9ffbe0
         extr = {pu_object = 0x843e250, pu_extricate_func = 0x40cc2cf0 
<cond_extricate_func>}
         already_canceled = 0
         spurious_wakeup_count = 0
#4  0x408c8bc1 in QWaitCondition::wait () from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#5  0x0807e944 in QValueListPrivate<QString>::at ()
No symbol table info available.
#6  0x40cc3e03 in pthread_start_thread (arg=0x8445340) at manager.c:300
         default_params = {__sched_priority = 0}
         request = {req_thread = 0x0, req_kind = REQ_CREATE, req_args 
= {create = {attr = 0x0,
       fn = 0, arg = 0x0, mask = {__val = {0 <repeats 22 times>, 
1087171776, 1087162600,
           1087172592, 3198155700, 1087143192, 3198155744, 0, 0, 
1087143326, 0}}}, free = {
       thread_id = 0}, exit = {code = 0}, post = 0x0, for_each = {fn = 
0, arg = 0x0}}}
         outcome = (void *) 0xfffffffc
         tmpclock = 38654705660
#7  0x40cc3e7f in pthread_start_thread_event (arg=0xbe9ffbe0) at manager.c:324
No locals.
---Type <return> to continue, or q <return> to quit---

Thread 9 (Thread 114696 (LWP 32145)):
#0  0x40e288d6 in __libc_nanosleep () from /lib/libc.so.6
No locals.
#1  0xffffffc0 in ?? ()
No symbol table info available.
#2  0x080c57a2 in DBStorage type_info function ()
No symbol table info available.

Thread 8 (Thread 98311 (LWP 32144)):
#0  0x40da1cc1 in do_sigsuspend (set=0xbedff92c) at 
../sysdeps/unix/sysv/linux/sigsuspend.c:50
         resultvar = 4294967292
         saved_errno = 4
#1  0x40da1d89 in *__GI___sigsuspend (set=0x4) at 
../sysdeps/unix/sysv/linux/sigsuspend.c:87
         oldtype = 1089136864
         result = 4
#2  0x40cc6318 in __pthread_wait_for_restart_signal (self=0xbedffbe0) 
at pthread.c:1141
         mask = {__val = {0, 0, 4294967295 <repeats 17 times>, 
1087144174, 4294967295,
     4294967295, 4294967295, 1087142942, 4294967295, 4294967295, 
4294967295, 1087171776,
     3202349644, 0, 3202349508, 1087131082}}
#3  0x40cc2e68 in __pthread_cond_wait (cond=0x0, mutex=0xbedffa4c) at 
restart.h:36
         self = (struct _pthread_descr_struct * volatile) 0xbedffbe0
         extr = {pu_object = 0x843e3e0, pu_extricate_func = 0x40cc2cf0 
<cond_extricate_func>}
         already_canceled = 0
         spurious_wakeup_count = 0
#4  0x408c8bc1 in QWaitCondition::wait () from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#5  0x0807e944 in QValueListPrivate<QString>::at ()
No symbol table info available.
#6  0x40cc3e03 in pthread_start_thread (arg=0x843ece8) at manager.c:300
         default_params = {__sched_priority = 0}
         request = {req_thread = 0x0, req_kind = REQ_CREATE, req_args 
= {create = {attr = 0x0,
       fn = 0, arg = 0x0, mask = {__val = {0 <repeats 22 times>, 
1087171776, 1087162600,
           1087172560, 3202350004, 1087143192, 3202350048, 0, 0, 
1087143326, 0}}}, free = {
       thread_id = 0}, exit = {code = 0}, post = 0x0, for_each = {fn = 
0, arg = 0x0}}}
         outcome = (void *) 0xfffffffc
         tmpclock = 38654705660
#7  0x40cc3e7f in pthread_start_thread_event (arg=0xbedffbe0) at manager.c:324
No locals.

Thread 7 (Thread 81926 (LWP 32143)):
#0  0x40da1cc1 in do_sigsuspend (set=0xbefff92c) at 
../sysdeps/unix/sysv/linux/sigsuspend.c:50
         resultvar = 4294967292
         saved_errno = 4
#1  0x40da1d89 in *__GI___sigsuspend (set=0x4) at 
../sysdeps/unix/sysv/linux/sigsuspend.c:87
         oldtype = 1089136864
         result = 4
#2  0x40cc6318 in __pthread_wait_for_restart_signal (self=0xbefffbe0) 
at pthread.c:1141
         mask = {__val = {0, 0, 4294967295 <repeats 17 times>, 
1087144174, 4294967295,
     4294967295, 4294967295, 1087142942, 4294967295, 4294967295, 
4294967295, 1087171776,
     3204446796, 0, 3204446660, 1087131082}}
#3  0x40cc2e68 in __pthread_cond_wait (cond=0x0, mutex=0xbefffa4c) at 
restart.h:36
---Type <return> to continue, or q <return> to quit---
         self = (struct _pthread_descr_struct * volatile) 0xbefffbe0
         extr = {pu_object = 0x843df18, pu_extricate_func = 0x40cc2cf0 
<cond_extricate_func>}
         already_canceled = 0
         spurious_wakeup_count = 0
#4  0x408c8bc1 in QWaitCondition::wait () from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#5  0x0807e944 in QValueListPrivate<QString>::at ()
No symbol table info available.
#6  0x40cc3e03 in pthread_start_thread (arg=0x84453f0) at manager.c:300
         default_params = {__sched_priority = 0}
         request = {req_thread = 0x0, req_kind = REQ_CREATE, req_args 
= {create = {attr = 0x0,
       fn = 0, arg = 0x0, mask = {__val = {0 <repeats 22 times>, 
1087171776, 1087162600,
           1087172544, 3204447156, 1087143192, 3204447200, 0, 0, 
1087143326, 0}}}, free = {
       thread_id = 0}, exit = {code = 0}, post = 0x0, for_each = {fn = 
0, arg = 0x0}}}
         outcome = (void *) 0xfffffffc
         tmpclock = 38654705660
#7  0x40cc3e7f in pthread_start_thread_event (arg=0xbefffbe0) at manager.c:324
No locals.

Thread 6 (Thread 65541 (LWP 32142)):
#0  0x40da1cc1 in do_sigsuspend (set=0xbf1ff92c) at 
../sysdeps/unix/sysv/linux/sigsuspend.c:50
         resultvar = 4294967292
         saved_errno = 4
#1  0x40da1d89 in *__GI___sigsuspend (set=0x4) at 
../sysdeps/unix/sysv/linux/sigsuspend.c:87
         oldtype = 1089136864
         result = 4
#2  0x40cc6318 in __pthread_wait_for_restart_signal (self=0xbf1ffbe0) 
at pthread.c:1141
         mask = {__val = {0, 0, 0, 262742500, 3206543836, 1077039104, 
1077039104, 25,
     1087110488, 1077039712, 1073832292, 134567528, 3206543868, 
1073770819, 134567528,
     95887388, 134538652, 3206543844, 1073832216, 1087144174, 1, 0, 1, 
1087142942, 3206543980,
     1073831248, 1095632568, 1087171776, 3206543948, 0, 3206543812, 1087131082}}
#3  0x40cc2e68 in __pthread_cond_wait (cond=0x0, mutex=0xbf1ffa4c) at 
restart.h:36
         self = (struct _pthread_descr_struct * volatile) 0xbf1ffbe0
         extr = {pu_object = 0x843d8b0, pu_extricate_func = 0x40cc2cf0 
<cond_extricate_func>}
         already_canceled = 0
         spurious_wakeup_count = 0
#4  0x408c8bc1 in QWaitCondition::wait () from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#5  0x0807e944 in QValueListPrivate<QString>::at ()
No symbol table info available.
#6  0x40cc3e03 in pthread_start_thread (arg=0x84451e0) at manager.c:300
         default_params = {__sched_priority = 0}
         request = {req_thread = 0x0, req_kind = REQ_CREATE, req_args 
= {create = {attr = 0x0,
       fn = 0, arg = 0x0, mask = {__val = {0 <repeats 22 times>, 
1087171776, 1087162600,
           1087172528, 3206544308, 1087143192, 3206544352, 0, 0, 
1087143326, 0}}}, free = {
       thread_id = 0}, exit = {code = 0}, post = 0x0, for_each = {fn = 
0, arg = 0x0}}}
         outcome = (void *) 0xfffffffc
         tmpclock = 38654705660
#7  0x40cc3e7f in pthread_start_thread_event (arg=0xbf1ffbe0) at manager.c:324
---Type <return> to continue, or q <return> to quit---
No locals.

Thread 5 (Thread 49156 (LWP 32141)):
#0  0x40e288d6 in __libc_nanosleep () from /lib/libc.so.6
No locals.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 4 (Thread 32771 (LWP 32140)):
#0  0x40e288d6 in __libc_nanosleep () from /lib/libc.so.6
No locals.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 3 (Thread 16386 (LWP 32139)):
#0  0x40e288d6 in __libc_nanosleep () from /lib/libc.so.6
No locals.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 32769 (LWP 32138)):
#0  0x40e50e82 in loser_poll (fds=0x84473fc, nfds=1, timeout=2000) at 
../sysdeps/unix/sysv/linux/poll.c:51
         resultvar = 4294967292
         errno_saved = 4
         must_emulate = 0
#1  0x40e50f4e in *__GI___poll (fds=0x84473fc, nfds=138703868, 
timeout=2000) at ../sysdeps/unix/sysv/linux/poll.c:78
         oldtype = 0
         result = 2000
#2  0x40cc3afe in __pthread_manager (arg=0xc9) at manager.c:145
         reqfd = 138703868
         ufd = {fd = 10, events = 1, revents = 0}
         manager_mask = {__val = {4294967279, 4294967294, 4294967295 
<repeats 30 times>}}
         n = 2000
         request = {req_thread = 0xbebffbe0, req_kind = REQ_FREE, 
req_args = {create = {
       attr = 0x5c018, fn = 0x40cc80ee <__pthread_alt_unlock+14>, arg 
= 0x408f91a1, mask = {
         __val = {1087037932, 3200252132, 1088355502, 3200252204, 0, 
0, 1087171776, 1089128704,
           138752080, 3200252116, 1087131082, 1089128720, 16, 
1089128704, 1089125528,
           1089125528, 1089128704, 3200252148, 1088352047, 1089128704, 
12, 3200252212,
           1087706640, 12, 138768776, 3200252196, 1087592457, 12, 16, 
1089128704, 1087592429,
           138764248}}}, free = {thread_id = 376856}, exit = {code = 
376856}, post = 0x5c018,
     for_each = {fn = 0x5c018, arg = 0x40cc80ee}}}
#3  0x40cc3cf7 in __pthread_manager_event (arg=0x40ccc4c0) at manager.c:242
No locals.

Thread 1 (Thread 16384 (LWP 32130)):
#0  0x40e53561 in __select () from /lib/libc.so.6
No locals.
#1  0x40cae1ec in QMotifStyle virtual table () from 
/usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#2  0x405f0a4e in QEventLoop::enterLoop () from /usr/local/qt/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No locals.

Thread 5 (Thread 49156 (LWP 32141)):
#0  0x40e288d6 in __libc_nanosleep () from /lib/libc.so.6
No locals.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 4 (Thread 32771 (LWP 32140)):
#0  0x40e288d6 in __libc_nanosleep () from /lib/libc.so.6
No locals.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 3 (Thread 16386 (LWP 32139)):
#0  0x40e288d6 in __libc_nanosleep () from /lib/libc.so.6
No locals.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 32769 (LWP 32138)):
#0  0x40e50e82 in loser_poll (fds=0x84473fc, nfds=1, timeout=2000) at 
../sysdeps/unix/sysv/linux/poll.c:51
         resultvar = 4294967292
         errno_saved = 4
         must_emulate = 0
#1  0x40e50f4e in *__GI___poll (fds=0x84473fc, nfds=138703868, 
timeout=2000) at ../sysdeps/unix/sysv/linux/poll.c:78
         oldtype = 0
         result = 2000
#2  0x40cc3afe in __pthread_manager (arg=0xc9) at manager.c:145
         reqfd = 138703868
         ufd = {fd = 10, events = 1, revents = 0}
         manager_mask = {__val = {4294967279, 4294967294, 4294967295 
<repeats 30 times>}}
         n = 2000
         request = {req_thread = 0xbebffbe0, req_kind = REQ_FREE, 
req_args = {create = {
       attr = 0x5c018, fn = 0x40cc80ee <__pthread_alt_unlock+14>, arg 
= 0x408f91a1, mask = {
         __val = {1087037932, 3200252132, 1088355502, 3200252204, 0, 
0, 1087171776, 1089128704,
           138752080, 3200252116, 1087131082, 1089128720, 16, 
1089128704, 1089125528,
           1089125528, 1089128704, 3200252148, 1088352047, 1089128704, 
12, 3200252212,
           1087706640, 12, 138768776, 3200252196, 1087592457, 12, 16, 
1089128704, 1087592429,
           138764248}}}, free = {thread_id = 376856}, exit = {code = 
376856}, post = 0x5c018,
     for_each = {fn = 0x5c018, arg = 0x40cc80ee}}}
#3  0x40cc3cf7 in __pthread_manager_event (arg=0x40ccc4c0) at manager.c:242
No locals.

Thread 1 (Thread 16384 (LWP 32130)):
#0  0x40e53561 in __select () from /lib/libc.so.6
No locals.
#1  0x40cae1ec in QMotifStyle virtual table () from 
/usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#2  0x405f0a4e in QEventLoop::enterLoop () from /usr/local/qt/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#3  0x405f09ab in QEventLoop::exec () from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#4  0x405de1ae in QApplication::exec () from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#5  0x080672e9 in QValueListPrivate<QString>::at ()
No symbol table info available.
#6  0x40d8dca6 in __libc_start_main (main=0x80659b4 
<QValueListPrivate<QString>::at(unsigned int) const+1620>, argc=1, 
ubp_av=0xbffff8e8, init=0x829cda0 <XineramaQueryScreens+18492>, 
fini=0x829cdd0 <XineramaQueryScreens+18540>, rtld_fini=0xbffff8d8, 
stack_end=0x843f1f4) at ../sysdeps/generic/libc-start.c:152
         ubp_ev = (char **) 0x843f1f4
         result = -514
#0  0x40df5cdc in memcpy () from /lib/libc.so.6
(gdb)



More information about the mythtv-dev mailing list