Mailing List Archive

mythfrontend segfault
I get a segfault when doing this with current CVS (2003-05-06)

Press: "TV", "Schedule Recordings", "Program Guide"

Here follows a backtrace..

GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) r
Starting program: /usr/local/bin/mythfrontend
[New Thread 16384 (LWP 5455)]
connecting to backend server: 127.0.0.1:6543

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 5455)]
0x407774bf in operator==(QString const&, char const*) () from /usr/lib/libqt-mt.so.3
(gdb) thread apply all bt full

Thread 1 (Thread 16384 (LWP 5455)):
#0 0x407774bf in operator==(QString const&, char const*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#1 0x40777566 in operator!=(QString const&, char const*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2 0x080c0952 in GuideGrid::fillProgramRowInfos(unsigned) (this=0xbfffea20, row=0) at guidegrid.cpp:564
container = (LayerSet *) 0x85af038
type = (class UIGuideType *) 0x85af698
proglist = (QPtrList<ProgramInfo> *) 0xbfffe838
program = (ProgramInfo *) 0x408f24e0
proginfo = (ProgramInfo *) 0x0
chanNum = 1085656832
ydifference = -1073748088
xdifference = 1084897935
arrow = -1073748152
cnt = 1085653752
recFlag = 1085656912
spread = 1083199035
lastprog = {d = {jd = 3221219224}, t = {ds = 1083224224}}
tempRect = {x1 = 1085603940, y1 = 138833128, x2 = -1073748072, y2 = 1}
isCurrent = 64
#3 0x080c0756 in GuideGrid::fillProgramInfos() (this=0xbfffea20) at guidegrid.cpp:533
y = 0
container = (LayerSet *) 0x85af038
type = (UIGuideType *) 0x85af698
#4 0x080bd400 in GuideGrid (this=0xbfffea20, channel=@0xbffff060, player=0x0, parent=0x0, name=0x0) at guidegrid.cpp:194
No locals.
#5 0x080b91c8 in RunProgramGuide(QString, bool, TV*) (startchannel=
{static null = {static null = <same as static member of an already seen type>, d = 0x8395c20, static shared_null =
0x8395c20}, d = 0x8468d28, static shared_null = 0x8395c20}, thread=false, player=0x0) at guidegrid.cpp:42
chanstr = {static null = {static null = <same as static member of an already seen type>, d = 0x8395c20, static shared_null
= 0x8395c20},
d = 0xbffff1a0, static shared_null = 0x8395c20}
gg = {<MythDialog> = {<> = {<No data fields>}, wmult = 1.27999997, hmult = 1.27999997, screenwidth = 1024, screenheight =
768},
static metaObj = 0x0, theme = 0x8462d80, xmldata = <incomplete type>, m_context = 0, gridfilltype = 6, scrolltype = 1, fullRect =
{x1 = 0, y1 = 0,
x2 = 1023, y2 = 767}, dateRect = {x1 = 25, y1 = 225, x2 = 171, y2 = 255}, channelRect = {x1 = 25, y1 = 263, x2 = 181, y2 =
756}, timeRect = {
x1 = 181, y1 = 223, x2 = 999, y2 = 261}, programRect = {x1 = 183, y1 = 263, x2 = 1007, y2 = 756}, infoRect = {x1 = 25, y1 = 15,
x2 = 996, y2 = 207},
curInfoRect = {x1 = 844, y1 = 25, x2 = 996, y2 = 100}, videoRect = {x1 = 0, y1 = 0, x2 = -1, y2 = -1},
m_channelInfos = {<_Vector_base<ChannelInfo,std::allocator<ChannelInfo> >> =
{<_Vector_alloc_base<ChannelInfo,std::allocator<ChannelInfo>,true>> = {
_M_start = 0x85bff70, _M_finish = 0x85c0258, _M_end_of_storage = 0x85c0270}, <No data fields>}, <No data fields>},
m_timeInfos = {0x85b05b8, 0x0,
0x0, 0x0, 0x0, 0x0, 0x85b25a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x85b0238, 0x0, 0x0, 0x0, 0x0, 0x0, 0x85af1b8, 0x0, 0x0, 0x0, 0x0, 0x0,
0xbfffebfc, 0x49,
0x4090dc20, 0x8462d80, 0x40b5cf40, 0xbfffebd8}, m_programs = {0x0, 0x0, 0x0, 0x0, 0x0, 0x40b5cf40, 0x8462d80, 0xbfffec08},
m_programInfos = {{
0x0 <repeats 24 times>, 0x40aa3a8f, 0x40b5cf40, 0x18, 0x40beb4d4, 0x409fc2b4, 0x18}, {0x0 <repeats 24 times>, 0x18,
0x40beb4d4, 0x409fc2b4, 0x18,
0x8466e70, 0xbfffed18}, {0x0 <repeats 24 times>, 0x400d31e0, 0xbfffed90, 0x462558, 0x8466cc8, 0x8466cc8, 0x401264d0}, {0x0
<repeats 24 times>,
0x8483d00, 0x0, 0x1, 0x0, 0xbffff000, 0x0}, {0x0 <repeats 24 times>, 0x409fc2b4, 0xbfffeef0, 0x0, 0xbfffee48, 0x40907a3e,
0x8462858}, {0x408f24e0,
0xbfffee58, 0x1, 0x8462858, 0x408f24e0, 0xbfffee78, 0x4090b0a0, 0x0, 0x8462858, 0x0, 0x1, 0x408f24e0, 0x0, 0xbfffee88,
0x40aa4da4, 0x0, 0x40b5cf40,
0x0, 0x40907b9e, 0x848fc48, 0x40b5cf40, 0xbfffeea8, 0x40907a3e, 0x848c798, 0x40b5cf40, 0x31, 0x40907a3e, 0x848c798,
0x40b5cf40, 0xbfffeec8}, {
0x4090b0a0, 0x40b5cf50, 0x40b5c2f8, 0xbfffeee8, 0x4090b0a0, 0x40b5cf40, 0x848c798, 0xbfffeef8, 0x1, 0x0, 0x848c798, 0x0,
0x40907b9e, 0x0,
0x408f24e0, 0x0, 0x40907b9e, 0x8463468, 0x40b5cf40, 0x61, 0x40aa4da4, 0x8466ce8, 0x40b5cf40, 0x19, 0x4090dc20, 0x8466ce8,
0x40b5cf40, 0xbfffef38,
0x40904e3b, 0x40b5cf50}, {0x40b5c2f8, 0xbfffef58, 0x40907a3e, 0x40b5cf40, 0x8466ce8, 0xbfffef58, 0x40907a3e, 0x8466ce8,
0x84427b8, 0xbfffef68,
0x4090b0a0, 0x8466ce8, 0x408f24e0, 0xbfffef88, 0x4090b0a0, 0x8466ce8, 0x408f24e0, 0xbfffef98, 0x1, 0x0, 0x84427b8, 0x0,
0x40907b9e, 0x0,
0x401264d0, 0x0, 0x40907b9e, 0x84627f0, 0x40b5cf40, 0x11}}, m_originalStartTime = {d = {jd = 2452766}, t = {ds = 40716583}},
m_currentStartTime = {
d = {jd = 2452766}, t = {ds = 39600583}}, m_currentEndTime = {d = {jd = 2452766}, t = {ds = 46800583}}, m_currentStartChannel =
1085656863,
m_startChanStr = {static null = {static null = <same as static member of an already seen type>, d = 0x8395c20, static shared_null
= 0x8395c20},
d = 0x8468d28, static shared_null = 0x8395c20}, m_currentRow = 2, m_currentCol = 0, showInfo = 248, selectState = 194,
showFavorites = false,
displaychannum = false, desiredDisplayChans = 5, DISPLAY_CHANS = 5, DISPLAY_TIMES = 24, firstTime = {d = {jd = 2452766}, t = {ds
= 39600583}},
lastTime = {d = {jd = 2452766}, t = {ds = 45360583}}, m_player = 0x0, channelOrdering = {static null = {
static null = <same as static member of an already seen type>, d = 0x8395c20, static shared_null = 0x8395c20}, d = 0x85afad8,
static shared_null = 0x8395c20}, dateformat = {static null = {static null = <same as static member of an already seen type>, d
= 0x8395c20,
static shared_null = 0x8395c20}, d = 0x85b2728, static shared_null = 0x8395c20}, timeformat = {static null = {
static null = <same as static member of an already seen type>, d = 0x8395c20, static shared_null = 0x8395c20}, d = 0x84670e8,
static shared_null = 0x8395c20}, unknownTitle = {static null = {static null = <same as static member of an already seen type>,
d = 0x8395c20,
static shared_null = 0x8395c20}, d = 0x85b2d30, static shared_null = 0x8395c20}, unknownCategory = {static null = {
static null = <same as static member of an already seen type>, d = 0x8395c20, static shared_null = 0x8395c20}, d = 0x85b2bf0,
static shared_null = 0x8395c20}, currentTimeColor = {static null = {static null = <same as static member of an already seen
type>, d = 0x8395c20,
static shared_null = 0x8395c20}, d = 0x8463768, static shared_null = 0x8395c20}, timeCheck = 0x845d180, m_db = 0x842e010}
#6 0x0806a817 in startGuide() () at main.cpp:40
startchannel = {static null = {static null = <same as static member of an already seen type>, d = 0x8395c20, static
shared_null = 0x8395c20},
d = 0x8468d28, static shared_null = 0x8395c20}
#7 0x0806add3 in TVMenuCallback(void*, QString&) (data=0x842c978, selection=@0x84428f0) at main.cpp:135
sel = {static null = {static null = <same as static member of an already seen type>, d = 0x8395c20, static shared_null =
0x8395c20},
d = 0x8462578, static shared_null = 0x8395c20}
#8 0x400b48ed in ThemedMenu::handleAction(QString&) (this=0x84427b8, action=@0x8463114) at themedmenu.cpp:1477
No locals.
#9 0x400b3f6c in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x84427b8, e=0xbffff5d0) at themedmenu.cpp:1394
handled = false
lastbutton = (ThemedButton *) 0x84630d8
#10 0x4052827c in QWidget::event(QEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#11 0x40496434 in QApplication::internalNotify(QObject*, QEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#12 0x40495dac in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#13 0x4043d94c in QETWidget::translateKeyEvent(_XEvent const*, bool) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#14 0x404395cf in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#15 0x4044eb91 in QEventLoop::processEvents(unsigned) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#16 0x404aa226 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#17 0x404966c1 in QApplication::enter_loop() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#18 0x40659061 in QDialog::exec() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#19 0x0806bbe6 in RunMenu(QString) (themedir=
{static null = {static null = <same as static member of an already seen type>, d = 0x8395c20, static shared_null =
0x8395c20}, d = 0x843c0d0, static shared_null = 0x8395c20}) at main.cpp:227
MenuName = {static null = {static null = <same as static member of an already seen type>, d = 0x8395c20, static shared_null
= 0x8395c20},
d = 0x84418b0, static shared_null = 0x8395c20}
filetest = <incomplete type>
exitstatus = 0
#20 0x0806d110 in main (argc=1, argv=0xbffffcb4) at main.cpp:354
lcd_host = {static null = {static null = <same as static member of an already seen type>, d = 0x8395c20, static shared_null
= 0x8395c20},
d = 0x842d3b0, static shared_null = 0x8395c20}
lcd_port = 0
a = <incomplete type>
translator = <incomplete type>
db = (struct QSqlDatabase *) 0x842e010
server = {static null = {static null = <same as static member of an already seen type>, d = 0x8395c20, static shared_null =
0x8395c20},
d = 0x843ad70, static shared_null = 0x8395c20}
port = 6543
themename = {static null = {static null = <same as static member of an already seen type>, d = 0x8395c20, static
shared_null = 0x8395c20},
d = 0x8443ec0, static shared_null = 0x8395c20}
randomtheme = false
themedir = {static null = {static null = <same as static member of an already seen type>, d = 0x8395c20, static shared_null
= 0x8395c20},
d = 0x843c0d0, static shared_null = 0x8395c20}
exitstatus = 10
#21 0x40a42ba7 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb)

