After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 701934 - Crash on upload to empty server
Crash on upload to empty server
Status: RESOLVED OBSOLETE
Product: rygel
Classification: Applications
Component: MediaExport plugin
git master
Other Linux
: Normal normal
: ---
Assigned To: Jens Georg
rygel-maint
: 705280 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-06-10 14:02 UTC by Jens Georg
Modified: 2018-05-22 12:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
media-export: Properly clean-up database on start-up (1.18 KB, patch)
2013-08-17 07:57 UTC, Jens Georg
committed Details | Review

Description Jens Georg 2013-06-10 14:02:05 UTC
Steps to reproduce:

rygel -oMediaExport:uris:
gupnp-upload -c DLNA.ORG_AnyContainer -i "Test" uuid:.... some_file.mp3

It'll crash in https://git.gnome.org/browse/rygel/tree/src/plugins/media-export/rygel-media-export-media-cache.vala#n810 then because the factory returns null because the query-container factory returns null.
Comment 1 Jens Georg 2013-06-12 11:12:56 UTC
Also happens with virtual folders disabled.
Comment 2 Jens Georg 2013-08-01 13:19:39 UTC
*** Bug 705280 has been marked as a duplicate of this bug. ***
Comment 3 Jens Georg 2013-08-17 07:57:03 UTC
Created attachment 251978 [details] [review]
media-export: Properly clean-up database on start-up
Comment 4 Jens Georg 2013-08-18 05:42:53 UTC
Mark, can you check whether this fixes your crash as well?
Comment 5 Mark Ryan 2013-09-09 10:24:58 UTC
This patch fixes the issue for me.
Comment 6 Jens Georg 2013-09-09 11:41:20 UTC
mhm, the patch also removes server-side playlists :-/
Comment 7 Jens Georg 2013-09-09 12:18:53 UTC
the whole virtual-folder disabling seems to be meddling with server-side playlists
Comment 8 Jens Georg 2013-09-16 17:30:13 UTC
Comment on attachment 251978 [details] [review]
media-export: Properly clean-up database on start-up

For the freeze, just fix the crasher and live with the regression of losing
server-side playlists as they keep being persisted and reappear after
reenabling virtual folders

Attachment 251978 [details] pushed as c35b659 - media-export: Properly clean-up database on start-up
Comment 9 GNOME Infrastructure Team 2018-05-22 12:38:09 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rygel/issues/38.