[mythtv-users] Re: mythbrowser 0.18
Doug Scoular
dscoular at cisco.com
Tue May 3 06:19:21 UTC 2005
Hi All,
I've been trying to debug the mythbrowser 0.18 segmentation
violation. I've been using gdb, here is where the problem
starts:
Breakpoint 2, main (argc=2, argv=0xbffff684) at main.cpp:78
78 KApplication a(argc,argv);
(gdb) s
Program received signal SIGSEGV, Segmentation fault.
0x41161569 in KCmdLineArgs::count () from /usr/kde/3.2/lib/libkdecore.so.4
KApplication is allocating "a" and thus calling it's constructor. The
constructor seems unhappy.
To be honest I suspected this was a problem with outdated libraries. I
have a fairly out of date gentoo system. Here's the output of
kde-config:
spug mythbrowser # kde-config --version
Qt: 3.3.3
KDE: 3.2.2
kde-config: 1.0
Then I decided to compare mythbrowser 0.18 with 0.17 and found that
the way the command line arguments are being initialised has changed:
KCmdLineArgs::init(argc, argv, "mythbrowser", usage , version);
Had become:
KCmdLineArgs::init(argc, argv, "mythbrowser", "mythbrowser", usage ,
version);
In mythbrowser 0.18.
I simply changed this back and all started working again.
Hope this helps...
Cheers,
Doug Scoular
More information about the mythtv-users
mailing list