/Sunkan
Re: mythfrontend segfault [ In reply to ]
On Tuesday 06 May 2003 05:21 am, Andreas Sundstrom wrote:
> I get a segfault when doing this with current CVS (2003-05-06)
>
> Press: "TV", "Schedule Recordings", "Program Guide"

Your starting channel (in the program guide section of setup) was invalid.
Fixed, though.

Isaac
Re: mythfrontend segfault [ In reply to ]
Isaac Richards wrote:
> On Tuesday 06 May 2003 05:21 am, Andreas Sundstrom wrote:
>
>>I get a segfault when doing this with current CVS (2003-05-06)
>>
>>Press: "TV", "Schedule Recordings", "Program Guide"
>
>
> Your starting channel (in the program guide section of setup) was invalid.
> Fixed, though.
Yep, that was it, and the fix works too.. thx!

>
> Isaac
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-dev
Re: mythfrontend segfault [ In reply to ]
On 02/07/2011 02:02 AM, Alden, David wrote:
> I'm having trouble with running 2 copies of mythfrontend on my server. My motherboard failed, so I had to replace it (+ processor, ram, audio card, etc...), and I upgraded from 0.23 to 0.24 at the same time. I'm running Centos 5.5 using atrpms (which is based on mythtv v0.24-150-g08a8a65). I have been running this setup for several years, but now it's segfaulting when I start the second mythfrontend instance. I can run one copy on either video card, but as soon as I try to start the 2nd, it segfaults. I've attached the gdb.txt and myth.log files from gdb. Help?


