Mailing List Archive

Seg fault when calling mythepg in latest cvs
Hi all,

I downloaded latest cvs, because I want to see the new epg :-)
But unfortunately the call of mythepg segfaults... the cvs from some days ago
didn't... :-(
There is no message or so I could post here, simply segmentation fault...

greetings, markus
Re: Seg fault when calling mythepg in latest cvs [ In reply to ]
On Wednesday 30 April 2003 06:54 pm, markus scholz wrote:
> Hi all,
>
> I downloaded latest cvs, because I want to see the new epg :-)
> But unfortunately the call of mythepg segfaults... the cvs from some days
> ago didn't... :-(
> There is no message or so I could post here, simply segmentation fault...

You forgot to attach the backtrace of the segfault?

Isaac
Re: Seg fault when calling mythepg in latest cvs [ In reply to ]
Hi Isaac,

sorry for the silly question, but how can I make a backtrace?

greets markus

> On Wednesday 30 April 2003 06:54 pm, markus scholz wrote:
> > Hi all,
> >
> > I downloaded latest cvs, because I want to see the new epg :-)
> > But unfortunately the call of mythepg segfaults... the cvs from some days
> > ago didn't... :-(
> > There is no message or so I could post here, simply segmentation fault...
>
> You forgot to attach the backtrace of the segfault?
>
> Isaac
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
Re: Seg fault when calling mythepg in latest cvs [ In reply to ]
See section 18.9 of the docs:

http://www.mythtv.org/docs/mythtv-HOWTO-18.html#ss18.9

JC

----- Original Message -----
From: "markus scholz" <macdanger@web.de>
To: "Discussion about mythtv" <mythtv-users@snowman.net>
Sent: Thursday, May 01, 2003 5:44 AM
Subject: Re: [mythtv-users] Seg fault when calling mythepg in latest cvs


> Hi Isaac,
>
> sorry for the silly question, but how can I make a backtrace?
>
> greets markus
>
> > On Wednesday 30 April 2003 06:54 pm, markus scholz wrote:
> > > Hi all,
> > >
> > > I downloaded latest cvs, because I want to see the new epg :-)
> > > But unfortunately the call of mythepg segfaults... the cvs from some
days
> > > ago didn't... :-(
> > > There is no message or so I could post here, simply segmentation
fault...
> >
> > You forgot to attach the backtrace of the segfault?
> >
> > Isaac
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users@snowman.net
> > http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
>
>
Re: Seg fault when calling mythepg in latest cvs [ In reply to ]
At 11:44 +0200 01-05-2003, markus scholz wrote:
>Hi Isaac,
>
>sorry for the silly question, but how can I make a backtrace?

http://www.mythtv.org/docs/mythtv-HOWTO-18.html#ss18.9

HTH,

JD 'RTFM' B.
--
LART. 250 MIPS under one Watt. Free hardware design files.
http://www.lart.tudelft.nl/
Re: Seg fault when calling mythepg in latest cvs -> backtrace [ In reply to ]
(gdb) run
Starting program: /usr/local/bin/mythepg
[New Thread 16384 (LWP 4338)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 4338)]
0x406b3ce1 in operator==(QString const&, char const*) ()
from /usr/lib/libqt-mt.so.3
(gdb) bt
#0 0x406b3ce1 in operator==(QString const&, char const*) ()
from /usr/lib/libqt-mt.so.3
#1 0x0806ed55 in GuideGrid::paintChannels(QPainter*) (this=0xbfffec40, p=0x1)
at /usr/include/g++/bits/stl_vector.h:501
#2 0x0806e248 in GuideGrid::paintEvent(QPaintEvent*) (this=0xbfffec40, e=0x1)
at guidegrid.cpp:821
#3 0x40453a92 in QWidget::event(QEvent*) () from /usr/lib/libqt-mt.so.3
#4 0x403bc5f8 in QApplication::internalNotify(QObject*, QEvent*) ()
from /usr/lib/libqt-mt.so.3
#5 0x403bbb50 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libqt-mt.so.3
#6 0x4035fd59 in QETWidget::translatePaintEvent(_XEvent const*) ()
from /usr/lib/libqt-mt.so.3
#7 0x4035aaf5 in QApplication::x11ProcessEvent(_XEvent*) ()
from /usr/lib/libqt-mt.so.3
#8 0x403704f2 in QEventLoop::processEvents(unsigned) ()
from /usr/lib/libqt-mt.so.3
#9 0x403d0b83 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
#10 0x403bc8df in QApplication::enter_loop() () from /usr/lib/libqt-mt.so.3
#11 0x4058ec05 in QDialog::exec() () from /usr/lib/libqt-mt.so.3
#12 0x080659f7 in RunProgramGuide(QString, bool, TV*) (startchannel=
{static null = {static null = <same as static member of an already seen
share---Type <return> to continue, or q <return> to quit---
d_null = 0x82eec80}, thread=false, player=0x1) at guidegrid.cpp:54
#13 0x08065533 in main (argc=1, argv=0x1) at main.cpp:36
#14 0x40a678ae in __libc_start_main () from /lib/libc.so.6
(gdb)
> Hi Isaac,
>
> sorry for the silly question, but how can I make a backtrace?
>
> greets markus
>
> > On Wednesday 30 April 2003 06:54 pm, markus scholz wrote:
> > > Hi all,
> > >
> > > I downloaded latest cvs, because I want to see the new epg :-)
> > > But unfortunately the call of mythepg segfaults... the cvs from some
> > > days ago didn't... :-(
> > > There is no message or so I could post here, simply segmentation
> > > fault...
> >
> > You forgot to attach the backtrace of the segfault?
> >
> > Isaac
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users@snowman.net
> > http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
Re: Seg fault when calling mythepg in latest cvs -> IDENTIFIED [ In reply to ]
Hi all,

