Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#6486 closed defect (invalid)

Segfault when starting mythfrontend using radeon driver and Xorg 1.5.3

Reported by: nivw2008@… Owned by: Isaac Richards
Priority: major Milestone: unknown
Component: MythTV - General Version: 0.21-fixes
Severity: medium Keywords: crash 1.5.3
Cc: Ticket locked: no

Description

when I start mythfront it crashes with seg fault, here is the backtrace using gdb: Starting program: /usr/bin/mythfrontend [Thread debugging using libthread_db enabled] 2009-04-21 22:35:43.610 Using runtime prefix = /usr [New Thread 0xb5a25710 (LWP 6278)] [New Thread 0xb5824b90 (LWP 6281)] [New Thread 0xb5023b90 (LWP 6282)] [New Thread 0xb4822b90 (LWP 6283)] 2009-04-21 22:35:44.916 XScreenSaver support enabled 2009-04-21 22:35:44.916 DPMS is active. 2009-04-21 22:35:44.917 Unable to read configuration file mysql.txt 2009-04-21 22:35:44.917 Empty LocalHostName?. 2009-04-21 22:35:44.917 Using localhost value of whitey 2009-04-21 22:35:45.089 New DB connection, total: 1 2009-04-21 22:35:45.094 Connected to database 'mythconverg' at host: localhost 2009-04-21 22:35:45.096 Closing DB connection named 'DBManager0' 2009-04-21 22:35:45.097 Primary screen 0. 2009-04-21 22:35:45.098 Connected to database 'mythconverg' at host: localhost 2009-04-21 22:35:45.099 Using screen 0, 1280x960 at 0,0 [New Thread 0xb3c83b90 (LWP 6290)] 2009-04-21 22:35:45.112 New DB connection, total: 2 2009-04-21 22:35:45.113 Connected to database 'mythconverg' at host: localhost 2009-04-21 22:35:45.117 mythfrontend version: 0.21.20080304-1 www.mythtv.org 2009-04-21 22:35:45.117 Enabled verbose msgs: important general 2009-04-21 22:35:46.095 No theme dir: /home/niv/.mythtv/themes/G.A.N.T 2009-04-21 22:35:46.097 Primary screen 0. 2009-04-21 22:35:46.098 Using screen 0, 1280x960 at 0,0 2009-04-21 22:35:46.099 No theme dir: /home/niv/.mythtv/themes/G.A.N.T 2009-04-21 22:35:46.099 Switching to square mode (G.A.N.T) 2009-04-21 22:35:46.294 Using the Qt painter [New Thread 0xb2fa4b90 (LWP 6292)] 2009-04-21 22:35:46.298 JoystickMenuClient? Error: Joystick disabled - Failed to read /home/niv/.mythtv/joystickmenurc [Thread 0xb2fa4b90 (LWP 6292) exited]

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb5a25710 (LWP 6278)] 0x00000001 in ?? () (gdb) bt #0 0x00000001 in ?? () #1 0xb5fb6ce2 in glXWaitX () from usrlib/opengl/xorg-x11/lib/libGL.so.1 #2 0xb65237fe in QGLWidget::glInit () from /usr/qt/3/lib/libqt-mt.so.3 #3 0xb6322f71 in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3 #4 0xb62920b5 in QApplication::internalNotify ()

from /usr/qt/3/lib/libqt-mt.so.3

#5 0xb6292bc9 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3 #6 0xb6293774 in QApplication::sendPostedEvents ()

from /usr/qt/3/lib/libqt-mt.so.3

#7 0xb6321dbd in QWidget::show () from /usr/qt/3/lib/libqt-mt.so.3 #8 0xb694adbc in MythMainWindow::Show (this=0x97b3960)

at mythmainwindow.cpp:605

#9 0xb694b270 in MythMainWindow::Init (this=0x97b3960)

at mythmainwindow.cpp:595

#10 0x0807c530 in main (argc=1, argv=0xbff08e94) at main.cpp:1421

I am running gentoo and mythtv ver 0.21_p19961-r1

Change History (3)

comment:1 Changed 10 years ago by lomion

Same problem: Gentoo X-Server 1.5.3 (just upgraded) Hauppauge PVR-350

