Opened 17 years ago

Closed 17 years ago

#5582 closed defect (invalid)

Segmentation Fault on LIRC change in 17972

Reported by: anonymous Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

After building CVS version 19792, I get the following error upon startup of mythfrontend

2008-07-29 13:50:47.788 Current Schema Version: 1222 2008-07-29 13:50:47.788 mythfrontend version: 0.22.20080729-1 www.mythtv.org 2008-07-29 13:50:47.788 Enabled verbose msgs: important general 2008-07-29 13:50:49.723 Primary screen: 0. 2008-07-29 13:50:49.724 Using screen 0, 1280x1024 at 0,0 2008-07-29 13:50:49.725 Switching to square mode (MythCenter?) 2008-07-29 13:50:49.733 Using the OpenGL painter

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb43bc740 (LWP 29511)] 0xb523f7c9 in strcasecmp () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt #0 0xb523f7c9 in strcasecmp () from /lib/tls/i686/cmov/libc.so.6 #1 0xb5103f79 in ?? () from /usr/lib/liblirc_client.so.0 #2 0xb5104b4a in lirc_readconfig () from /usr/lib/liblirc_client.so.0 #3 0xb69bd77c in LIRC::Init (this=0x837e3b8) at lirc.cpp:293 #4 0xb68cace1 in MythMainWindow? (this=0x8362560, useDB=true)

at mythmainwindow.cpp:336

#5 0xb68cea00 in MythMainWindow::getMainWindow (useDB=false)

at mythmainwindow.cpp:220

#6 0xb68cea8b in GetMythMainWindow? () at mythmainwindow.cpp:234 #7 0x0806e7bf in main (argc=Cannot access memory at address 0x0 ) at main.cpp:1342 (gdb)

Change History (10)

comment:1 Changed 17 years ago by eric.bosch@…

Sorry, forgot to enter email address

comment:2 Changed 17 years ago by danielk

Status: newinfoneeded_new

Did you try doing a "make distclean" ?

Also what version of lirc is this with?

comment:3 Changed 17 years ago by eric.bosch@…

Yes, this was after distclean, on two different machines, one Gentoo, one Ubuntu. Lirc is version app-misc/lirc-0.8.3-r2 on Gentoo, and version 0.8.3-pre1 on Ubuntu.

comment:4 Changed 17 years ago by eric.bosch@…

It appears to work again after 17978.

comment:5 Changed 17 years ago by danielk

Status: infoneeded_newnew

Eric, can you try the patch on #5583.

comment:6 in reply to:  5 Changed 17 years ago by anonymous

Replying to danielk:

Eric, can you try the patch on #5583.

Yes, here you go. If there is any other debug info I can provide, let me know

[New Thread 0xb201db90 (LWP 12243)] 2008-07-30 23:12:58.172 Current Schema Version: 1222 2008-07-30 23:12:58.173 mythfrontend version: 0.22.20080729-1 www.mythtv.org 2008-07-30 23:12:58.173 Enabled verbose msgs: important general 2008-07-30 23:13:00.575 Primary screen: 0. 2008-07-30 23:13:00.576 Using screen 0, 1280x1024 at 0,0 2008-07-30 23:13:00.577 Switching to square mode (MythCenter?) 2008-07-30 23:13:00.584 Using the OpenGL painter

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb4392740 (LWP 12233)] 0xb52157c9 in strcasecmp () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt #0 0xb52157c9 in strcasecmp () from /lib/tls/i686/cmov/libc.so.6 #1 0xb50d9f79 in ?? () from /usr/lib/liblirc_client.so.0 #2 0xb50dab4a in lirc_readconfig () from /usr/lib/liblirc_client.so.0 #3 0xb699397f in LIRC::Init (this=0x8404bb8) at lirc.cpp:295 #4 0xb68a0e61 in MythMainWindow? (this=0x83fc498, useDB=true) at mythmainwindow.cpp:336 #5 0xb68a4b80 in MythMainWindow::getMainWindow (useDB=false) at mythmainwindow.cpp:220 #6 0xb68a4c0b in GetMythMainWindow? () at mythmainwindow.cpp:234 #7 0x0806e61f in main (argc=Cannot access memory at address 0x0 ) at main.cpp:1342

comment:7 Changed 17 years ago by eric.bosch@…

With mythfrontend -all, here's the info... I pulled up the record in mysqlnavigator, and it does exist, but 'LircKeyPressedApp?' is empty.

2008-07-30 23:35:26.676 Using the OpenGL painter 2008-07-30 23:35:26.678 MSqlQuery::exec() "SELECT data FROM settings WHERE value = 'LircSocket?' AND hostname = 'gandalf' ;" 2008-07-30 23:35:26.679 MSqlQuery::exec() "SELECT data FROM settings WHERE value = 'LircKeyPressedApp?' AND hostname = 'gandalf' ;" Segmentation fault

comment:8 Changed 17 years ago by paulh

Status: newinfoneeded_new

Is this still a problem? It seems to work fine for me.

comment:9 Changed 17 years ago by eric.bosch@…

I don't believe it is a problem any more. You can close the ticket. I'm running 19037 now problem free. I believe I had a library issue at that point.

comment:10 Changed 17 years ago by paulh

Resolution: invalid
Status: infoneeded_newclosed
Note: See TracTickets for help on using tickets.