Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297211 - media-libs/xine-lib- - segfault close_internal() at xine.c:451
Summary: media-libs/xine-lib- - segfault close_internal() at xine.c:451
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-16 18:52 UTC by Alexey Dobriyan
Modified: 2010-11-12 23:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Dobriyan 2009-12-16 18:52:00 UTC
kio_thumbnail[9429]: segfault at 0 ip (null) sp 00007f677f4b9528 error 14 in kdeinit4[400000+b000]

video_out->set_property is NULL

gdb -c core /usr/bin/kdeinit4

(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007f67831ac9f1 in close_internal (stream=0x5d67150) at xine.c:451
#2  0x00007f67831ac764 in xine_close (stream=0x5d67150) at xine.c:500
#3  0x00007f678340d72b in Phonon::Xine::XineStream::event (this=0x7f6778438c50, ev=0x7f6769e8d1d0) at /var/tmp/portage/media-sound/phonon-4.4_pre20090520/work/phonon-4.4_pre20090520/xine/xinestream.cpp:1241
#4  0x00007f678e3e8a9d in QApplicationPrivate::notify_helper (this=0x265add0, receiver=0x7f6778438c50, e=0x7f6769e8d1d0) at kernel/qapplication.cpp:4065
#5  0x00007f678e3f035a in QApplication::notify (this=0x7fff91aa1240, receiver=0x7f6778438c50, e=0x7f6769e8d1d0) at kernel/qapplication.cpp:4030
#6  0x00007f678f3bff9b in KApplication::notify (this=0x7fff91aa1240, receiver=0x7f6778438c50, event=0x7f6769e8d1d0) at /var/tmp/portage/kde-base/kdelibs-4.3.3-r1/work/kdelibs-4.3.3/kdeui/kernel/kapplication.cpp:302
#7  0x00007f6790ef8a6b in QCoreApplication::notifyInternal (this=0x7fff91aa1240, receiver=0x7f6778438c50, event=0x7f6769e8d1d0) at kernel/qcoreapplication.cpp:606
#8  0x00007f6790ef93c1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2750260) at kernel/qcoreapplication.h:213
#9  0x00007f6790f1d7d3 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:218
#10 0x00007f678ce884a9 in IA__g_main_context_dispatch (context=0x275b540) at gmain.c:1824
#11 0x00007f678ce8bae8 in g_main_context_iterate (context=0x275b540, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2455
#12 0x00007f678ce8bc9c in IA__g_main_context_iteration (context=0x275b540, may_block=1) at gmain.c:2518
#13 0x00007f6790f1d46f in QEventDispatcherGlib::processEvents (this=0x2752c10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#14 0x00007f6790ef7452 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 2135662448}) at kernel/qeventloop.cpp:149
#15 0x00007f6790ef75ec in QEventLoop::exec (this=0x7f677f4b9fb0, flags={i = 2135662528}) at kernel/qeventloop.cpp:197
#16 0x00007f6790e23cfc in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#17 0x00007f678340556c in Phonon::Xine::XineThread::run (this=0x2751d40) at /var/tmp/portage/media-sound/phonon-4.4_pre20090520/work/phonon-4.4_pre20090520/xine/xinethread.cpp:143
#18 0x00007f6790e26814 in QThreadPrivate::start (arg=0x2751d40) at thread/qthread_unix.cpp:188
#19 0x00007f6790bb5fd7 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#20 0x00007f678d8241fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#21 0x0000000000000000 in ?? ()

(gdb) p {xine_stream_t}0x5d67150
$4 = {xine = 0x7f6778438af0, metronom = 0x5d68340, input_plugin = 0x6d903e0, content_detection_method = 1, video_out = 0x7f6769fd7250, video_fifo = 0x5d68700, audio_out = 0x5d465e0, audio_fifo = 0x6ba10f0, osd_renderer = 0x6d79700, master = 0x5d67150, slave = 0x0, spu_decoder_plugin = 0x0, video_driver = 0x5d3c850, audio_channel_auto = -1, spu_decoder_streamtype = -1, spu_channel_user = -1, spu_channel_auto = -1, spu_channel_letterbox = -1, spu_channel = -1}

(gdb) p {xine_video_port_t}0x7f6769fd7250
$5 = {get_capabilities = 0x7f6769863b90, open = 0x7f676a9b95f0, get_frame = 0, get_last_frame = 0, enable_ovl = 0, get_overlay_manager = 0, flush = 0, get_property = 0, set_property = 0, status = 0, close = 0, exit = 0, driver = 0x0}

Notice, ->get_capabilities is bogus (?), it doesn't resolve to symbol.

Reproducible: Didn't try

Steps to Reproduce:




Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32-07500-g8bea867 x86_64)
=================================================================
System uname: Linux-2.6.32-07500-g8bea867-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 04 Dec 2009 01:45:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 berkdb bzip2 cli cracklib crypt cups cxx dbus dri gdbm gpm iconv ipv6 kde mmx mng modules mudflap multilib mysql ncurses nptl nptlonly opengl pcre perl png pppd python qt3support readline reflection session spl sql sse sse2 ssl ssse3 svg sysfs tcpd unicode webkit xinerama xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Wormo (RETIRED) gentoo-dev 2010-01-01 20:53:09 UTC
Good that you posted the backtrace info. Please add an explanation of what you were doing when the segfault occurred, and see if it is reproducible by doing it again.
Comment 2 Alexey Dobriyan 2010-01-13 06:18:36 UTC
Nothing special I was doing.
Allegedly, dolphin was previewing some video files shortly before.

coredump, however, was in directory without any video files.

And it didn't happened again so far.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-02-24 21:40:20 UTC
Hmm, try xine-lib-1.1.18 and phonon-4.3.80-r1.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2010-08-18 20:24:01 UTC
any news?
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2010-11-12 23:35:12 UTC
No response for longtime...