[mythtv] Segmentation fault in mythtv-setup

Alex Bakaev alex.zxtt at gmail.com
Sun Apr 22 04:04:58 UTC 2007


Hello!

This is my first post to the list, please tell me if the format doesn't
conform to the list rules.

I'm experiencing a segmentation fault when running mythtv-setup.

My system is AMD64 Mandriva 2007 Spring. I installed PLF's build of MythTV
at first. Got a seg. fault.

So I got the source off of SVN and built it myself. Got a seg. fault.

So I built a debug version and run it under dbg. Attached is the dbg.txt

Below is the result of running ldd mythtv-setup and ld.conf

Hopefully, someone will be able to make a suggestion.

Best Regards,
Alex

include ld.so.conf.d/*.conf
/usr/X11R6/lib
/usr/lib/qt3/lib64
/usr/lib/qt3/lib
/usr/X11R6/lib64
/usr/local/lib
/usr/lib64/


[sasha at linuxbox ~]$ ldd /usr/local/bin/mythtv-setup
        libmythtv-0.20.1.so.0 =>
/usr/local/lib/libmythtv-0.20.1.so.0(0x00002b4daf2c1000)
        libmythavformat-0.20.1.so.0 => /usr/local/lib/libmythavformat-
0.20.1.so.0 (0x00002b4db040c000)
        libmythavutil-0.20.1.so.0 => /usr/local/lib/libmythavutil-
0.20.1.so.0 (0x00002b4db06a9000)
        libmythavcodec-0.20.1.so.0 => /usr/local/lib/libmythavcodec-
0.20.1.so.0 (0x00002b4db08af000)
        libmythfreemheg-0.20.1.so.0 => /usr/local/lib/libmythfreemheg-
0.20.1.so.0 (0x00002b4db0dcf000)
        libmythupnp-0.20.1.so.0 =>
/usr/local/lib/libmythupnp-0.20.1.so.0(0x00002b4db1077000)
        libmythlivemedia-0.20.1.so.0 => /usr/local/lib/libmythlivemedia-
0.20.1.so.0 (0x00002b4db12d3000)
        libmyth-0.20.1.so.0 =>
/usr/local/lib/libmyth-0.20.1.so.0(0x00002b4db15e0000)
        libmythui-0.20.1.so.0 =>
/usr/local/lib/libmythui-0.20.1.so.0(0x00002b4db1b75000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00002b4db1e32000)
        libmp3lame.so.0 => /usr/lib64/libmp3lame.so.0 (0x00002b4db20ac000)
        libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00002b4db233e000)
        libXv.so.1 => /usr/lib64/libXv.so.1 (0x00002b4db2541000)
        libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x00002b4db2746000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00002b4db284b000)
        libqt-mt.so.3 => /usr/lib/qt3/lib64/libqt-mt.so.3(0x00002b4db2a53000)
        libGLU.so.1 => /usr/lib64/libGLU.so.1 (0x00002b4db3456000)
        libGL.so.1 => /usr/lib64/nvidia97xx/libGL.so.1 (0x00002b4db36d6000)
        libXmu.so.6 => /usr/lib64/libXmu.so.6 (0x00002b4db389f000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00002b4db39b7000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00002b4db3bc8000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b4db3ed3000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002b4db40ea000)
        libm.so.6 => /lib64/libm.so.6 (0x00002b4db43e9000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b4db4641000)
        libc.so.6 => /lib64/libc.so.6 (0x00002b4db484e000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x00002b4db4b8c000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00002b4db4da1000)
        libmng.so.1 => /usr/lib64/libmng.so.1 (0x00002b4db4fab000)
        libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00002b4db5218000)
        libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00002b4db5339000)
        libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00002b4db555d000)
        libXft.so.2 => /usr/lib64/libXft.so.2 (0x00002b4db5667000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1
(0x00002b4db577b000)
        libSM.so.6 => /usr/lib64/libSM.so.6 (0x00002b4db58b0000)
        libICE.so.6 => /usr/lib64/libICE.so.6 (0x00002b4db5aba000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00002b4db5cd5000)
        libGLcore.so.1 => /usr/lib64/nvidia97xx/libGLcore.so.1
(0x00002b4db5eda000)
        libnvidia-tls.so.1 =>
/usr/lib64/nvidia97xx/tls/libnvidia-tls.so.1(0x00002b4db690b000)
        libXt.so.6 => /usr/lib64/libXt.so.6 (0x00002b4db6a0c000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00002b4db6c6d000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00002b4db6e6f000)
        /lib64/ld-linux-x86-64.so.2 (0x00002b4daf0a5000)
        liblcms.so.1 => /usr/lib64/liblcms.so.1 (0x00002b4db7075000)
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00002b4db72a9000)
        libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00002b4db74ae000)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20070421/1aed817c/attachment.htm 
-------------- next part --------------
[Thread debugging using libthread_db enabled]
[New Thread 47249021475616 (LWP 13312)]

Program exited with code 0377.
[Thread debugging using libthread_db enabled]
[New Thread 47644981689120 (LWP 14789)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47644981689120 (LWP 14789)]
0x00002b55313b87e5 in virtual thunk to BooleanSetting::qt_invoke(int, QUObject*) () at moc_mythmediamonitor.cpp:21
21	
Current language:  auto; currently c

Thread 1 (Thread 47644981689120 (LWP 14789)):
#0  0x00002b55313b87e5 in virtual thunk to BooleanSetting::qt_invoke(int, QUObject*) () at moc_mythmediamonitor.cpp:21
No symbol table info available.
#1  0x00002b55313b8908 in XRRGetScreenInfo () from /usr/lib64/libXrandr.so.2
No symbol table info available.
#2  0x00002b55303e4989 in GetScreenConfig (display=@0x7fff7ce960a8) at DisplayResX.cpp:124
	root = 54
	cfg = (XRRScreenConfiguration *) 0x2b552fe3d4f0
#3  0x00002b55303e4b4a in DisplayResX::GetVideoModes (this=0x7014d0) at DisplayResX.cpp:86
	display = (Display *) 0x70ad60
	cfg = (XRRScreenConfiguration *) 0x7fff7ce960e0
	num_sizes = 0
	num_rates = 7352080
	sizes = (X11::._324 *) 0x2b552de2abe0
#4  0x00002b55303921cb in DisplayRes::Initialize (this=0x7014d0) at DisplayRes.cpp:73
	key = 2095670192
	scr = {width = 2095669960, height = 32767, width_mm = 806717416, height_mm = 11093, aspect = 0, refreshRates = {<std::_Vector_base<short int,std::allocator<short int> >> = {_M_impl = {<std::allocator<short int>> = {<__gnu_cxx::new_allocator<short int>> = {<No data fields>}, <No data fields>}, _M_start = 0x2b5536355450, _M_finish = 0x8, _M_end_of_storage = 0x2f}}, <No data fields>}}
	iw = 0
	ih = 0
	ow = 0
	oh = 0
	iaspect = 0
	oaspect = 0
	irate = 0
	orate = 0
	tW = 0
	tH = 0
	tW_mm = 542
	tH_mm = 406
	tAspect = 0
	tRate = 0
	screens = (const DisplayResVector &) @0x7014d0: {<std::_Vector_base<DisplayResScreen,std::allocator<DisplayResScreen> >> = {_M_impl = {<std::allocator<DisplayResScreen>> = {<__gnu_cxx::new_allocator<DisplayResScreen>> = {<No data fields>}, <No data fields>}, _M_start = 0x2b55306b73f0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}
#5  0x00002b55303e4f9d in DisplayResX (this=0x7014d0) at DisplayResX.cpp:24
No locals.
#6  0x00002b5530392639 in DisplayRes::GetDisplayRes () at DisplayRes.cpp:19
No locals.
#7  0x00002b55302ba76a in MythContext::LoadQtConfig (this=0x6d6ee0) at mythcontext.cpp:1227
	dispRes = (DisplayRes *) 0x700ea0
	style = {static null = {static null = <same as static member of an already seen type>, d = 0x65d270, static shared_null = 0x65d270}, d = 0x6d7568, static shared_null = 0x65d270}
	themename = {static null = {static null = <same as static member of an already seen type>, d = 0x65d270, static shared_null = 0x65d270}, d = 0x1, static shared_null = 0x65d270}
	themedir = {static null = {static null = <same as static member of an already seen type>, d = 0x65d270, static shared_null = 0x65d270}, d = 0x2b5500000001, static shared_null = 0x65d270}
#8  0x0000000000431cfa in main (argc=1, argv=0x7fff7ce97208) at main.cpp:230
	geometry = {static null = {static null = <same as static member of an already seen type>, d = 0x65d270, static shared_null = 0x65d270}, d = 0x694940, static shared_null = 0x65d270}
	verboseString = {static null = {static null = <same as static member of an already seen type>, d = 0x65d270, static shared_null = 0x65d270}, d = 0x6949a0, static shared_null = 0x65d270}
	a = <incomplete type>
	settingsOverride = {sh = 0x6d3820}
	fileprefix = {static null = {static null = <same as static member of an already seen type>, d = 0x65d270, static shared_null = 0x65d270}, d = 0x6926c0, static shared_null = 0x65d270}
	dir = <incomplete type>
	mainWindow = (class MythMainWindow *) 0x435c20
	themeBase = (MythThemeBase *) 0x410de3
	warn = {static null = {static null = <same as static member of an already seen type>, d = 0x65d270, static shared_null = 0x65d270}, d = 0x6926c0, static shared_null = 0x65d270}
	backendIsRunning = false
	dia = (class DialogBox *) 0x435c50
	haveProblems = false
Starting program: /usr/local/bin/mythtv-setup 
[Thread debugging using libthread_db enabled]
[New Thread 47582830492448 (LWP 15833)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47582830492448 (LWP 15833)]
0x00002b46b8bb87e5 in virtual thunk to BooleanSetting::qt_invoke(int, QUObject*) () at moc_mythmediamonitor.cpp:21
21	moc_mythmediamonitor.cpp: No such file or directory.
	in moc_mythmediamonitor.cpp
Current language:  auto; currently c

Thread 1 (Thread 47582830492448 (LWP 15833)):
#0  0x00002b46b8bb87e5 in virtual thunk to BooleanSetting::qt_invoke(int, QUObject*) () at moc_mythmediamonitor.cpp:21
No symbol table info available.
#1  0x00002b46b8bb8908 in XRRGetScreenInfo () from /usr/lib64/libXrandr.so.2
No symbol table info available.
#2  0x00002b46b7be4989 in GetScreenConfig (display=@0x7ffff5697868) at DisplayResX.cpp:124
	root = 54
	cfg = (XRRScreenConfiguration *) 0x2b46b763d4f0
#3  0x00002b46b7be4b4a in DisplayResX::GetVideoModes (this=0x704a20) at DisplayResX.cpp:86
	display = (Display *) 0x70e2b0
	cfg = (XRRScreenConfiguration *) 0x7ffff56978a0
	num_sizes = 0
	num_rates = 7342608
	sizes = (X11::._324 *) 0x2b46b562abe0
#4  0x00002b46b7b921cb in DisplayRes::Initialize (this=0x704a20) at DisplayRes.cpp:73
	key = 4117330800
	scr = {width = -177636728, height = 32767, width_mm = -1214937112, height_mm = 11078, aspect = 0, refreshRates = {<std::_Vector_base<short int,std::allocator<short int> >> = {_M_impl = {<std::allocator<short int>> = {<__gnu_cxx::new_allocator<short int>> = {<No data fields>}, <No data fields>}, _M_start = 0x2b46bdb55450, _M_finish = 0x8, _M_end_of_storage = 0x2f}}, <No data fields>}}
	iw = 0
	ih = 0
	ow = 0
	oh = 0
	iaspect = 0
	oaspect = 0
	irate = 0
	orate = 0
	tW = 0
	tH = 0
	tW_mm = 542
	tH_mm = 406
	tAspect = 0
	tRate = 0
	screens = (const DisplayResVector &) @0x704a20: {<std::_Vector_base<DisplayResScreen,std::allocator<DisplayResScreen> >> = {_M_impl = {<std::allocator<DisplayResScreen>> = {<__gnu_cxx::new_allocator<DisplayResScreen>> = {<No data fields>}, <No data fields>}, _M_start = 0x2b46b7eb73f0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}
#5  0x00002b46b7be4f9d in DisplayResX (this=0x704a20) at DisplayResX.cpp:24
No locals.
#6  0x00002b46b7b92639 in DisplayRes::GetDisplayRes () at DisplayRes.cpp:19
No locals.
#7  0x00002b46b7aba76a in MythContext::LoadQtConfig (this=0x6ca6a0) at mythcontext.cpp:1227
	dispRes = (DisplayRes *) 0x7043f0
	style = {static null = {static null = <same as static member of an already seen type>, d = 0x65d270, static shared_null = 0x65d270}, d = 0x6d3b08, static shared_null = 0x65d270}
	themename = {static null = {static null = <same as static member of an already seen type>, d = 0x65d270, static shared_null = 0x65d270}, d = 0x1, static shared_null = 0x65d270}
	themedir = {static null = {static null = <same as static member of an already seen type>, d = 0x65d270, static shared_null = 0x65d270}, d = 0x2b4600000001, static shared_null = 0x65d270}
#8  0x0000000000431cfa in main (argc=1, argv=0x7ffff56989c8) at main.cpp:230
	geometry = {static null = {static null = <same as static member of an already seen type>, d = 0x65d270, static shared_null = 0x65d270}, d = 0x694940, static shared_null = 0x65d270}
	verboseString = {static null = {static null = <same as static member of an already seen type>, d = 0x65d270, static shared_null = 0x65d270}, d = 0x6949a0, static shared_null = 0x65d270}
	a = <incomplete type>
	settingsOverride = {sh = 0x6d75d0}
	fileprefix = {static null = {static null = <same as static member of an already seen type>, d = 0x65d270, static shared_null = 0x65d270}, d = 0x6926c0, static shared_null = 0x65d270}
	dir = <incomplete type>
	mainWindow = (class MythMainWindow *) 0x435c20
	themeBase = (MythThemeBase *) 0x410de3
	warn = {static null = {static null = <same as static member of an already seen type>, d = 0x65d270, static shared_null = 0x65d270}, d = 0x6926c0, static shared_null = 0x65d270}
	backendIsRunning = false
	dia = (class DialogBox *) 0x435c50
	haveProblems = false
The program is running.  Exit anyway? (y or n) Not confirmed.
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.


More information about the mythtv-dev mailing list