Skip to content

Core dump when 2 Hauppauge WinTV-dualHD #10

@Papafelice

Description

@Papafelice

I just added a second Hauppauge Dual DVB-T USB stick and now upon startup vnsiserver crashes with a core dump.
It does not crash when only either-one stick is plugged in.

Setup:
Suse Leap 64bit, CPU: AMD Ryzen 5 8600G w/ Radeon 760M Graphics, VDR 2.7.7 with dynamite plugin patches.
Kodi Media Center 21.3 (21.3.0) Git:20251031-20251031-a3a448d

This is the output when I load the core into gdb:

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.opensuse.org/>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/local/bin/vdr -c /etc/vdr -l 3 -P live -P dynamite\ -u -P vnsiserver\ -d -P vdrmanager\ -P\ 4444 -u htpc -v /video/VIDEOS -w 90'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  cDvbTuner::ProvidesDeliverySystem (this=0x0, DeliverySystem=DeliverySystem@entry=3) at /home/htpc/SETUP/VDR/vdr-2.7.7/tools.h:754
754       int Size(void) const { return size; }
--Type <RET> for more, q to quit, c to continue without paging--
[Current thread is 1 (Thread 0x7fbd0effd6c0 (LWP 1612))]
(gdb) where
#0  cDvbTuner::ProvidesDeliverySystem (this=0x0, DeliverySystem=DeliverySystem@entry=3) at /home/htpc/SETUP/VDR/vdr-2.7.7/tools.h:754
#1  0x00000000004b9208 in cDvbDevice::ProvidesDeliverySystem (this=0x7fbd080022f0, DeliverySystem=3) at dvbdevice.c:2312
#2  cDvbDevice::ProvidesSource (this=0x7fbd080022f0, Source=<optimized out>) at dvbdevice.c:2322
#3  cDvbDevice::ProvidesTransponder (this=0x7fbd080022f0, Channel=0x3a72b460) at dvbdevice.c:2327
#4  0x00000000004b84b4 in cDvbDevice::ProvidesChannel (this=0x7fbd080022f0, Channel=0x3a72b460, Priority=0, NeedsDetachReceivers=0x7fbd0effc68f) at dvbdevice.c:2345
#5  0x00000000004aaeae in cDevice::GetDevice (Channel=<optimized out>, Priority=<optimized out>, LiveView=LiveView@entry=true, Query=Query@entry=true) at device.c:332
#6  0x00007fbd36d4f485 in cLiveStreamer::Open (this=this@entry=0x7fbcf4000e10, serial=serial@entry=-1) at streamer.c:86
#7  0x00007fbd36d4fea2 in cLiveStreamer::StreamChannel (this=this@entry=0x7fbcf4000e10, channel=channel@entry=0x3a72b460, priority=priority@entry=0, Socket=Socket@entry=0x7fbd2000a758, 
    resp=resp@entry=0x7fbd0effcd80) at streamer.c:370
#8  0x00007fbd36d3a77b in cVNSIClient::StartChannelStreaming (this=this@entry=0x7fbd2000a210, resp=..., channel=channel@entry=0x3a72b460, priority=priority@entry=0, 
    timeshift=timeshift@entry=1 '\001', timeout=timeout@entry=10) at /usr/include/c++/15/bits/unique_ptr.h:192
#9  0x00007fbd36d3db78 in cVNSIClient::processChannelStream_Open (this=0x7fbd2000a210, req=...) at vnsiclient.c:862
#10 0x00007fbd36d4594b in non-virtual thunk to cVNSIClient::visit(cRequestPacket&) () at /home/htpc/SETUP/VDR/vdr-plugin-vnsiserver.277/vnsiclient.h:91
#11 0x00007fbd36d3b7be in cVNSIClient::Action (this=0x7fbd2000a210) at vnsiclient.c:103
#12 0x00000000005554a7 in cThread::StartThread (Thread=0x7fbd2000a210) at thread.c:294
#13 0x00007fbd3789bdf1 in start_thread (arg=<optimized out>) at pthread_create.c:448
#14 0x00007fbd37920c8c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

The line "754 int Size(void) const { return size; }" uses no pointer, so I assume the object refence is void.
Any hints where I should start looking for the error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions