Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268477 - media-sound/rhythmbox-0.12.1 crashes in non-embeded visualization mode
Summary: media-sound/rhythmbox-0.12.1 crashes in non-embeded visualization mode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High critical
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-03 17:48 UTC by Marcin Deranek
Modified: 2009-05-07 23:23 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.txt,3.58 KB, text/plain)
2009-05-03 17:56 UTC, Marcin Deranek
Details
bt full (bt-full.txt,13.44 KB, text/plain)
2009-05-03 17:56 UTC, Marcin Deranek
Details
bt full (bt-full.txt,14.38 KB, text/plain)
2009-05-03 20:30 UTC, Marcin Deranek
Details
thread apply all bt full (bt-thread-full.txt,58.14 KB, text/plain)
2009-05-03 20:32 UTC, Marcin Deranek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Deranek 2009-05-03 17:48:48 UTC
When switching rhythmbox-0.12.1 visuzalization mode from embeded (which works) to either fullscreen or windowed application crashes. This does not occur in the very same setup with rhythmbox-0.12.0.

Reproducible: Always

Steps to Reproduce:
1. Run rhythmbox-0.12.1
2. Switch on visualization
3. Change visualization mode from embedded to either fullscreen or windowed

Actual Results:  
Application crashes.

Expected Results:  
Application should not crash

sun ~ # paludis --info rhythmbox
paludis 0.36.1
Paludis build information:
    Compiler:
        CXX:                   x86_64-pc-linux-gnu-g++ 4.3.3
        CXXFLAGS:               -O2 -march=amdfam10 -ftree-vectorize -fvect-cost-model -pipe
        LDFLAGS:               -Wl,-O1 -Wl,--as-needed -Wl,-z,now
        DATE:                  2009-04-23T17:27:15+0200

    Libraries:
        C++ Library:           GNU libstdc++ 20090124

    Reduced Privs:
        reduced_uid:           101
        reduced_uid->name:     paludisbuild
        reduced_uid->dir:      /var/tmp/paludis
        reduced_gid:           409
        reduced_gid->name:     paludisbuild

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib64
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      
        RUBYINSTALLDIR:        

Environment:
    Format:                    paludis
    Config dir:                /etc/paludis
    World file:                /var/db/pkg/world

Repository layman:
    format:                    unavailable
    location:                  /var/db/paludis/repositories/layman
    sync:                      tar+http://git.exherbo.org/layman_repositories.tar.bz2
    sync_options:              

Repository installed-virtuals:
    format:                    installed_virtuals
    root:                      /

Repository virtuals:
    format:                    virtuals

Repository gentoo:
    format:                    ebuild
    location:                  /usr/portage
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /usr/portage/metadata/cache
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    names_cache:               /var/cache/paludis/names
    newsdir:                   /usr/portage/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0/desktop
    securitydir:               /usr/portage/metadata/glsa
    setsdir:                   /usr/portage/sets
    sync:                      rsync://rsync.nl.gentoo.org/gentoo-portage/
    sync_options:              
    use_manifest:              use
    write_cache:               /var/empty

Repository installed:
    format:                    vdb
    location:                  /var/db/pkg
    builddir:                  /var/tmp/paludis
    names_cache:               /var/cache/paludis/names
    provides_cache:            /var/empty
    root:                      /

Repository local:
    format:                    ebuild
    location:                  /usr/local/paludis/local
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /var/empty
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass /usr/local/paludis/local/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /var/cache/paludis/names
    newsdir:                   /usr/local/paludis/local/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0/desktop
    securitydir:               /usr/local/paludis/local/metadata/glsa
    setsdir:                   /usr/local/paludis/local/sets
    sync:                      
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/cache

Repository proaudio:
    format:                    ebuild
    location:                  /usr/local/paludis/proaudio/trunk/overlays/proaudio
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /var/empty
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass /usr/local/paludis/proaudio/trunk/overlays/proaudio/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /var/cache/paludis/names
    newsdir:                   /usr/local/paludis/proaudio/trunk/overlays/proaudio/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0/desktop
    securitydir:               /usr/local/paludis/proaudio/trunk/overlays/proaudio/metadata/glsa
    setsdir:                   /usr/local/paludis/proaudio/trunk/overlays/proaudio/sets
    sync:                      
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/cache

Package media-sound/rhythmbox-0.12.1:0::installed:

        >>> Running ebuild phase killold as paludisbuild:paludisbuild...
        bunzip2 < /var/db/pkg/media-sound/rhythmbox-0.12.1/environment.bz2 > /var/tmp/paludis/environment-media-sound-rhythmbox-0.12.1-32323
        ebuild_scrub_environment /var/tmp/paludis/environment-media-sound-rhythmbox-0.12.1-32323
        ebuild_safe_source /var/tmp/paludis/environment-media-sound-rhythmbox-0.12.1-32323
        rm /var/tmp/paludis/environment-media-sound-rhythmbox-0.12.1-32323
        >>> Starting builtin_killold
        >>> Done builtin_killold
        >>> Completed ebuild phase killold
        >>> Running ebuild phases initmisc infovars info as paludisbuild:paludisbuild...
        bunzip2 < /var/db/pkg/media-sound/rhythmbox-0.12.1/environment.bz2 > /var/tmp/paludis/environment-media-sound-rhythmbox-0.12.1-32377
        ebuild_scrub_environment /var/tmp/paludis/environment-media-sound-rhythmbox-0.12.1-32377
        ebuild_safe_source /var/tmp/paludis/environment-media-sound-rhythmbox-0.12.1-32377
        rm /var/tmp/paludis/environment-media-sound-rhythmbox-0.12.1-32377
        >>> Starting builtin_initmisc
        >>> Done builtin_initmisc
        >>> Starting builtin_infovars
        ACCEPT_KEYWORDS=amd64
        CBUILD=x86_64-pc-linux-gnu
        CFLAGS=-O2 -march=amdfam10 -ftree-vectorize -fvect-cost-model -pipe
        CHOST=x86_64-pc-linux-gnu
        CONFIG_PROTECT=/etc /etc 
        CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf 
        CPPFLAGS=
        CTARGET=
        CXXFLAGS=-O2 -march=amdfam10 -ftree-vectorize -fvect-cost-model -pipe
        DISTDIR=/var/db/pkg/media-sound/rhythmbox-0.12.1
        FEATURES=strict sfperms
        FFLAGS=
        GENTOO_MIRRORS=
        INSTALL_MASK=
        LANG=
        LC_ALL=C
        LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,now
        LINGUAS=en pl
        MAKEOPTS=-j5
        PORTAGE_COMPRESS=
        PORTAGE_COMPRESS_FLAGS=
        PORTAGE_CONFIGROOT=
        PORTAGE_RSYNC_EXTRA_OPTS=
        PORTAGE_RSYNC_OPTS=
        PORTAGE_TMPDIR=/var/tmp/paludis
        PORTDIR=/var/db/pkg/media-sound/rhythmbox-0.12.1
        PORTDIR_OVERLAY=
        SYNC=
        USE=X brasero cdr daap debug gnome-keyring hal libnotify nsplugin amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias cameras_canon elibc_glibc input_devices_evdev kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_en linguas_pl userland_GNU video_cards_radeon video_cards_v4l amd64 
        >>> Done builtin_infovars
        >>> Starting pkg_info
        >>> Done pkg_info
        >>> Completed ebuild phases initmisc infovars info
        >>> Running ebuild phase tidyup as paludisbuild:paludisbuild...
        bunzip2 < /var/db/pkg/media-sound/rhythmbox-0.12.1/environment.bz2 > /var/tmp/paludis/environment-media-sound-rhythmbox-0.12.1-32453
        ebuild_scrub_environment /var/tmp/paludis/environment-media-sound-rhythmbox-0.12.1-32453
        ebuild_safe_source /var/tmp/paludis/environment-media-sound-rhythmbox-0.12.1-32453
        rm /var/tmp/paludis/environment-media-sound-rhythmbox-0.12.1-32453
        >>> Starting builtin_tidyup
        rm -fr /var/tmp/paludis/media-sound-rhythmbox-0.12.1-info
        >>> Done builtin_tidyup
        >>> Completed ebuild phase tidyup

Package media-sound/rhythmbox-0.12.1:0::gentoo:

        >>> Running ebuild phase killold as paludisbuild:paludisbuild...
        >>> Starting builtin_killold
        >>> Done builtin_killold
        >>> Completed ebuild phase killold
        >>> Running ebuild phases initmisc infovars as paludisbuild:paludisbuild...
        >>> Starting builtin_initmisc
        >>> Done builtin_initmisc
        >>> Starting builtin_infovars
        ACCEPT_KEYWORDS=amd64
        CBUILD=x86_64-pc-linux-gnu
        CFLAGS=-O2 -march=amdfam10 -ftree-vectorize -fvect-cost-model -pipe
        CHOST=x86_64-pc-linux-gnu
        CONFIG_PROTECT= 
        CONFIG_PROTECT_MASK= 
        CPPFLAGS=
        CTARGET=
        CXXFLAGS=-O2 -march=amdfam10 -ftree-vectorize -fvect-cost-model -pipe
        DISTDIR=/usr/portage/distfiles
        FEATURES=strict sfperms
        FFLAGS=
        GENTOO_MIRRORS=
        INSTALL_MASK=
        LANG=
        LC_ALL=C
        LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,now
        LINGUAS=en pl
        MAKEOPTS=-j5
        PORTAGE_COMPRESS=
        PORTAGE_COMPRESS_FLAGS=
        PORTAGE_CONFIGROOT=
        PORTAGE_RSYNC_EXTRA_OPTS=
        PORTAGE_RSYNC_OPTS=
        PORTAGE_TMPDIR=/var/tmp/paludis
        PORTDIR=/usr/portage
        PORTDIR_OVERLAY=
        SYNC=
        USE=X brasero cdr daap debug gnome-keyring hal libnotify nsplugin amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias cameras_canon elibc_glibc input_devices_evdev kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_en linguas_pl userland_GNU video_cards_radeon video_cards_v4l amd64 
        >>> Done builtin_infovars
        >>> Completed ebuild phases initmisc infovars
        >>> Running ebuild phase tidyup as paludisbuild:paludisbuild...
        >>> Starting builtin_tidyup
        rm -fr /var/tmp/paludis/media-sound-rhythmbox-0.12.1-info
        >>> Done builtin_tidyup
        >>> Completed ebuild phase tidyup
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-03 17:51:52 UTC
emerge --info and backtrace of the crash please.

http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 2 Marcin Deranek 2009-05-03 17:54:55 UTC
Error message from .xsession-errors:

The program 'rhythmbox' received an X Window System error.
This probably reflects a bug in the program.

The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 1178 error_code 3 request_code 3 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Program exited with code 01.
Comment 3 Marcin Deranek 2009-05-03 17:56:27 UTC
Created attachment 190232 [details]
emerge --info
Comment 4 Marcin Deranek 2009-05-03 17:56:48 UTC
Created attachment 190233 [details]
bt full
Comment 5 Marcin Deranek 2009-05-03 17:59:02 UTC
Will create another backtrace in a few minutes as seems like previous one is not sufficient..
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-03 18:02:37 UTC
You need to rebuild at least gtk, glib, gstreamer, gst-plugins-xvimage and rhythmbox with debugging symbols.

Also, you might want to remove ftree-vectorize and ftree-vect-cost from your CFLAGS for testing that it's not faulty code generated by gcc. 
Comment 7 Marcin Deranek 2009-05-03 19:04:14 UTC
I've just recompiled:
rhythmbox
glib
gtk+
gstreamer
gst-plugins-base

with:
CFLAGS="-O2 -march=amdfam10 -ggdb"
and unset LDFLAGS

I've tried gdb before recompiling stuff and program was exiting with SIGSEGV. After recompiling program exits in the very same manner (same error message), but there's no SIGSEGV, so no backtrace :-( Any clues ?

(gdb) run
Starting program: /usr/bin/rhythmbox 
[Thread debugging using libthread_db enabled]
[New Thread 0x7f3699089750 (LWP 18522)]
[New Thread 0x7f3687539950 (LWP 18526)]

(rhythmbox:18522): Rhythmbox-WARNING **: Could not open device /dev/radio0
[New Thread 0x7f36849bd950 (LWP 18527)]
[Thread 0x7f36849bd950 (LWP 18527) exited]
[Thread 0x7f3687539950 (LWP 18526) exited]
[New Thread 0x7f3687539950 (LWP 18528)]
[New Thread 0x7f36849bd950 (LWP 18529)]
[New Thread 0x7f367ffff950 (LWP 18530)]
[Thread 0x7f367ffff950 (LWP 18530) exited]
[Thread 0x7f3687539950 (LWP 18528) exited]
[New Thread 0x7f3687539950 (LWP 18531)]
[New Thread 0x7f367ffff950 (LWP 18532)]
[New Thread 0x7f367d221950 (LWP 18533)]
[New Thread 0x7f367bf33950 (LWP 18534)]
[New Thread 0x7f367b732950 (LWP 18535)]
[New Thread 0x7f367af31950 (LWP 18536)]
[New Thread 0x7f367a730950 (LWP 18537)]
[New Thread 0x7f3679f2f950 (LWP 18538)]
[New Thread 0x7f367972e950 (LWP 18539)]
[Thread 0x7f367972e950 (LWP 18539) exited]
[New Thread 0x7f367972e950 (LWP 18540)]
[Thread 0x7f367972e950 (LWP 18540) exited]
The program 'rhythmbox' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 636 error_code 9 request_code 139 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Program exited with code 01.
(gdb) bt
No stack.

or should I set break on gdk_x_error ?
Comment 8 Marcin Deranek 2009-05-03 20:29:24 UTC
Recompiled again with -g instead of -ggdb and got SIGTRAP..
See updated backtrace..
Comment 9 Marcin Deranek 2009-05-03 20:30:11 UTC
Created attachment 190255 [details]
bt full
Comment 10 Marcin Deranek 2009-05-03 20:32:40 UTC
Created attachment 190256 [details]
thread apply all bt full
Comment 11 Marcin Deranek 2009-05-03 20:34:55 UTC
This might be the very same problem: http://bugzilla.gnome.org/show_bug.cgi?id=567335
although in my case I can reproduce it anytime..
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-03 20:49:41 UTC
ok I could reproduce as well, I'll attach my gdb trace that I got by setting a breakpoint on gdk_x_error to the upstream bug.
Comment 13 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-07 23:23:56 UTC
added upstream patch to 0.12.1-r1. It fixed it for me, feel free to reopen if it doesn't for you.