http://www.gossamer-threads.com/lists/mythtv/users/470133#470133
http://www.gossamer-threads.com/lists/mythtv/users/469806#469806

Mike
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: mythfrontend segfault [ In reply to ]
Hi,

On Feb 7, 2011, at Feb 7, 2:28 AM, Michael T. Dean wrote:
> On 02/07/2011 02:02 AM, Alden, David wrote:
>> I'm having trouble with running 2 copies of mythfrontend on my server. My motherboard failed, so I had to replace it (+ processor, ram, audio card, etc...), and I upgraded from 0.23 to 0.24 at the same time. I'm running Centos 5.5 using atrpms (which is based on mythtv v0.24-150-g08a8a65). I have been running this setup for several years, but now it's segfaulting when I start the second mythfrontend instance. I can run one copy on either video card, but as soon as I try to start the 2nd, it segfaults. I've attached the gdb.txt and myth.log files from gdb. Help?
>
>
> http://www.gossamer-threads.com/lists/mythtv/users/470133#470133
> http://www.gossamer-threads.com/lists/mythtv/users/469806#469806

Duh - sorry for not searching before posting, I know better. :-( Thanks for the fix.

...dave

_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Re: mythfrontend segfault [ In reply to ]
On Mon, Dec 24, 2018 at 12:26 PM Klaas de Waal <klaas.de.waal@gmail.com>
wrote:

> With today's master, mythfrontend segfaults when you select Manage
> Recordings then Recording Rules.
> It looks like it is caused by commit 17d978723, 13 december, David
> Hampton,
> "Use naturalCompare in more places instead of a simple '<' comparison."
> Sorting the titles in programrecpriority.cpp, class TitleSort is where it
> goes wrong.
> Reverting the commit does solve the problem.
> If the bug cannot be easily reproduced I can create a ticket for this.
>
> Klaas.
>
> Created ticket #13364 for this.