GNOME Bugzilla – Bug 597276
Rygel crash on startup
Last modified: 2009-10-12 22:26:17 UTC
Created attachment 144706 [details] terminal output Hi, I'm using ubuntu 9.10 beta, i installed James Henstridge's PPA repos and I installed deb package from there, I tried both jaunty and karmic repository. Every times I've tried to launch rygel, I receive a "segmentation fault (core dumped)". I've also installed pulseaudio module, but crash happens even if it's not installed.
If you need further informations, just ask. Thanks !
Hmm.. what version is this exactly? Can you re-produce this when you disable MediaExport plugin?
version is rygel 0.4.1 And yes, it doesn't crash when I run 'rygel -d MediaExport' This is the output: peyu@ouessant:~$ rygel -d MediaExport ** (rygel:5165): DEBUG: rygel-user-config.vala:140: Loaded user configuration from file '/home/peyu/.config/rygel.conf' ** (rygel:5165): DEBUG: rygel-main.vala:108: new network context lo (127.0.0.1) available. ** (rygel:5165): DEBUG: rygel-main.vala:130: Ignoring network context lo (127.0.0.1). ** (rygel:5165): WARNING **: Failed to create context for interface 'eth0': Ressource temporairement non disponible ** (rygel:5165): DEBUG: rygel-main.vala:108: new network context eth1 (192.168.1.27) available. ** (rygel:5165): DEBUG: rygel-plugin-loader.vala:168: Loaded module source: '/usr/lib/rygel-1.0/librygel-external.so' ** (rygel:5165): DEBUG: rygel-plugin-loader.vala:59: New plugin 'MediaExport' available ** (rygel:5165): WARNING **: rygel-main.vala:176: Failed to create RootDevice for MediaExport. Reason: Plugin disabled in user configuration. ** (rygel:5165): DEBUG: rygel-plugin-loader.vala:168: Loaded module source: '/usr/lib/rygel-1.0/librygel-media-export.so' ** (rygel:5165): DEBUG: rygel-plugin-loader.vala:59: New plugin 'org.gnome.UPnP.MediaServer1.PulseAudio' available ** (rygel:5165): DEBUG: rygel-root-device-factory.vala:218: No icon provided by org.gnome.UPnP.MediaServer1.PulseAudio.
Thanks a lot for all the information you provided but could you do one more thing and provide us the back-trace of the crash? That will help us pinpoint the issue.
I installed the same version from James Henstridge's PPA (karmic version: 0.4.1-0jh1). In my case, I got segfaults repeatedly by simply launching rygel. Three times, it segfaulted right after trying to index the same file (according to the DEBUG log) ** (rygel:7662): DEBUG: rygel-metadata-extractor.vala:146: Scheduling file ... for metadata extraction This file was a JPEG picture, and the only thing noteworthy about it was it containted parenthesis. Deleting this file and restarting rygel, the initial indexing completed without problems. I will do some more tests...
I confirm that the extractor segfaults on a particular file, but this has nothing to do with parenthesis in the filename, renaming the filename does not prevent the crash. As it seems clear now that this bug is not related to what the reporter is seeing, should I open a new bug and attach the file there ? Thanks.
Opened bug 597351, sorry for intruding François.
Created attachment 144746 [details] Rydel backtrace
No worries Arnaud ! It's my first backtrace, I followed ubuntu's wiki instructions, so I hope it's ok. Don't hesitate to ask if you need something else. By the way, where can I find rygel documentation ? I'm trying to stream a pulseaudio output through rydel (with pulseaudio rygel module) to a UPnP device, but I hadn't any luck :( Thanks !
(In reply to comment #9) > No worries Arnaud ! > > It's my first backtrace, I followed ubuntu's wiki instructions, so I hope it's > ok. Don't hesitate to ask if you need something else. Nah, it's perfect. I think I've seen this before. As a temporary workaround, could you please add some directories to MediaExport using rygel-preferences? > By the way, where can I find rygel documentation ? I'm trying to stream a > pulseaudio output through rydel (with pulseaudio rygel module) to a UPnP > device, but I hadn't any luck :( Unfortunately, we are not doing very well on documentation (any help extremely appreciated). What happens exactly? Lets continue this off-topic discussion on the mailing-list (or IRC) please.
That sounds familiar and I thought I already fixed that :-\ Will investigate.
I added some directories to MediaExport using rygel-preferences, and I haven't any segfault anymore launching rygel :)
What does the following program print for you? import glib print "MUSIC", glib.get_user_special_dir(glib.USER_DIRECTORY_MUSIC) print "PICTURES", glib.get_user_special_dir(glib.USER_DIRECTORY_PICTURES) print "VIDEOS", glib.get_user_special_dir(glib.USER_DIRECTORY_VIDEOS)
I'm really sorry, but I can't help you anymore, because my ubuntu 9.10 beta installation break down yesterday so I had to reinstall everything, and now it's work fine: I didn't configure rygel with rygel-preferences but it detected all my music and videos :) I'm using a fresh install of ubuntu 9.10 beta for amd64 and I get rygel packages from James Henstridge's PPA.
No problems. Thanks for all the info and please re-open this bug if you encounter it again. :)
Experiencing the same problem on Karmic here. Reopening it.
Just for further reference: The skript above outputs: MUSIC /home/jens PICTURES /home/jens VIDEOS /home/jens Which is somewhat wrong :(
commit e00edbaae1092407a8083b539fb800a3e2283cb2 Author: Jens Georg <mail@jensge.org> Date: Tue Oct 13 00:22:59 2009 +0200 media-export: Fix #597276 This bug was triggered by a misconfiguration of XDG on Karmic which was mapp Pictures, Videos and Music to $HOME. Now checking if a directory is already scheduled for extraction.