[mythtv] Ticket #2762: Missing define for "dvb_fe_caps_extended extinfo" in libmythtv/dvbchannel.h

Mark Buechler mark.buechler at gmail.com
Sat Dec 2 22:50:04 UTC 2006


Compile failure attached. The dvb version I'm using is mercurial as of June
23 2006 with the necessary DVB-S2/8PSK patches installed. Those patches I've
attached to the ticket. I can provide the tree if you need it but I think
it's something really simple and overlooked when several methods were split
out into DTVChannel.

The patch for the extinfo define is simply (patch attached):

--- dvbchannel.h.orig   2006-12-02 17:42:41.000000000 -0500
+++ dvbchannel.h        2006-12-02 16:07:18.000000000 -0500
@@ -101,6 +101,9 @@ class DVBChannel : public DTVChannel
     DTVMultiplex      desired_tuning;
     /// Last tuning options Tune() succesfully sent to hardware
     DTVMultiplex      prev_tuning;
+#ifdef FE_GET_EXTENDED_INFO
+    dvb_fe_caps_extended extinfo;  ///< Additional info on tuning hardware
+#endif

     uint              tuning_delay;///< Extra delay to add for broken
drivers
     uint              sigmon_delay;///< Minimum delay between FE_LOCK
checks

But it looks like to me you probably want that defined in
dvbchannel.cpprather than the header since the normal frontend info
define is there as
well.

The first bt I attached was after the above patch was applied. I tested
several times, everytime a segfault in the same place. The second bt is with
QMutexLocker commented out in DTVChannel::SetSiStandard().

Hope this help.

- Mark.

On 12/2/06, Daniel Kristjansson <danielk at cuymedia.net> wrote:
>
> On Sat, 2006-12-02 at 17:12 -0500, Mark Buechler wrote:
> > I suspect there's more to this than just a missing define.. the old
> > way of getting frontend into has changed and it looks like extended
> > info hasn't been changed with it. When I start the backend it
> > segfaults shortly after DTVChannel::SetSIStandard setting a QMutex
> > lock.
>
> Can you attach a log of the compile failure? Also what headers are
> you using? (kernel? if so what is the kernel version?, mercurial?
> if so which revision? system? if so what version?) Also have you
> applied the DVB-S2 patch or is this being used without the patch
> being applied? Can you attach the patch if you used it to the ticket?
> I want to make sure to test with the same revision you are using.
>
> Also, what change did you make to get it to compile? (I assume you
> got it to compile since you got a segfault :) Please attach a patch
> with the changes you made plus a copy of the backtrace, that should
> get me started.
>
> -- Daniel
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20061202/5bc67e74/attachment.htm 


More information about the mythtv-dev mailing list