rhythmbox segfault when scanning files, on non-media file

Bug #1600581 reported by Carsten on 2016-07-10
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
rhythmbox (Ubuntu)
Medium
Unassigned

Bug Description

rhythmbox crashes with segfault every time shortly after startup since my upgrade from ubuntu 15.10 to 16.04.
This is while importing media files.

My music library is in ~/Musik, Musik is a soft link to a directory on an encrypted partition.
~/Musik is set in the preferences, yet rhythmbox still looks at my whole file system.

The last file mentioned in the output of "rhythmbox -d >rb.out" is not always the same.
It is however the same if I run rhythmbox several times in a row.
It seems to be always outside of my music library.
A few 1000 files are imported before the crash occurs.

######################

beginning + end of rb.out:

(12:39:16) [0xf10b90] [rb_debug_init_match] rb-debug.c:240: Debugging enabled
(12:39:16) [0xf10b90] [construct_db] rb-shell.c:454: creating database object
(12:39:16) [0xf10b90] [impl_constructor] rb-ext-db.c:354: creating new metadata store instance album-art
(12:39:16) [0xf10b90] [rb_shell_constructed] rb-shell.c:1693: Constructing shell
(12:39:16) [0xf10b90] [construct_widgets] rb-shell.c:537: shell: initializing shell services
(12:39:16) [0xf10b90] [impl_constructor] rb-ext-db.c:349: found existing metadata store album-art
(12:39:16) [0xf10b90] [rb_podcast_manager_start_update_timer] rb-podcast-manager.c:591: last periodic update at 1468146098, interval 3600, time is now 1468147156
(12:39:16) [0xf10b90] [rb_podcast_manager_start_update_timer] rb-podcast-manager.c:598: next periodic update in 2542 seconds
(12:39:16) [0xf10b90] [player_settings_changed_cb] rb-shell-player.c:923: track transition time changed
(12:39:16) [0xf10b90] [player_settings_changed_cb] rb-shell-player.c:914: play order setting changed
(12:39:16) [0xf10b90] [rb_shell_player_sync_buttons] rb-shell-player.c:1974: syncing with source (nil)
(12:39:16) [0xf10b90] [rb_shell_player_sync_control_state] rb-shell-player.c:1468: syncing control state
(12:39:16) [0xf10b90] [rb_shell_player_set_playing_source_internal] rb-shell-player.c:2055: setting playing source to (nil)
(12:39:16) [0xf10b90] [rb_shell_player_sync_with_source] rb-shell-player.c:1882: playing source: (nil), active entry: (nil)
(12:39:16) [0xf10b90] [rb_shell_player_sync_control_state] rb-shell-player.c:1468: syncing control state
(12:39:16) [0xf10b90] [rb_display_page_model_add_page] rb-display-page-model.c:672: appending page Library with no parent
(12:39:16) [0xf10b90] [rb_display_page_model_add_page] rb-display-page-model.c:672: appending page Stores with no parent
(12:39:16) [0xf10b90] [rb_display_page_model_add_page] rb-display-page-model.c:672: appending page Playlists with no parent
(12:39:16) [0xf10b90] [rb_display_page_model_add_page] rb-display-page-model.c:672: appending page Devices with no parent
(12:39:16) [0xf10b90] [rb_display_page_model_add_page] rb-display-page-model.c:672: appending page Shared with no parent
(12:39:16) [0xf10b90] [impl_constructor] rb-ext-db.c:349: found existing metadata store album-art
(12:39:16) [0xf10b90] [rb_header_sync] rb-header.c:970: not playing
(12:39:16) [0xf10b90] [rhythmdb_query_model_chain] rhythmdb-query-model.c:921: query model 0x13175f0 chaining to base model (nil)
(12:39:16) [0xf10b90] [rhythmdb_query_model_chain] rhythmdb-query-model.c:921: query model 0x13176b0 chaining to base model (nil)
(12:39:16) [0xf10b90] [rhythmdb_query_model_dispose] rhythmdb-query-model.c:731: disposing query model 0x13175f0
(12:39:16) [0xf10b90] [rhythmdb_query_model_finalize] rhythmdb-query-model.c:779: finalizing query model 0x13175f0
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x13c7740 (title: , key: PlaylistTrack)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x13cea70 (title: Track, key: Track)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x13cece0 (title: Title, key: Title)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x13cef50 (title: Genre, key: Genre)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x14482a0 (title: Artist, key: Artist)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x1448510 (title: Composer, key: Composer)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x1448780 (title: Album, key: Album)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x1450a80 (title: Year, key: Year)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x1450cf0 (title: Time, key: Time)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x1450f60 (title: Quality, key: Quality)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x145a250 (title: Rating, key: Rating)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x145a4c0 (title: Play Count, key: PlayCount)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x145a730 (title: Comment, key: Comment)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x1462a60 (title: Location, key: Location)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x1462cd0 (title: Last Played, key: LastPlayed)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x1462f40 (title: Date Added, key: FirstSeen)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x1474a90 (title: BPM, key: BPM)
(12:39:16) [0xf10b90] [rb_property_view_selection_changed_cb] rb-property-view.c:864: selection changed
(12:39:16) [0xf10b90] [rb_property_view_selection_changed_cb] rb-property-view.c:864: selection changed
(12:39:16) [0xf10b90] [rb_property_view_selection_changed_cb] rb-property-view.c:864: selection changed
(12:39:16) [0xf10b90] [rb_property_view_selection_changed_cb] rb-property-view.c:864: selection changed
(12:39:16) [0xf10b90] [rebuild_child_model] rb-library-browser.c:687: no selection for browser 0 - reusing parent model
(12:39:16) [0xf10b90] [rebuild_child_model] rb-library-browser.c:687: no selection for browser 1 - reusing parent model
(12:39:16) [0xf10b90] [rebuild_child_model] rb-library-browser.c:687: no selection for browser 2 - reusing parent model
(12:39:16) [0xf10b90] [rb_property_view_selection_changed_cb] rb-property-view.c:864: selection changed
(12:39:16) [0xf10b90] [rb_property_view_selection_changed_cb] rb-property-view.c:864: selection changed
(12:39:16) [0xf10b90] [rb_property_view_selection_changed_cb] rb-property-view.c:864: selection changed
(12:39:16) [0xf10b90] [rhythmdb_query_model_chain] rhythmdb-query-model.c:921: query model 0x148c3a0 chaining to base model (nil)
(12:39:16) [0xf10b90] [rhythmdb_query_model_chain] rhythmdb-query-model.c:921: query model 0x148c3a0 chaining to base model 0x13176b0
(12:39:16) [0xf10b90] [rebuild_child_model] rb-library-browser.c:687: no selection for browser 0 - reusing parent model
(12:39:16) [0xf10b90] [rebuild_child_model] rb-library-browser.c:687: no selection for browser 1 - reusing parent model
(12:39:16) [0xf10b90] [rebuild_child_model] rb-library-browser.c:687: no selection for browser 2 - reusing parent model
(12:39:16) [0xf10b90] [rb_property_view_selection_changed_cb] rb-property-view.c:864: selection changed
(12:39:16) [0xf10b90] [rb_property_view_selection_changed_cb] rb-property-view.c:864: selection changed
(12:39:16) [0xf10b90] [rb_property_view_selection_changed_cb] rb-property-view.c:864: selection changed
(12:39:16) [0xf10b90] [action_change_state_cb] rb-source-search-basic.c:215: tried to change search type to unknown value search-match
(12:39:16) [0xf10b90] [rb_entry_view_sync_columns_visible] rb-entry-view.c:2453: visible columns: post-time => 50
(12:39:16) [0xf10b90] [rb_entry_view_sync_columns_visible] rb-entry-view.c:2453: visible columns: artist => 4
(12:39:16) [0xf10b90] [rb_entry_view_sync_columns_visible] rb-entry-view.c:2453: visible columns: duration => 10
(12:39:16) [0xf10b90] [rb_entry_view_sync_columns_visible] rb-entry-view.c:2453: visible columns: location => 12
(12:39:16) [0xf10b90] [rb_entry_view_sync_columns_visible] rb-entry-view.c:2453: visible columns: track-number => 6
(12:39:16) [0xf10b90] [rb_entry_view_sync_columns_visible] rb-entry-view.c:2453: visible columns: first-seen => 15
(12:39:16) [0xf10b90] [rb_entry_view_sync_columns_visible] rb-entry-view.c:2453: visible columns: album => 5
(12:39:16) [0xf10b90] [rb_source_bind_settings] rb-source.c:1437: binding paned position for (null)
(12:39:16) [0xf10b90] [rb_source_bind_settings] rb-source.c:1446: binding show-browser for (null)
(12:39:16) [0xf10b90] [rhythmdb_query_model_chain] rhythmdb-query-model.c:921: query model 0x148c760 chaining to base model (nil)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x152c180 (title: Play Queue, key: Title)
(12:39:16) [0xf10b90] [rhythmdb_query_model_dispose] rhythmdb-query-model.c:731: disposing query model 0x148c760
(12:39:16) [0xf10b90] [rhythmdb_query_model_finalize] rhythmdb-query-model.c:779: finalizing query model 0x148c760
(12:39:16) [0xf10b90] [rb_display_page_model_add_page] rb-display-page-model.c:669: inserting source Play Queue with parent 0x7fc14800f800
(12:39:16) [0xf10b90] [update_group_visibility] rb-display-page-model.c:561: page group Library changing visibility from 0 to 1
(12:39:16) [0xf10b90] [update_group_visibility] rb-display-page-model.c:561: page group Library changing visibility from 1 to 0
(12:39:16) [0xf10b90] [rb_shell_constructed] rb-shell.c:1752: shell: syncing with settings
(12:39:16) [0xf10b90] [rb_property_view_selection_changed_cb] rb-property-view.c:864: selection changed
(12:39:16) [0xf10b90] [rb_property_view_selection_changed_cb] rb-property-view.c:864: selection changed
(12:39:16) [0xf10b90] [rb_property_view_selection_changed_cb] rb-property-view.c:864: selection changed
(12:39:16) [0xf10b90] [rb_property_view_selection_changed_cb] rb-property-view.c:864: selection changed
(12:39:16) [0xf10b90] [rhythmdb_query_model_chain] rhythmdb-query-model.c:921: query model 0x1577770 chaining to base model (nil)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x158e520 (title: Track, key: Track)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x158e790 (title: Title, key: Title)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x15a32a0 (title: Genre, key: Genre)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x15a3510 (title: Artist, key: Artist)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x15a3780 (title: Album, key: Album)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x15c4a90 (title: Composer, key: Composer)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x15c4d00 (title: Year, key: Year)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x15c4f70 (title: Time, key: Time)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x15cca80 (title: Quality, key: Quality)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x15cccf0 (title: Play Count, key: PlayCount)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x15ccf60 (title: BPM, key: BPM)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x15d8290 (title: Comment, key: Comment)
(12:39:16) [0xf10b90] [rb_entry_view_insert_column_custom] rb-entry-view.c:1742: appending column: 0x15d8500 (title: Location, key: Location)
(12:39:16) [0xf10b90] [rb_source_bind_settings] rb-source.c:1423: binding entry view sort order for (null)

######################
final lines:

(12:40:53) [0xf10b90] [rhythmdb_process_one_event] rhythmdb.c:2636: processing RHYTHMDB_EVENT_METADATA_LOAD
(12:40:53) [0xf10b90] [rhythmdb_process_one_event] rhythmdb.c:2636: processing RHYTHMDB_EVENT_METADATA_LOAD
(12:40:53) [0xf10b90] [rhythmdb_process_one_event] rhythmdb.c:2636: processing RHYTHMDB_EVENT_METADATA_LOAD
(12:40:53) [0xf10b90] [rhythmdb_process_one_event] rhythmdb.c:2636: processing RHYTHMDB_EVENT_METADATA_LOAD
(12:40:53) [0xf10b90] [rhythmdb_add_import_error_entry] rhythmdb.c:2320: adding import error type ignore for file:///home/USER/USER_home/games/a500neu/amiga100MB-files/root/compiler/dice/bin/wc: No valid frames decoded before end of stream
(12:40:53) [0xf10b90] [rhythmdb_add_import_error_entry] rhythmdb.c:2328: file:///home/USER/USER_home/games/a500neu/amiga100MB-files/root/compiler/dice/bin/wc already exists in the library.. ignoring import error?
(12:40:53) [0xf10b90] [rhythmdb_add_import_error_entry] rhythmdb.c:2320: adding import error type import-error for file:///home/USER/USER_home/games/a500neu/amiga100MB-files/root/compiler/dice/bin/wc: No valid frames decoded before end of stream
(12:40:53) [0xf10b90] [rhythmdb_add_import_error_entry] rhythmdb.c:2328: file:///home/USER/USER_home/games/a500neu/amiga100MB-files/root/compiler/dice/bin/wc already exists in the library.. ignoring import error?
(12:40:53) [0xf10b90] [emit_container_updated_cb] rb-dbus-media-server-plugin.c:436: emitting updates
(12:40:53) [0xf10b90] [emit_property_value_property_updates] rb-dbus-media-server-plugin.c:765: updating properties for /org/gnome/UPnP/MediaServer2/Library/artist/Car Talk/Click and Clack
(12:40:53) [0xf10b90] [emit_property_value_property_updates] rb-dbus-media-server-plugin.c:765: updating properties for /org/gnome/UPnP/MediaServer2/Library/album/Car Talk October 5, 2015
(12:40:53) [0xf10b90] [emit_property_value_property_updates] rb-dbus-media-server-plugin.c:765: updating properties for /org/gnome/UPnP/MediaServer2/Library/genre/Acid
(12:40:53) [0xf10b90] [emit_source_tracks_property_updates] rb-dbus-media-server-plugin.c:1292: updating properties for source /org/gnome/UPnP/MediaServer2/Library
(12:40:53) [0xf10b90] [emit_source_tracks_property_updates] rb-dbus-media-server-plugin.c:1292: updating properties for source /org/gnome/UPnP/MediaServer2/Playlists/37841616
(12:40:53) [0xf10b90] [emit_container_updated_cb] rb-dbus-media-server-plugin.c:491: done emitting updates
(12:40:53) [0xf10b90] [rhythmdb_process_one_event] rhythmdb.c:2636: processing RHYTHMDB_EVENT_METADATA_LOAD
(12:40:53) [0xf10b90] [rhythmdb_add_import_error_entry] rhythmdb.c:2320: adding import error type ignore for file:///home/USER/USER_home/games/c64spiele/1!bardst.s2: No valid frames found before end of stream
(12:40:53) [0xf10b90] [rhythmdb_add_import_error_entry] rhythmdb.c:2328: file:///home/USER/USER_home/games/c64spiele/1!bardst.s2 already exists in the library.. ignoring import error?
(12:40:53) [0xf10b90] [rhythmdb_add_import_error_entry] rhythmdb.c:2320: adding import error type import-error for file:///home/USER/USER_home/games/c64spiele/1!bardst.s2: No valid frames found before end of stream
(12:40:53) [0xf10b90] [rhythmdb_add_import_error_entry] rhythmdb.c:2328: file:///home/USER/USER_home/games/c64spiele/1!bardst.s2 already exists in the library.. ignoring import error?
(12:40:53) [0xf10b90] [rhythmdb_process_one_event] rhythmdb.c:2636: processing RHYTHMDB_EVENT_METADATA_LOAD
(12:40:53) [0xf10b90] [rhythmdb_add_import_error_entry] rhythmdb.c:2320: adding import error type ignore for file:///home/USER/USER_home/games/a500neu/amiga100MB-files/root/Werkzeuge/AlertPatch.info: Could not determine type of stream.
(12:40:53) [0xf10b90] [rhythmdb_add_import_error_entry] rhythmdb.c:2328: file:///home/USER/USER_home/games/a500neu/amiga100MB-files/root/Werkzeuge/AlertPatch.info already exists in the library.. ignoring import error?

