Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Streamdev 0.3.1 and vdr 1.3.6



Hello Andreas,

I've had basically the same problem: now with the patch you supplied, i can actually compile the 2 libraries fine,
but when i try to start the server it segfaults immediately ( starting the client library is ok, and without "-P streamdev-server",
vdr doesn't segfault and works just fine)

# ./vdr -l 3 -c /video-VDR-DEVEL -v /video00 -P streamdev-server -w 20
Segmentation fault (core dumped)

# gdb vdr core.2595
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...
Core was generated by `./vdr -l 3 -c /video-VDR-DEVEL -v /video00 -P streamdev-server -w 20'.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can't read pathname for load map: Input/output error

Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from ./PLUGINS/lib/libvdr-streamdev-server.so.1.3.6...done.
Loaded symbols for ./PLUGINS/lib/libvdr-streamdev-server.so.1.3.6
#0  0x40045e9a in pthread_setschedparam () from /lib/tls/libpthread.so.0
(gdb) 

Here is the end of an strace -f:

# strace -f ./vdr -l 3 -c /video-VDR-DEVEL -v /video00 -P streamdev-server -w 20

[pid  3127] stat64("/video-VDR-DEVEL", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  3127] stat64("/video-VDR-DEVEL/plugins", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid  3127] access("/video-VDR-DEVEL/plugins/streamdevhosts.conf", F_OK) = 0
[pid  3127] time([1080573535])          = 1080573535
[pid  3127] getpid()                    = 3127
[pid  3127] rt_sigaction(SIGPIPE, {0x4020e7e0, [], 0}, {SIG_DFL}, 8) = 0
[pid  3127] send(3, "<14>Mar 29 17:18:55 vdr[3127]: l"..., 83, 0) = 83
[pid  3127] rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
[pid  3127] open("/video-VDR-DEVEL/plugins/streamdevhosts.conf", O_RDONLY) = 17
[pid  3127] fstat64(17, {st_mode=S_IFREG|0644, st_size=262, ...}) = 0
[pid  3127] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x412ae000
[pid  3127] read(17, "#\n# streamdevhosts  This file de"..., 4096) = 262
[pid  3127] read(17, "", 4096)          = 0
[pid  3127] close(17)                   = 0
[pid  3127] munmap(0x412ae000, 4096)    = 0
[pid  3127] mmap2(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x412ae000
[pid  3127] mprotect(0x412ae000, 4096, PROT_NONE) = 0
[pid  3127] clone(Process 3131 attached
child_stack=0x41aadb48, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED, parent_tidptr=0x41aadbf8, {entry_number:6, base_addr:0x41aadbb0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0x41aadbf8) = 3131
[pid  3131] getpid()                    = 3127
[pid  3131] time([1080573535])          = 1080573535
[pid  3131] getpid()                    = 3127
[pid  3131] rt_sigaction(SIGPIPE, {0x4020e7e0, [], 0}, {SIG_DFL}, 8) = 0
[pid  3131] send(3, "<15>Mar 29 17:18:55 vdr[3127]: S"..., 90, 0) = 90
[pid  3131] rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
[pid  3131] time([1080573535])          = 1080573535
[pid  3131] getpid()                    = 3127
[pid  3131] rt_sigaction(SIGPIPE, {0x4020e7e0, [], 0}, {SIG_DFL}, 8) = 0
[pid  3131] send(3, "<11>Mar 29 17:18:55 vdr[3127]: S"..., 82, 0) = 82
[pid  3131] rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
[pid  3131] getpid()                    = 3127
[pid  3131] time([1080573535])          = 1080573535
[pid  3131] getpid()                    = 3127
[pid  3131] rt_sigaction(SIGPIPE, {0x4020e7e0, [], 0}, {SIG_DFL}, 8) = 0
[pid  3131] send(3, "<15>Mar 29 17:18:55 vdr[3127]: S"..., 88, 0) = 88
[pid  3131] rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
[pid  3131] _exit(0)                    = ?
Process 3131 detached
[pid  3127] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
[pid  3129] <... futex resumed> )       = -1 EINTR (Interrupted system call)
[pid  3130] <... poll resumed> 0x412aca54, 0, 1000
) = -1 EINTR (Interrupted system call)
[pid  3129] +++ killed by SIGSEGV (core dumped) +++
PANIC: handle_group_exit: 3129 leader 3127
Process 3130 attached (waiting for parent)
[pid  3127] +++ killed by SIGSEGV (core dumped) +++
Process 3130 detached


Install is made from vanilla vdr 1.3.6 with no other single patch nor plugin, only streamdev 0.3.1.
(i switched from vdr 1.2.6/streamdev 0.2.0/kernel 2.4/DVB HEAD where i had it working fine).
Hardware is TT DVB-S Rev 1.3, vanilla 2.6.5-rc2. OS is Debian Sid , latest packages.

Any help is welcome :)

Thanks,

Philippe


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index