[mythtv-commits] Ticket #13465: mythtv-setup rewrites all capturecard.videodevice to /dev/dvb/adapter0/frontend0
MythTV
noreply at mythtv.org
Sat Aug 17 16:01:07 UTC 2019
#13465: mythtv-setup rewrites all capturecard.videodevice to
/dev/dvb/adapter0/frontend0
---------------------------------------------+-----------------------------
Reporter: abrossard | Owner: Klaas de
| Waal
Type: Bug Report - General | Status: assigned
Priority: minor | Milestone:
| needs_triage
Component: MythTV - Mythtv-setup | Version: Master Head
Severity: medium | Resolution:
Keywords: mythtv-setup 0.29, 0.30, master | Ticket locked: 0
---------------------------------------------+-----------------------------
Comment (by Klaas de Waal):
The memory access errors leading to a segmentation fault can be reliably
created by the following sequence:
- select 2. Capture cards
- select (New capture card)
- Select New capture card
- Select DVB-S satellite card
- Select DiSEqC (Switch LNB and Rotor Confguration)
- Select LNB as Device Type
- Save then Exit
- select 2. Capture cards
- Select the same DVB-S satellite card created earlier
- Change DVB device to a device that is not a DVB-S card
- Save then Exit
When running with valgrind, an impressive amount of valgrind errors appear
now about memory that is accessed after it is free'ed.
If valgrind is not running there is often a segmentation fault now.
This is now temporarily fixed by not deleting the structure that is
mentioned in the valgrind messages. This does create a minor memory leak
but as this code is only used in mythtv-setup that is of little
consequence, and a memory leak is better then a segmentation fault.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13465#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list