Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

segmentation fault in 21-fixes, libqt-mt.so.3

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


ikke at iki

Apr 10, 2008, 1:28 PM

Post #1 of 13 (2110 views)
Permalink
segmentation fault in 21-fixes, libqt-mt.so.3

Hei,

I recently updated my mythtv 21-fixes svn version from couple weeks
old to up to date. One major change for me was updated finnish
translations. Now it crashes if I try to enter livetv or press watch
recorded shows menu.

Any ideas what's the problem? As attachement there is backtrace of
debug build, and here is some system info:

Up to date ubuntu Gutsy
Svn build now

Please include all output in bug reports.
MythTV Version : 17013M
MythTV Branch : branches/release-0-21-fixes
Library API : 0.21.20080304-1
Network Protocol : 40
Options compiled in:
linux debug using_alsa using_backend using_dvb using_firewire
using_frontend using_lirc using_v4l using_x11 using_xrandr using_xv
using_xvmc using_xvmcw using_xvmc_vld using_bindings_perl
using_bindings_python using_opengl using_ffmpeg_threads
using_libavc_5_3


Only modifications to svn are:

configure script test error which is fixed in trunk (== -> = near
xvmcnvidia lines)
contrib/icons/fi_icons_xmltvids/lookup.txt updated
mythgallery/mythgallery/constants.h some more video types added
Attachments: myth-kaatuu.txt (19.4 KB)


mtdean at thirdcontact

Apr 12, 2008, 9:17 AM

Post #2 of 13 (2044 views)
Permalink
Re: segmentation fault in 21-fixes, libqt-mt.so.3 [In reply to]

On 04/10/2008 04:28 PM, ikke wrote:
> I recently updated my mythtv 21-fixes svn version from couple weeks
> old to up to date. One major change for me was updated finnish
> translations. Now it crashes if I try to enter livetv or press watch
> recorded shows menu.

Broken OSD theme? Try changing the OSD theme and/or uninstalling (then
deleting directories from) and re-installing OSD themes.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


ikke at iki

Apr 12, 2008, 1:06 PM

Post #3 of 13 (2033 views)
Permalink
Re: segmentation fault in 21-fixes, libqt-mt.so.3 [In reply to]

> Broken OSD theme? Try changing the OSD theme and/or uninstalling (then
> deleting directories from) and re-installing OSD themes.
>

Thanks for the tip. I tried setting osd theme to default, but no help.
Actually I found out something that would help me further. If I don't
compile along any plugins, it works fine. Right after doing make
install for plugins, it starts segfaulting.

I have wondered this couple evenings now. I did try month old version
which must have worked for me before. I did do all: clean, distclean,
ccache -c -C and cleaned all files away from source directory that
don't come from svn. Still fails.

Also tried with no proc-ops. No help.

I recall there was an option to start it with certain plugins
disabled. I need to start now trying to find out which one breaks it.
Weird that no-one else seems to complain anything similar recently.
Some upgrade in Ubuntu has probably broken my system.

Would I dare to make ticket about this? I guess it won't help if
no-one else is experiencing this.

Here's my current configures:

-----------------------------------------
$ ./configure --prefix=/usr/local --enable-dvb --enable-xvmc
--enable-xvmc-opengl --disable-opengl-vsync --disable-audio-oss
--disable-audio-arts --disable-audio-jack --disable-joystick-menu
--disable-dbox2 --disable-hdhomerun --disable-ivtv --disable-iptv
--with-bindings=perl --enable-proc-opt --disable-distcc
--disable-ccache --compile-type=release
Disabling XvMC-opengl. It is only available when linking against libXvMCNIVIDIA
# Basic Settings
Compile type release
Compiler cache no
DistCC no
install prefix /usr/local
CPU x86_64 (model name : Intel(R) Core(TM)2
Duo CPU E6750 @ 2.66GHz)
big-endian no
MMX enabled yes
CMOV enabled yes
CMOV is fast no

# Input Support
Joystick menu no
lirc support yes
Video4Linux sup. yes
ivtv support no
FireWire support yes
DVB support yes [/usr/include]
DBox2 support no
HDHomeRun support no
IPTV support no

# Sound Output Support
OSS support no
ALSA support yes
aRts support no
JACK support no
libfftw3 support no

# Video Output Support
x11 support yes
xrandr support yes
xv support yes
XvMC support yes
XvMC VLD support yes
XvMC pro support no
XvMC OpenGL sup. no
XvMC libs -lXvMCW
OpenGL video no
OpenGL vsync no
DirectFB no
Fribidi formatting no