Backtrace:

in start_thread () from /lib/libpthread.so.0

No symbol table info available. #6 0xb5c0586e in clone () from /lib/libc.so.6 No symbol table info available.

Thread 4 (Thread 0xb470fb90 (LWP 17887)): #0 0xffffe424 in kernel_vsyscall () No symbol table info available. #1 0xb5bfee51 in select () from /lib/libc.so.6 No symbol table info available. #2 0xb6d4f493 in SSDP::run (this=0x82b28e0) at ssdp.cpp:207

nMaxSocket = 14 read_set = {fds_bits = {28672, 0 <repeats 31 times>}} timeout = {tv_sec = 0, tv_usec = 947951}

#3 0xb61bc995 in QThreadInstance::start () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #4 0xb5d9719b in start_thread () from /lib/libpthread.so.0 No symbol table info available. #5 0xb5c0586e in clone () from /lib/libc.so.6 No symbol table info available.

Thread 3 (Thread 0xb4f10b90 (LWP 17886)): #0 0xffffe424 in kernel_vsyscall () No symbol table info available. #1 0xb5d9bb82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 No symbol table info available. #2 0xb61bc50e in ?? () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #3 0xb4f10244 in ?? () No symbol table info available. #4 0xb4f10274 in ?? () No symbol table info available. #5 0xb4f102ac in ?? () No symbol table info available. #6 0x00000001 in ?? () No symbol table info available. #7 0x082b3e58 in ?? () No symbol table info available. #8 0xb6680ff4 in ?? () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #9 0xb4f102ac in ?? () No symbol table info available. #10 0x00000000 in ?? () No symbol table info available.

Thread 2 (Thread 0xb5711b90 (LWP 17885)): #0 0xffffe424 in kernel_vsyscall () No symbol table info available. #1 0xb5d9bb82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 No symbol table info available. #2 0xb64b96ea in QWaitCondition::wait () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #3 0xb6d60941 in CEvent::WaitForEvent? (this=0x82b29d8, time=500) at threadpool.cpp:96

ret = false

#4 0xb6d60a1d in WorkerThread::run (this=0x82b29c8) at threadpool.cpp:202

timer = {m_timer = {ds = 77363725}}

#5 0xb61bc995 in QThreadInstance::start () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #6 0xb5d9719b in start_thread () from /lib/libpthread.so.0 No symbol table info available. #7 0xb5c0586e in clone () from /lib/libc.so.6 No symbol table info available.

Thread 1 (Thread 0xb5967710 (LWP 17882)): #0 0x6f732e4c in ?? () No symbol table info available. #1 0xb5edb424 in glXWaitX () from usrlib/opengl/xorg-x11/lib/libGL.so.1 No symbol table info available. #2 0x08661250 in ?? () No symbol table info available. #3 0x00200007 in ?? () No symbol table info available. #4 0xbf885a4c in ?? () No symbol table info available. #5 0xb6470b0c in QGLWidget::glInit () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #6 0xb625b43c in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #7 0xb61c39d7 in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #8 0xb61c4541 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #9 0xb61c5103 in QApplication::sendPostedEvents () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #10 0xb625a266 in QWidget::show () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #11 0xb68b51be in MythMainWindow::Show (this=0x8380110) at mythmainwindow.cpp:605 No locals. #12 0xb68b5677 in MythMainWindow::Init (this=0x8380110) at mythmainwindow.cpp:595

hideCursor = true flags = 8396816

#13 0x0806ed5d in ?? () No symbol table info available. #14 0xb5b5460c in libc_start_main () from /lib/libc.so.6 No symbol table info available. #15 0x08062201 in ?? () No symbol table info available.

comment:2 Changed 10 years ago by stuartm

Resolution: invalid
Status: newclosed

This is not a mythtv bug, if it started after you upgraded xorg or the drivers then that's where I'd look first.

comment:3 Changed 10 years ago by Lomion

Solved problem by updating MESA to Version 7.4.2 (or higher) See https://bugs.freedesktop.org/show_bug.cgi?id=21053

Note: See TracTickets for help on using tickets.