(rhythmbox:20098): RhythmDB-CRITICAL **: rhythmdb_entry_get_entry_type: assertion 'entry != NULL' failed
(12:40:53) [0xa96aa0] [connection_closed_cb] rb-metadata-dbus-service.c:218: client connection closed

######################

Segmentation fault (core dumped)

######################

Without -d, only this output appears:
(rhythmbox:20098): Gtk-WARNING **: Duplicate child name in GtkStack: Add to Playlist

(rhythmbox:20098): Gtk-WARNING **: Duplicate child name in GtkStack: Add to Playlist

(rhythmbox:20098): Gtk-WARNING **: Duplicate child name in GtkStack: Add to Playlist

(rhythmbox:20098): Gtk-WARNING **: Duplicate child name in GtkStack: Add to Playlist

(rhythmbox:20098): Gtk-WARNING **: Duplicate child name in GtkStack: Add to Playlist

(rhythmbox:20098): Gtk-WARNING **: Duplicate child name in GtkStack: Add to Playlist

Segmentation fault (core dumped)

######################

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: rhythmbox 3.3-1ubuntu7
ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10
Uname: Linux 4.4.0-24-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Jul 10 12:20:00 2016
InstallationDate: Installed on 2015-09-18 (295 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: rhythmbox
UpgradeStatus: Upgraded to xenial on 2016-04-23 (77 days ago)

Carsten (carstenlaunchpad) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rhythmbox (Ubuntu):
status: New → Confirmed
Changed in rhythmbox (Ubuntu):
importance: Undecided → Medium
rithik g (gkrithi) wrote :

stack trace needed.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers