[mythtv] Seg Fault on HEAD build under win32

buzz davidbuzz at gmail.com
Tue May 20 00:25:59 UTC 2008


Nice work so far, clearly you have way more time than the rest of us!
....    :-)

I'd look at this 'const' declaration suspiciously, and in the context
of the error we are having here, I'd think  that if any of the three
variables inside the const could actually be a pointer to a variable
in a/another .dll, then that's probably where the issue lies, then the
'const' keyword needs to be removed from here, supposedly.  (untested
theory only).

if we are really "doing lots of reference to the object", then we can
expect lots of segfaults   :-)

I wonder why QT3 builds didn't suffer from this problem?

Buzz.


On Mon, May 19, 2008 at 8:36 PM, Arnon Meshoulam (arnonm)
<arnonm at gmail.com> wrote:
> I have been using OllyDbg to look at the code. Culpruit seems to be libmyth.
> I am still working through the loading steps but there is a constant
> segfault with MythDialog16staticMetaObject.
> We seem to be doing lots of reference to the object, such as:
>
> const QMetaObject RecOptDialog::staticMetaObject = {
>     { &MythDialog::staticMetaObject, qt_meta_stringdata_RecOptDialog,
>       qt_meta_data_RecOptDialog, 0 }
> };
> but it is getting beyond my depth.
>
> Arnon
>
>
> On 5/18/08, Arnon Meshoulam (arnonm) <arnonm at gmail.com> wrote:
>>
>> I gave 16790 a try, with same results. Had to make two or three code
>> changes to get it to compile (later patches) and lots of dll renaming, but
>> end result is the same - exe segfault with "Can't Initialize properly".
>> Arnon
>>
>> On 5/17/08, Nigel Pearson <nigel at ind.tansu.com.au> wrote:
>>>>
>>>> Back to 17140 without success..
>>>> Did we ever have a working QT4 version?
>>>
>>>
>>> I seem to recall 16790, but that VM image is long gone,
>>> so that may not even be in the current branch (trunk).
>>>
>>> --
>>> Nigel Pearson, nigel at ind.tansu.com.au|The weak point of
>>> Telstra Net. Eng., Sydney, Australia | the modern car is
>>> Office: 9202 3900    Fax:  9261 3912 | the squidgy organic
>>> Mobile: 0408 664435  Home: 9792 6998 | bit behind the wheel.
>>>
>>
>
>


More information about the mythtv-dev mailing list