[mythtv-commits] Ticket #10293: Creating thumbnails in Image Gallery for a file with no extension causes segfault
MythTV
noreply at mythtv.org
Sun Jan 29 01:02:57 UTC 2012
#10293: Creating thumbnails in Image Gallery for a file with no extension causes
segfault
-----------------------------------------+------------------------
Reporter: wsf@… | Owner: beirdo
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythGallery | Version: 0.23-fixes
Severity: high | Keywords:
Ticket locked: 0 |
-----------------------------------------+------------------------
$ mythfrontend --version
Please include all output in bug reports.
MythTV Version : 24158
MythTV Branch : branches/release-0-23-fixes
Network Protocol : 56
Library API : 0.23.20100314-1
QT Version : 4.6.2
Options compiled in:
linux debug using_oss using_alsa using_pulse using_jack using_pulseoutput
using_backend using_dvb using_firewire using_frontend
using_glx_proc_addr_arb using_hdhomerun using_hdpvr using_iptv using_ivtv
using_joystick_menu using_libudev using_lirc using_mheg using_opengl_video
using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11
using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw
using_bindings_perl using_bindings_python using_opengl using_vdpau
using_ffmpeg_threads using_libavc_5_3 using_live using_mheg
Navigating to Image Gallery I get a segfault. Stacktrace:
[New Thread 0x9e1d1b70 (LWP 13803)]
[New Thread 0x9c7ffb70 (LWP 13804)]
[Thread 0xa9c86b70 (LWP 13786) exited]
sh: mplayer: not found
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x9eaffb70 (LWP 13799)]
0xb43790ad in QX11PixmapData::x11ConvertToDefaultDepth() () from
/usr/lib/libQtGui.so.4
(gdb) where
#0 0xb43790ad in QX11PixmapData::x11ConvertToDefaultDepth() () from
/usr/lib/libQtGui.so.4
#1 0xb431eed5 in QWidgetPrivate::updateSystemBackground() () from
/usr/lib/libQtGui.so.4
#2 0xb42cb5de in QWidget::setAttribute(Qt::WidgetAttribute, bool) ()
from /usr/lib/libQtGui.so.4
#3 0xb42ceb5f in QWidgetPrivate::setUpdatesEnabled_helper(bool) () from
/usr/lib/libQtGui.so.4
#4 0xb42cecb2 in QWidget::setUpdatesEnabled(bool) () from
/usr/lib/libQtGui.so.4
#5 0xb683d89a in MythMainWindow::SetDrawEnabled(bool) () from
/usr/lib/libmythui-0.23.so.0
#6 0xb68d6509 in myth_system(QString const&, int) () from
/usr/lib/libmythui-0.23.so.0
#7 0xa5f2bb3a in ThumbGenerator::loadFile(QImage&, QFileInfo const&) ()
from /usr/lib/mythtv/plugins/libmythgallery.so
#8 0xa5f2b30a in ThumbGenerator::loadDir(QImage&, QFileInfo const&) ()
from /usr/lib/mythtv/plugins/libmythgallery.so
#9 0xa5f2a59c in ThumbGenerator::run() () from
/usr/lib/mythtv/plugins/libmythgallery.so
#10 0xb3dfa32e in ?? () from /usr/lib/libQtCore.so.4
#11 0xb5e6696e in start_thread (arg=0x9eaffb70) at pthread_create.c:300
#12 0xb3bcba4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
(gdb)
Installing mplayer made no difference. However, when mplayer was installed
it printed the name of a file it was playing. This file is a jpeg file but
had no file extension. When I renamed the file and added in the .jpg
extension, the segfault went away. Note that the file must be in a
subdirectory, eg in the settings:
MythGallery Settings (General)
Directory that holds image: /data/pictures
I have just one jpeg file in a subdirectory, called
/data/pictures/crashy/wsf
which causes the seg fault. The segfault occurred with different jpeg
files for me.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10293>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list