# Misc Features
multi threaded libavcodec yes
Frontend yes
Backend yes

# Bindings
bindings_perl yes
bindings_python yes

Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak

WARNING: When using --enable-proc-opt you must include the
output of ./configure along with any bug report.

libs/libmyth/mythconfig.h is unchanged

-----------------------------------------


and for plugins:

-----------------------------------------
$ ./configure --previousOptions: --disable-mythzoneminder
--disable-mythflix --disable-mythnews --enable-aac --disable-mythphone
--disable-mythgame --disable-mythbrowser Configuration settings:
MythArchive plugin will be built
MythBrowser plugin will not be built
MythControls plugin will be built
MythFlix plugin will not be built
MythGallery plugin will be built
MythGame plugin will not be built
MythMusic plugin will be built
MythNews plugin will not be built
MythPhone plugin will not be built
MythVideo plugin will be built
MythWeather plugin will be built
MythZoneMinder plugin will not be built
MythMovies plugin will be built
DVD creation support will be included in MythArchive
Native Archive support will be included in MythArchive
OpenGL support will be included in MythGallery
EXIF support will be included in MythGallery
OpenGL support will be included in MythMusic
libvisual support will be included in MythMusic
FFTW v.2 support will be included in MythMusic
SDL support will be included in MythMusic
AAC support will be included in MythMusic
-----------------------------------------
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Apr 12, 2008, 1:21 PM

Post #4 of 13 (2027 views)
Permalink
Re: segmentation fault in 21-fixes, libqt-mt.so.3 [In reply to]

On 04/12/2008 04:06 PM, ikke wrote:
> If I don't
> compile along any plugins, it works fine. Right after doing make
> install for plugins, it starts segfaulting.

Sounds like one or more of the plugin shared objects is incompatible
(i.e. garbage left from a previous install or you've checked out
differing versions of SVN because you didn't follow the instructions in
the HOWTO: http://mythtv.org/docs/mythtv-HOWTO-5.html#ss5.4 ).

> Would I dare to make ticket about this? I guess it won't help if
> no-one else is experiencing this.
>

Tickets are for bugs, not help requests. :) In other words, until you
find a bug (i.e. you've proven Myth's code is wrong) as opposed to a
/symptom/ of what could be a bug or a configuration issue or ..., a
ticket won't help.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


ikke at iki

Apr 12, 2008, 2:05 PM

Post #5 of 13 (2021 views)
Permalink
Re: segmentation fault in 21-fixes, libqt-mt.so.3 [In reply to]

On Sat, Apr 12, 2008 at 11:21 PM, Michael T. Dean
<mtdean [at] thirdcontact> wrote:
> On 04/12/2008 04:06 PM, ikke wrote:
> > If I don't
> > compile along any plugins, it works fine. Right after doing make
> > install for plugins, it starts segfaulting.
>
> Sounds like one or more of the plugin shared objects is incompatible
> (i.e. garbage left from a previous install or you've checked out
> differing versions of SVN because you didn't follow the instructions in
> the HOWTO: http://mythtv.org/docs/mythtv-HOWTO-5.html#ss5.4 ).

I don't know what I would be doing wrong. I'm not all new to svn, I've
used it for years. Same goes for mythtv, I've used trunk for years.
All directories (mythplugins, myththemes, mythtv, themes) are at the
same level (currently 17023). Svn status shows there is no garbage. So
does find . -name '*.o' -o -name '*.so*'. I have disabled ccache with
compile option, and even deleted the directory .ccache. I don't know
what else garbage could it keep.

I do sudo make uninstall for all directories and make distclean and
make clean between the different tries. I've checked there is no crap
under /usr/local.

I tried briefly starting mythtvfrontend <plugin name> to test only
plugins, they also fail. Others immediately, other only after entering
some menu. And still, if plugins are not installed, it works.

Still with plugins installed and pressing LiveTV I keep ending up to :

Program terminated with signal 11, Segmentation fault.
#0 0x00002aeaf5a20b22 in QGArray::QGArray () from /usr/lib/libqt-mt.so.3
(gdb) bt
#0 0x00002aeaf5a20b22 in QGArray::QGArray () from /usr/lib/libqt-mt.so.3
#1 0x00002aeaf133950f in QMemArray (this=0x7fffb9e63430, a=@0x0)
at /usr/include/qt3/qmemarray.h:60
#2 0x00002aeaf5733018 in QTranslator::findMessage ()
from /usr/lib/libqt-mt.so.3
#3 0x00002aeaf56e39fd in QApplication::translate ()
from /usr/lib/libqt-mt.so.3
#4 0x00002aeaf5ab3f22 in QObject::tr () from /usr/lib/libqt-mt.so.3
#5 0x00002aeaf11b4daa in ProgramInfo::ToMap (this=0xa1fd90,
progMap=@0x2aaab81ec668, showrerecord=false) at programinfo.cpp:554
#6 0x00002aeaf143305e in TV::UpdateOSDSignal (this=0x2aaab81ec290,
strlist=@0x7fffb9e64e00) at tv_play.cpp:5330


Now the theme is default, and OSD theme is default (I assume it if any
should work).

> Tickets are for bugs, not help requests. :)

That's how I've understood it too, so keeping it on the mailing lists...
Thanks Michael for answering!
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mythtv at dsl

Apr 12, 2008, 3:08 PM

Post #6 of 13 (2020 views)
Permalink
Re: segmentation fault in 21-fixes, libqt-mt.so.3 [In reply to]

ikke wrote:
> On Sat, Apr 12, 2008 at 11:21 PM, Michael T. Dean
> <mtdean [at] thirdcontact> wrote:
>
>> On 04/12/2008 04:06 PM, ikke wrote:
>> > If I don't
>> > compile along any plugins, it works fine. Right after doing make
>> > install for plugins, it starts segfaulting.
>>
>> Sounds like one or more of the plugin shared objects is incompatible
>> (i.e. garbage left from a previous install or you've checked out
>> differing versions of SVN because you didn't follow the instructions in
>> the HOWTO: http://mythtv.org/docs/mythtv-HOWTO-5.html#ss5.4 ).
>>
>
> I don't know what I would be doing wrong. I'm not all new to svn, I've
> used it for years. Same goes for mythtv, I've used trunk for years.
> All directories (mythplugins, myththemes, mythtv, themes) are at the
> same level (currently 17023). Svn status shows there is no garbage. So
> does find . -name '*.o' -o -name '*.so*'. I have disabled ccache with
> compile option, and even deleted the directory .ccache. I don't know
> what else garbage could it keep.
>
> I do sudo make uninstall for all directories and make distclean and
> make clean between the different tries. I've checked there is no crap
> under /usr/local.
>
> I tried briefly starting mythtvfrontend <plugin name> to test only
> plugins, they also fail. Others immediately, other only after entering
> some menu. And still, if plugins are not installed, it works.
>
> Still with plugins installed and pressing LiveTV I keep ending up to :
>
> Program terminated with signal 11, Segmentation fault.
> #0 0x00002aeaf5a20b22 in QGArray::QGArray () from /usr/lib/libqt-mt.so.3
> (gdb) bt
> #0 0x00002aeaf5a20b22 in QGArray::QGArray () from /usr/lib/libqt-mt.so.3
> #1 0x00002aeaf133950f in QMemArray (this=0x7fffb9e63430, a=@0x0)
> at /usr/include/qt3/qmemarray.h:60
> #2 0x00002aeaf5733018 in QTranslator::findMessage ()
> from /usr/lib/libqt-mt.so.3
> #3 0x00002aeaf56e39fd in QApplication::translate ()
> from /usr/lib/libqt-mt.so.3
> #4 0x00002aeaf5ab3f22 in QObject::tr () from /usr/lib/libqt-mt.so.3
> #5 0x00002aeaf11b4daa in ProgramInfo::ToMap (this=0xa1fd90,
> progMap=@0x2aaab81ec668, showrerecord=false) at programinfo.cpp:554
> #6 0x00002aeaf143305e in TV::UpdateOSDSignal (this=0x2aaab81ec290,
> strlist=@0x7fffb9e64e00) at tv_play.cpp:5330
>
>
> Now the theme is default, and OSD theme is default (I assume it if any
> should work).
>
>
>> Tickets are for bugs, not help requests. :)
>>
>
> That's how I've understood it too, so keeping it on the mailing lists...
> Thanks Michael for answering!
>
>

Looks like it could be a bad translation file.

What language are you using ?

Does using English work OK?

Paul H.



_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


ikke at iki

Apr 13, 2008, 6:18 AM

Post #7 of 13 (2025 views)
Permalink
Re: segmentation fault in 21-fixes, libqt-mt.so.3 [In reply to]

On Sun, Apr 13, 2008 at 1:08 AM, Paul Harrison <mythtv [at] dsl> wrote:
> Looks like it could be a bad translation file.
>
> What language are you using ?
>
> Does using English work OK?


Thanks, that did it! Dumb me, I though of that also while seeing the
translating word in backtrace, but I forgot to try that. I only
reverted the SVN to some point back, but not enough to get to time
before the recent Finnish updates. That was actually the biggest
reason I even upgraded.