the problem is in the database:
the starting channel for the epg has to be a valid value. But in the Setup you
can only enter numeric numbers. In german cable the channelids are called E2
or SE3 or something like that. I deleted the line DefaultTVChannel in the
database and inserted it new with a value of E2 in the table settings. This
worked!

greets, Markus

BTW: Thanx for the hint with 'RTFM' concerning how to make a backtrace ;-)

> (gdb) run
> Starting program: /usr/local/bin/mythepg
> [New Thread 16384 (LWP 4338)]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 4338)]
> 0x406b3ce1 in operator==(QString const&, char const*) ()
> from /usr/lib/libqt-mt.so.3
> (gdb) bt
> #0 0x406b3ce1 in operator==(QString const&, char const*) ()
> from /usr/lib/libqt-mt.so.3
> #1 0x0806ed55 in GuideGrid::paintChannels(QPainter*) (this=0xbfffec40,
> p=0x1) at /usr/include/g++/bits/stl_vector.h:501
> #2 0x0806e248 in GuideGrid::paintEvent(QPaintEvent*) (this=0xbfffec40,
> e=0x1) at guidegrid.cpp:821
> #3 0x40453a92 in QWidget::event(QEvent*) () from /usr/lib/libqt-mt.so.3
> #4 0x403bc5f8 in QApplication::internalNotify(QObject*, QEvent*) ()
> from /usr/lib/libqt-mt.so.3
> #5 0x403bbb50 in QApplication::notify(QObject*, QEvent*) ()
> from /usr/lib/libqt-mt.so.3
> #6 0x4035fd59 in QETWidget::translatePaintEvent(_XEvent const*) ()
> from /usr/lib/libqt-mt.so.3
> #7 0x4035aaf5 in QApplication::x11ProcessEvent(_XEvent*) ()
> from /usr/lib/libqt-mt.so.3
> #8 0x403704f2 in QEventLoop::processEvents(unsigned) ()
> from /usr/lib/libqt-mt.so.3
> #9 0x403d0b83 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
> #10 0x403bc8df in QApplication::enter_loop() () from /usr/lib/libqt-mt.so.3
> #11 0x4058ec05 in QDialog::exec() () from /usr/lib/libqt-mt.so.3
> #12 0x080659f7 in RunProgramGuide(QString, bool, TV*) (startchannel=
> {static null = {static null = <same as static member of an already
> seen type>, d = 0x82eec80, static shared_null = 0x82eec80}, d = 0x82559e8,
> static share---Type <return> to continue, or q <return> to quit---
> d_null = 0x82eec80}, thread=false, player=0x1) at guidegrid.cpp:54
> #13 0x08065533 in main (argc=1, argv=0x1) at main.cpp:36
> #14 0x40a678ae in __libc_start_main () from /lib/libc.so.6
> (gdb)
>
> > Hi Isaac,
> >
> > sorry for the silly question, but how can I make a backtrace?
> >
> > greets markus
> >
> > > On Wednesday 30 April 2003 06:54 pm, markus scholz wrote:
> > > > Hi all,
> > > >
> > > > I downloaded latest cvs, because I want to see the new epg :-)
> > > > But unfortunately the call of mythepg segfaults... the cvs from some
> > > > days ago didn't... :-(
> > > > There is no message or so I could post here, simply segmentation
> > > > fault...
> > >
> > > You forgot to attach the backtrace of the segfault?
> > >
> > > Isaac
> > > _______________________________________________
> > > mythtv-users mailing list
> > > mythtv-users@snowman.net
> > > http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users@snowman.net
> > http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
Re: Seg fault when calling mythepg in latest cvs -> IDENTIFIED [ In reply to ]
On Thursday 01 May 2003 09:38 am, markus scholz wrote:
> Hi all,
>
> the problem is in the database:
> the starting channel for the epg has to be a valid value. But in the Setup
> you can only enter numeric numbers. In german cable the channelids are
> called E2 or SE3 or something like that. I deleted the line
> DefaultTVChannel in the database and inserted it new with a value of E2 in
> the table settings. This worked!

Both issues should be fixed in CVS now, thanks for finding it.

Isaac