Starting it with mythfrontend -O Language=EN did the trick. Then I
could enter the setup menu without segfault and change the language to
english via GUI also.

So there is a problem with the Finnish translations. How to find the root cause?

http://svn.mythtv.org/trac/ticket/5055 -the latest update.

I see the files are in some weird binary format in .qm files. And lots
of (utf8 ?) strings in .ts files. Any validator checker available for
those?

Thanks Paul and Michael, need to go watch some tv now :)
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mythtv at dsl

Apr 13, 2008, 9:54 AM

Post #8 of 13 (2011 views)
Permalink
Re: segmentation fault in 21-fixes, libqt-mt.so.3 [In reply to]

ikke wrote:
> On Sun, Apr 13, 2008 at 1:08 AM, Paul Harrison <mythtv [at] dsl> wrote:
>
>> Looks like it could be a bad translation file.
>>
>> What language are you using ?
>>
>> Does using English work OK?
>>
>
>
> Thanks, that did it! Dumb me, I though of that also while seeing the
> translating word in backtrace, but I forgot to try that. I only
> reverted the SVN to some point back, but not enough to get to time
> before the recent Finnish updates. That was actually the biggest
> reason I even upgraded.
>
> Starting it with mythfrontend -O Language=EN did the trick. Then I
> could enter the setup menu without segfault and change the language to
> english via GUI also.
>
> So there is a problem with the Finnish translations. How to find the root cause?
>
> http://svn.mythtv.org/trac/ticket/5055 -the latest update.
>
> I see the files are in some weird binary format in .qm files. And lots
> of (utf8 ?) strings in .ts files. Any validator checker available for
> those?
>
> Thanks Paul and Michael, need to go watch some tv now :)
>
>

It's failing while trying to lookup the translation for 'minutes' in the
QObject context but I don't see anything obviously wrong with the
mythfrontend.fi.ts file and 'linguist' loads it with no problems and
that string is there and looks OK to me.

It could just be a bad checkout of the mythfrontend.fi.qm file. Try
deleting it and the do a 'svn update' to get the latest from the fixes
branch or if you want to stick with the same revision do a 'svn update
-r17013'.

If that doesn't work then you could try to regenerate the translation
files yourself, it only takes a minute or so to do.

- change to the mythtv/i18n/ directory.
- run 'lupdate translate.pro' (that scans the source files for
translated strings and creates/updates the *.ts files).
- run 'lrelease translate.pro' (that scans the *.ts files and creates
the *.qm files, it's one of these files that the frontend loads when it
starts up to do the translations).
- run 'make install'

If that fixes things then let us know as it probably means the qm file
in svn has somehow got corrupted and needs to be recreated.

Paul H.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Apr 13, 2008, 10:10 AM

Post #9 of 13 (2007 views)
Permalink
Re: segmentation fault in 21-fixes, libqt-mt.so.3 [In reply to]

On 04/13/2008 12:54 PM, Paul Harrison wrote:
> ikke wrote:
>
>> On Sun, Apr 13, 2008 at 1:08 AM, Paul Harrison wrote:
>>> Looks like it could be a bad translation file.
>>>
>>> What language are you using ?
>>>
>>> Does using English work OK?
>> Thanks, that did it! Dumb me, I though of that also while seeing the
>> translating word in backtrace, but I forgot to try that. I only
>> reverted the SVN to some point back, but not enough to get to time
>> before the recent Finnish updates. That was actually the biggest
>> reason I even upgraded.
>>
>> Starting it with mythfrontend -O Language=EN did the trick. Then I
>> could enter the setup menu without segfault and change the language to
>> english via GUI also.
>>
>> So there is a problem with the Finnish translations. How to find the root cause?
>>
>> http://svn.mythtv.org/trac/ticket/5055 -the latest update.
>>
>> I see the files are in some weird binary format in .qm files. And lots
>> of (utf8 ?) strings in .ts files. Any validator checker available for
>> those?
>>
>> Thanks Paul and Michael, need to go watch some tv now :)
> It's failing while trying to lookup the translation for 'minutes' in the
> QObject context but I don't see anything obviously wrong with the
> mythfrontend.fi.ts file and 'linguist' loads it with no problems and
> that string is there and looks OK to me.
>
> It could just be a bad checkout of the mythfrontend.fi.qm file. Try
> deleting it and the do a 'svn update' to get the latest from the fixes
> branch or if you want to stick with the same revision do a 'svn update
> -r17013'.
>
> If that doesn't work then you could try to regenerate the translation
> files yourself, it only takes a minute or so to do.
>
> - change to the mythtv/i18n/ directory.
> - run 'lupdate translate.pro' (that scans the source files for
> translated strings and creates/updates the *.ts files).
> - run 'lrelease translate.pro' (that scans the *.ts files and creates
> the *.qm files, it's one of these files that the frontend loads when it
> starts up to do the translations).
> - run 'make install'
>
> If that fixes things then let us know as it probably means the qm file
> in svn has somehow got corrupted and needs to be recreated.

Though, since you said that it works if you install only mythtv and it
breaks when you install mythplugins, I would guess that something is
breaking your configuration--i.e. breaking filesystem permissions or ...

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


ikke at iki

Apr 13, 2008, 12:48 PM

Post #10 of 13 (2009 views)
Permalink
Re: segmentation fault in 21-fixes, libqt-mt.so.3 [In reply to]

On Sun, Apr 13, 2008 at 7:54 PM, Paul Harrison <mythtv [at] dsl> wrote:
> It could just be a bad checkout of the mythfrontend.fi.qm file. Try
> deleting it and the do a 'svn update'

This did not help yet. I did use find to find all '*_fi.*' named
files, deleted them and did svn up. And make install. No difference.

> If that doesn't work then you could try to regenerate the translation
> files yourself, it only takes a minute or so to do.

This made the trick! The mythtv/i18 regeneration did not help, but I
still though of doing for all plugins I compile. After each
regeneration I did run svn status, and this one looks suspicious:

:~/src/mythtv-21-fixes/mythplugins/mythvideo/i18n$ svn status
M mythvideo_fi.qm
M mythvideo_nl.ts

So it could be that this one should be updated. Would it be too much
of a problem for anyone else to try mythfrontend -O Language=FI and
just press enter for LiveTV after it starts? If if crashes for you, we
know the file is to blame. Then I could create a ticket for it.

The latest change for this was at 16935, so any version compiled with
mythvideo would do for testing.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mikkomyth at wippies

May 6, 2008, 2:33 AM

Post #11 of 13 (1843 views)
Permalink
Re: segmentation fault in 21-fixes, libqt-mt.so.3 [In reply to]

Same problem with mythbuntu 8.04 - 0.21 fixes branch. Live TV exits with
segmentation fault in Finnish language.

Mythtv version 16838
Brnaches/release-0-21-fixes
library api 0-21-20080304-1

> So it could be that this one should be updated. Would it be too much
> of a problem for anyone else to try mythfrontend -O Language=FI and
> just press enter for LiveTV after it starts? If if crashes for you, we
> know the file is to blame. Then I could create a ticket for it.
>
> The latest change for this was at 16935, so any version compiled with
> mythvideo would do for testing.
>

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


ikke at iki

May 7, 2008, 12:01 AM

Post #12 of 13 (1809 views)
Permalink
Re: segmentation fault in 21-fixes, libqt-mt.so.3 [In reply to]

Is it only Live TV? I think it crashed for me also in many other
places, like watching recordings and such where one should see video.

Anyways, I assume I could make a bug report if you already did not do
it. It is a little bit weird you get it with such an old relese,
latest changes to those files were done at 16935. Maybe the error
appeared at 15931.

-i

On Tue, May 6, 2008 at 12:33 PM, Mikko Koivisto <mikkomyth [at] wippies> wrote:
> Same problem with mythbuntu 8.04 - 0.21 fixes branch. Live TV exits with
> segmentation fault in Finnish language.
>
> Mythtv version 16838
> Brnaches/release-0-21-fixes
> library api 0-21-20080304-1
>
>
> > So it could be that this one should be updated. Would it be too much
> > of a problem for anyone else to try mythfrontend -O Language=FI and
> > just press enter for LiveTV after it starts? If if crashes for you, we
> > know the file is to blame. Then I could create a ticket for it.
> >
> > The latest change for this was at 16935, so any version compiled with
> > mythvideo would do for testing.
> >
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


ikke at iki

May 7, 2008, 10:04 PM

Post #13 of 13 (1763 views)
Permalink
Re: segmentation fault in 21-fixes, libqt-mt.so.3 [In reply to]

This problem is now fixed in SVN, thanks to Paulh.

http://svn.mythtv.org/trac/ticket/5327

What a fixing speed, BTW.... report to fixed in 3 hours! :D

On Wed, May 7, 2008 at 10:01 AM, ikke <ikke [at] iki> wrote:
> Anyways, I assume I could make a bug report if you already did not do
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.