Bug 526132 - Banshee 1.5.1-0.3.git20090917.fc12 SEGFAULT when trying to play song
Summary: Banshee 1.5.1-0.3.git20090917.fc12 SEGFAULT when trying to play song
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: banshee
Version: rawhide
Hardware: i686
OS: Linux
low
high
Target Milestone: ---
Assignee: Christian Krause
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 529622 530459 530588 530644 (view as bug list)
Depends On: 529965
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-29 00:20 UTC by Manatsawin Hanmongkolchai
Modified: 2009-10-31 19:55 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-10-31 15:44:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Manatsawin Hanmongkolchai 2009-09-29 00:20:27 UTC
Description of problem:
Banshee get SEGFAULT when trying to play a song, editing preference.

The system is not clean install of Rawhide. It's upgraded Fedora 11 system using preupgrade.


Version-Release number of selected component (if applicable): 1.5.1-0.3.git20090917.fc12 (When running banshee-1 it says Running Banshee 1.5.1: [Fedora12-1.5.1-0.3.git20090917.fc12 (linux-gnu, i386) @ 2009-09-17 12:36:24 EDT])


How reproducible:
Always


Steps to Reproduce:
1. Upgrades to rawhide
2. Open banshee
3. Click on anything
  
Actual results:
Banshee crash with Segmentation fault


Expected results:
Banshee plays the song/open the preference dialog.


Additional info:
First time banshee is launched and a song is played. Second time banshee is launched and the preference dialog is called.

[whs@WHSnotebook banshee-1]$ banshee-1 --debug
** Running Mono with --debug   **
[Info  07:13:11.048] Running Banshee 1.5.1: [Fedora12-1.5.1-0.3.git20090917.fc12 (linux-gnu, i386) @ 2009-09-17 12:36:24 EDT]
pp SCAN: SetupDomain
[Debug 07:13:13.025] Bus.Session.RequestName ('org.bansheeproject.Banshee') replied with PrimaryOwner
[Debug 07:13:13.040] Core service started (DBusServiceManager, 0.001594s)
[Debug 07:13:13.042] Registering remote object /org/bansheeproject/Banshee/DBusCommandService (Banshee.ServiceStack.DBusCommandService) on org.bansheeproject.Banshee
[Debug 07:13:13.050] Core service started (DBusCommandService, 0.009253s)
[Debug 07:13:13.226] Opened SQLite connection to /home/whs/.config/banshee-1/banshee.db
[Debug 07:13:13.226] Core service started (DbConnection, 0.176559s)
[Debug 07:13:13.230] Database version 35 is up to date
[Debug 07:13:13.267] Core service started (PreferenceService, 0.01113s)
[Debug 07:13:13.268] Registering remote object /org/bansheeproject/Banshee/SourceManager (Banshee.Sources.SourceManager) on org.bansheeproject.Banshee
[Debug 07:13:13.268] Core service started (SourceManager, 0.00078s)
[Debug 07:13:13.269] Core service started (MediaProfileManager, 0.000258s)
[Debug 07:13:13.270] Registering remote object /org/bansheeproject/Banshee/PlayerEngine (Banshee.MediaEngine.PlayerEngineService) on org.bansheeproject.Banshee
[Debug 07:13:13.271] Core service started (PlayerEngine, 0.002579s)
[Debug 07:13:13.278] Configuration client extension loaded (Banshee.GnomeBackend.GConfConfigurationClient)
[Debug 07:13:13.294] Using default gconf-base-key
[Debug 07:13:13.344] IO provider extension loaded (Banshee.IO.Unix.Provider)
[Debug 07:13:13.362] Core service started (TranscoderService, 0.021389s)
[Debug 07:13:13.364] Registering remote object /org/bansheeproject/Banshee/PlaybackController (Banshee.PlaybackController.PlaybackControllerService) on org.bansheeproject.Banshee
[Debug 07:13:13.364] Core service started (PlaybackController, 0.002504s)
[Debug 07:13:13.365] Core service started (ImportSourceManager, 0.000483s)
[Debug 07:13:13.371] Core service started (LibraryImportManager, 0.005351s)
[Debug 07:13:13.372] Core service started (JobScheduler, 0.000909s)
[Debug 07:13:13.386] Core service started (HardwareManager, 0.014294s)
[Debug 07:13:13.427] Bus.Session.RequestName ('org.bansheeproject.CollectionIndexer') replied with PrimaryOwner
[Debug 07:13:13.429] Registering remote object /org/bansheeproject/Banshee/CollectionIndexerService (Banshee.Collection.Indexer.CollectionIndexerService) on org.bansheeproject.CollectionIndexer
[Debug 07:13:13.429] Core service started (CollectionIndexerService, 0.043358s)
[Debug 07:13:13.431] Core service started (SaveMetadataService, 0.001848s)
[Debug 07:13:13.452] Adding icon theme search path: /usr/share/banshee-1/icons
[Debug 07:13:13.454] Core service started (GtkElementsService, 0.022631s)
[Debug 07:13:13.457] Core service started (InterfaceActionService, 0.002219s)
[Debug 07:13:13.553] Album artwork path set to /home/whs/.cache/album-art
[Debug 07:13:13.553] Core service started (ArtworkManager, 0.002214s)
[Debug 07:13:13.938] Adding context page lastfm-recommendations
[Debug 07:13:14.465] Registering remote object /org/bansheeproject/Banshee/ClientWindow (Nereid.PlayerInterface) on org.bansheeproject.Banshee
[Debug 07:13:14.465] Core service started (NereidPlayerInterface, 0.912054s)
[Debug 07:13:14.504] Extension service started (GStreamerCoreService, 0.038399s)
[Debug 07:13:14.520] Extension service started (BpmService, 0.015716s)
[Debug 07:13:14.533] Using GNOME 2.22 API for Multimedia Keys
[Debug 07:13:14.534] Extension service started (MultimediaKeysService, 0.013272s)
[Debug 07:13:14.540] Extension service started (PodcastService, 0.006031s)
[Debug 07:13:14.540] Extension service started (DapService, 0.00035s)
[Debug 07:13:14.542] Extension service started (DaapService, 0.002052s)
[Debug 07:13:14.549] Extension service started (GnomeService, 0.006186s)
[Debug 07:13:14.570] Core service started (Network, 0.006397s)
[Debug 07:13:14.571] Audioscrobbler state: connected
[Debug 07:13:14.582] Extension service started (AudioscrobblerService, 0.032904s)
[Debug 07:13:14.597] Extension service started (NotificationAreaService, 0.015561s)
[Debug 07:13:14.611] Extension service started (BookmarksService, 0.013814s)
[Debug 07:13:14.614] Extension service started (CoverArtService, 0.002723s)
[Debug 07:13:14.618] Extension service started (MiniModeService, 0.003344s)
[Debug 07:13:14.703] Extension service started (AudioCdService, 0.085369s)
[Info  07:13:14.704] All services are started 1.672349s
[Debug 07:13:15.459] Registering remote object /org/bansheeproject/Banshee/SourceManager/PlayQueue (Banshee.PlayQueue.PlayQueueSource) on org.bansheeproject.Banshee
[Debug 07:13:15.624] Loaded IScreensaverManager: Banshee.GnomeBackend.GnomeScreensaverManager
[Debug 07:13:16.018] Creating Pango.Layout, configuring Cairo.Context
[Debug 07:13:16.066] Creating Pango.Layout, configuring Cairo.Context
[Debug 07:13:16.108] Creating Pango.Layout, configuring Cairo.Context
[Info  07:13:16.463] nereid Client Started
[Debug 07:13:16.464] Delayed Initializating Banshee.MediaEngine.PlayerEngineService
[Debug 07:13:16.472] (libbanshee:player) Using built-in equalizer element
[Debug 07:13:16.530] Player state change: NotReady -> Ready
[Debug 07:13:16.535] Player state change: Ready -> Idle
[Debug 07:13:16.538] (libbanshee:player) Enabled ReplayGain
[Debug 07:13:16.539] (libbanshee:player) scaled volume: 1.000000 (ReplayGain) * 1.000000 (User) = 1.000000
[Debug 07:13:16.539] Delayed Initializating Banshee.Podcasting.PodcastService
[Debug 07:13:16.683] Refreshing any podcasts that haven't been updated in over an hour
[Debug 07:13:16.685] Delayed Initializating Banshee.Dap.DapService
[Debug 07:13:16.691] Dap support extension loaded: Banshee.Dap.MassStorage
[Debug 07:13:17.248] Dap support extension loaded: Banshee.Dap.Ipod
[Debug 07:13:17.648] Dap support extension loaded: Banshee.Dap.Mtp
[Debug 07:13:18.077] Delayed Initializating Banshee.Daap.DaapService
[Debug 07:13:20.510] Player state change: Idle -> Loading
[Debug 07:13:20.838] (libbanshee:player) scaled volume: 1.000000 (ReplayGain) * 1.000000 (User) = 1.000000
[Debug 07:13:20.838] Player state change: Loading -> Loaded
[Debug 07:13:20.838] (libbanshee:player) scaled volume: 1.000000 (ReplayGain) * 1.000000 (User) = 1.000000
[Debug 07:13:20.954] Player state change: Loaded -> Playing
[Debug 07:13:21.097] Creating Pango.Layout, configuring Cairo.Context
[Debug 07:13:21.097] Creating Pango.Layout, configuring Cairo.Context
Stacktrace:

  at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal.copy_from_unmanaged (intptr,int,System.Array,int) <0x00004>
  at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal.copy_from_unmanaged (intptr,int,System.Array,int) <0xffffffff>
  at System.Runtime.InteropServices.Marshal.Copy (intptr,byte[],int,int) [0x00000] in /builddir/build/BUILD/mono-2.4.2.3/mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs:161
  at Avahi.Utility.PtrToString (intptr) [0x00020] in /builddir/build/BUILD/avahi-0.6.25/avahi-sharp/Utility.cs:51
  at Avahi.ServiceBrowser.OnServiceBrowserCallback (intptr,int,Avahi.Protocol,Avahi.BrowserEvent,intptr,intptr,intptr,Avahi.LookupResultFlags,intptr) [0x0001e] in /builddir/build/BUILD/avahi-0.6.25/avahi-sharp/ServiceBrowser.cs:187
  at (wrapper native-to-managed) Avahi.ServiceBrowser.OnServiceBrowserCallback (intptr,int,Avahi.Protocol,Avahi.BrowserEvent,intptr,intptr,intptr,Avahi.LookupResultFlags,intptr) <0xffffffff>
  at (wrapper managed-to-native) Avahi.Client.avahi_simple_poll_loop (intptr) <0x00004>
  at (wrapper managed-to-native) Avahi.Client.avahi_simple_poll_loop (intptr) <0xffffffff>
  at Avahi.Client.PollLoop () [0x00008] in /builddir/build/BUILD/avahi-0.6.25/avahi-sharp/Client.cs:377
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

Segmentation fault
[whs@WHSnotebook banshee-1]$ banshee-1 --debug
** Running Mono with --debug   **
[Info  07:16:43.881] Running Banshee 1.5.1: [Fedora12-1.5.1-0.3.git20090917.fc12 (linux-gnu, i386) @ 2009-09-17 12:36:24 EDT]
pp SCAN: SetupDomain
[Debug 07:16:45.528] Bus.Session.RequestName ('org.bansheeproject.Banshee') replied with PrimaryOwner
[Debug 07:16:45.536] Core service started (DBusServiceManager, 0.001522s)
[Debug 07:16:45.538] Registering remote object /org/bansheeproject/Banshee/DBusCommandService (Banshee.ServiceStack.DBusCommandService) on org.bansheeproject.Banshee
[Debug 07:16:45.547] Core service started (DBusCommandService, 0.010717s)
[Debug 07:16:45.717] Opened SQLite connection to /home/whs/.config/banshee-1/banshee.db
[Debug 07:16:45.717] Core service started (DbConnection, 0.170162s)
[Debug 07:16:45.724] Database version 35 is up to date
[Debug 07:16:45.770] Core service started (PreferenceService, 0.010154s)
[Debug 07:16:45.771] Registering remote object /org/bansheeproject/Banshee/SourceManager (Banshee.Sources.SourceManager) on org.bansheeproject.Banshee
[Debug 07:16:45.771] Core service started (SourceManager, 0.001149s)
[Debug 07:16:45.772] Core service started (MediaProfileManager, 0.000368s)
[Debug 07:16:45.798] Registering remote object /org/bansheeproject/Banshee/PlayerEngine (Banshee.MediaEngine.PlayerEngineService) on org.bansheeproject.Banshee
[Debug 07:16:45.800] Core service started (PlayerEngine, 0.027744s)
[Debug 07:16:45.820] Configuration client extension loaded (Banshee.GnomeBackend.GConfConfigurationClient)
[Debug 07:16:45.853] Using default gconf-base-key
[Debug 07:16:45.943] IO provider extension loaded (Banshee.IO.Unix.Provider)
[Debug 07:16:45.962] Core service started (TranscoderService, 0.023205s)
[Debug 07:16:45.964] Registering remote object /org/bansheeproject/Banshee/PlaybackController (Banshee.PlaybackController.PlaybackControllerService) on org.bansheeproject.Banshee
[Debug 07:16:45.965] Core service started (PlaybackController, 0.003006s)
[Debug 07:16:45.966] Core service started (ImportSourceManager, 0.000696s)
[Debug 07:16:45.988] Core service started (LibraryImportManager, 0.022045s)
[Debug 07:16:45.989] Core service started (JobScheduler, 0.000999s)
[Debug 07:16:46.029] Core service started (HardwareManager, 0.039481s)
[Debug 07:16:46.067] Bus.Session.RequestName ('org.bansheeproject.CollectionIndexer') replied with PrimaryOwner
[Debug 07:16:46.068] Registering remote object /org/bansheeproject/Banshee/CollectionIndexerService (Banshee.Collection.Indexer.CollectionIndexerService) on org.bansheeproject.CollectionIndexer
[Debug 07:16:46.069] Core service started (CollectionIndexerService, 0.040398s)
[Debug 07:16:46.071] Core service started (SaveMetadataService, 0.001941s)
[Debug 07:16:46.092] Adding icon theme search path: /usr/share/banshee-1/icons
[Debug 07:16:46.094] Core service started (GtkElementsService, 0.022291s)
[Debug 07:16:46.096] Core service started (InterfaceActionService, 0.002107s)
[Debug 07:16:46.202] Album artwork path set to /home/whs/.cache/album-art
[Debug 07:16:46.202] Core service started (ArtworkManager, 0.002818s)
[Debug 07:16:46.557] Adding context page lastfm-recommendations
[Debug 07:16:47.092] Registering remote object /org/bansheeproject/Banshee/ClientWindow (Nereid.PlayerInterface) on org.bansheeproject.Banshee
[Debug 07:16:47.092] Core service started (NereidPlayerInterface, 0.889862s)
[Debug 07:16:47.138] Extension service started (GStreamerCoreService, 0.04514s)
[Debug 07:16:47.144] Extension service started (BpmService, 0.005759s)
[Debug 07:16:47.161] Using GNOME 2.22 API for Multimedia Keys
[Debug 07:16:47.162] Extension service started (MultimediaKeysService, 0.017336s)
[Debug 07:16:47.171] Extension service started (PodcastService, 0.008858s)
[Debug 07:16:47.171] Extension service started (DapService, 0.000326s)
[Debug 07:16:47.173] Extension service started (DaapService, 0.001685s)
[Debug 07:16:47.177] Extension service started (GnomeService, 0.004081s)
[Debug 07:16:47.196] Core service started (Network, 0.006717s)
[Debug 07:16:47.196] Audioscrobbler state: connected
[Debug 07:16:47.199] Extension service started (AudioscrobblerService, 0.021998s)
[Debug 07:16:47.211] Extension service started (NotificationAreaService, 0.012166s)
[Debug 07:16:47.227] Extension service started (BookmarksService, 0.015442s)
[Debug 07:16:47.229] Extension service started (CoverArtService, 0.002314s)
[Debug 07:16:47.233] Extension service started (MiniModeService, 0.003539s)
[Debug 07:16:47.307] Extension service started (AudioCdService, 0.072711s)
[Info  07:16:47.307] All services are started 1.777402s
[Debug 07:16:47.799] Registering remote object /org/bansheeproject/Banshee/SourceManager/PlayQueue (Banshee.PlayQueue.PlayQueueSource) on org.bansheeproject.Banshee
[Debug 07:16:47.873] Loaded IScreensaverManager: Banshee.GnomeBackend.GnomeScreensaverManager
[Debug 07:16:48.157] Creating Pango.Layout, configuring Cairo.Context
[Debug 07:16:48.181] Creating Pango.Layout, configuring Cairo.Context
[Debug 07:16:48.235] Creating Pango.Layout, configuring Cairo.Context
[Info  07:16:48.604] nereid Client Started
[Debug 07:16:48.605] Delayed Initializating Banshee.MediaEngine.PlayerEngineService
[Debug 07:16:48.613] (libbanshee:player) Using built-in equalizer element
[Debug 07:16:48.692] Player state change: NotReady -> Ready
[Debug 07:16:48.701] Player state change: Ready -> Idle
[Debug 07:16:48.706] (libbanshee:player) Enabled ReplayGain
[Debug 07:16:48.707] (libbanshee:player) scaled volume: 1.000000 (ReplayGain) * 1.000000 (User) = 1.000000
[Debug 07:16:48.707] Delayed Initializating Banshee.Podcasting.PodcastService
[Debug 07:16:48.849] Refreshing any podcasts that haven't been updated in over an hour
[Debug 07:16:48.850] Delayed Initializating Banshee.Dap.DapService
[Debug 07:16:48.856] Dap support extension loaded: Banshee.Dap.MassStorage
[Debug 07:16:49.336] Dap support extension loaded: Banshee.Dap.Ipod
[Debug 07:16:49.743] Dap support extension loaded: Banshee.Dap.Mtp
[Debug 07:16:50.170] Delayed Initializating Banshee.Daap.DaapService
[Debug 07:16:52.795] Created library directory: /home/whs/Podcasts
[Debug 07:16:53.005] Initialized MediaProfileManager: 0.130422s
[Debug 07:16:53.118] GStreamer pipeline does not run: audioconvert ! xingenc bitrate=128 ! id3v2mux
[Debug 07:16:53.202] GStreamer pipeline does not run: audioconvert ! fluwmaenc bitrate=64000 vbr=false ! fluasfmux
Stacktrace:

  at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal.copy_from_unmanaged (intptr,int,System.Array,int) <0x00004>
  at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal.copy_from_unmanaged (intptr,int,System.Array,int) <0xffffffff>
  at System.Runtime.InteropServices.Marshal.Copy (intptr,byte[],int,int) [0x00000] in /builddir/build/BUILD/mono-2.4.2.3/mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs:161
  at Avahi.Utility.PtrToString (intptr) [0x00020] in /builddir/build/BUILD/avahi-0.6.25/avahi-sharp/Utility.cs:51
  at Avahi.ServiceBrowser.OnServiceBrowserCallback (intptr,int,Avahi.Protocol,Avahi.BrowserEvent,intptr,intptr,intptr,Avahi.LookupResultFlags,intptr) [0x0001e] in /builddir/build/BUILD/avahi-0.6.25/avahi-sharp/ServiceBrowser.cs:187
  at (wrapper native-to-managed) Avahi.ServiceBrowser.OnServiceBrowserCallback (intptr,int,Avahi.Protocol,Avahi.BrowserEvent,intptr,intptr,intptr,Avahi.LookupResultFlags,intptr) <0xffffffff>
  at (wrapper managed-to-native) Avahi.Client.avahi_simple_poll_loop (intptr) <0x00004>
  at (wrapper managed-to-native) Avahi.Client.avahi_simple_poll_loop (intptr) <0xffffffff>
  at Avahi.Client.PollLoop () [0x00008] in /builddir/build/BUILD/avahi-0.6.25/avahi-sharp/Client.cs:377
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

Segmentation fault

Comment 1 Michel Lind 2009-09-29 18:15:15 UTC
Bizarre, works fine on my end. Some parts of the trace are interesting, though:

From the second trace:
[Debug 07:16:53.118] GStreamer pipeline does not run: audioconvert ! xingenc
bitrate=128 ! id3v2mux
[Debug 07:16:53.202] GStreamer pipeline does not run: audioconvert ! fluwmaenc
bitrate=64000 vbr=false ! fluasfmux

I am assuming this is actually the song playback, not the preference dialog (otherwise the debug trace does not make any sense). What sort of files were you trying to play? Does the problem occur also with e.g. Ogg Vorbis / FLAC files?

Also, if you move your ~/.config/banshee-1 directory out of the way, does it fix anything? You can also remove ~/.gconf/apps/banshee-1 and then 'killall gconfd-2' to make sure that no old Banshee settings remain (the important files with your song ratings etc. are in ~/.config, so don't delete them if not necessary!)

Comment 2 Manatsawin Hanmongkolchai 2009-09-30 05:31:38 UTC
I have removed both the gconf tree and killed gconf, and removed the banshee-1 directory, however when I try to add song, banshee crash.

Stack trace: (this time I fire up banshee, wait some time and it crash. I didn't click or do anything on the window)

[whs@WHSnotebook dw-cut]$ banshee-1 --debug
** Running Mono with --debug   **
[Info  12:21:09.860] Running Banshee 1.5.1: [Fedora12-1.5.1-0.3.git20090917.fc12 (linux-gnu, i386) @ 2009-09-17 12:36:24 EDT]
pp SCAN: SetupDomain
[Debug 12:21:11.538] Bus.Session.RequestName ('org.bansheeproject.Banshee') replied with PrimaryOwner
[Debug 12:21:11.545] Core service started (DBusServiceManager, 0.001426s)
[Debug 12:21:11.552] Registering remote object /org/bansheeproject/Banshee/DBusCommandService (Banshee.ServiceStack.DBusCommandService) on org.bansheeproject.Banshee
[Debug 12:21:11.560] Core service started (DBusCommandService, 0.013991s)
[Debug 12:21:11.752] Opened SQLite connection to /home/whs/.config/banshee-1/banshee.db
[Debug 12:21:11.752] Core service started (DbConnection, 0.192625s)
[Debug 12:21:11.757] Database version 35 is up to date
[Debug 12:21:11.812] Core service started (PreferenceService, 0.013395s)
[Debug 12:21:11.813] Registering remote object /org/bansheeproject/Banshee/SourceManager (Banshee.Sources.SourceManager) on org.bansheeproject.Banshee
[Debug 12:21:11.813] Core service started (SourceManager, 0.001005s)
[Debug 12:21:11.813] Core service started (MediaProfileManager, 0.000195s)
[Debug 12:21:11.815] Registering remote object /org/bansheeproject/Banshee/PlayerEngine (Banshee.MediaEngine.PlayerEngineService) on org.bansheeproject.Banshee
[Debug 12:21:11.816] Core service started (PlayerEngine, 0.00242s)
[Debug 12:21:11.825] Configuration client extension loaded (Banshee.GnomeBackend.GConfConfigurationClient)
[Debug 12:21:11.858] Using default gconf-base-key
[Debug 12:21:11.923] IO provider extension loaded (Banshee.IO.Unix.Provider)
[Debug 12:21:11.937] Core service started (TranscoderService, 0.017247s)
[Debug 12:21:11.940] Registering remote object /org/bansheeproject/Banshee/PlaybackController (Banshee.PlaybackController.PlaybackControllerService) on org.bansheeproject.Banshee
[Debug 12:21:11.940] Core service started (PlaybackController, 0.003069s)
[Debug 12:21:11.941] Core service started (ImportSourceManager, 0.00054s)
[Debug 12:21:11.947] Core service started (LibraryImportManager, 0.005465s)
[Debug 12:21:11.948] Core service started (JobScheduler, 0.00089s)
[Debug 12:21:11.962] Core service started (HardwareManager, 0.014227s)
[Debug 12:21:11.987] Bus.Session.RequestName ('org.bansheeproject.CollectionIndexer') replied with PrimaryOwner
[Debug 12:21:11.989] Registering remote object /org/bansheeproject/Banshee/CollectionIndexerService (Banshee.Collection.Indexer.CollectionIndexerService) on org.bansheeproject.CollectionIndexer
[Debug 12:21:11.989] Core service started (CollectionIndexerService, 0.027344s)
[Debug 12:21:11.991] Core service started (SaveMetadataService, 0.00198s)
[Debug 12:21:12.012] Adding icon theme search path: /usr/share/banshee-1/icons
[Debug 12:21:12.014] Core service started (GtkElementsService, 0.022163s)
[Debug 12:21:12.016] Core service started (InterfaceActionService, 0.001882s)
[Debug 12:21:12.110] Album artwork path set to /home/whs/.cache/album-art
[Debug 12:21:12.110] Core service started (ArtworkManager, 0.002147s)
[Debug 12:21:12.521] Adding context page lastfm-recommendations
[Debug 12:21:13.100] Registering remote object /org/bansheeproject/Banshee/ClientWindow (Nereid.PlayerInterface) on org.bansheeproject.Banshee
[Debug 12:21:13.100] Core service started (NereidPlayerInterface, 0.98917s)
[Debug 12:21:13.146] Extension service started (GStreamerCoreService, 0.045138s)
[Debug 12:21:13.151] Extension service started (BpmService, 0.005053s)
[Debug 12:21:13.164] Using GNOME 2.22 API for Multimedia Keys
[Debug 12:21:13.164] Extension service started (MultimediaKeysService, 0.013552s)
[Debug 12:21:13.168] Extension service started (PodcastService, 0.003645s)
[Debug 12:21:13.169] Extension service started (DapService, 0.000296s)
[Debug 12:21:13.170] Extension service started (DaapService, 0.001591s)
[Debug 12:21:13.175] Extension service started (GnomeService, 0.004297s)
[Debug 12:21:13.195] Core service started (Network, 0.006837s)
[Debug 12:21:13.196] Audioscrobbler state: connected
[Debug 12:21:13.198] Extension service started (AudioscrobblerService, 0.023238s)
[Debug 12:21:13.211] Extension service started (NotificationAreaService, 0.012328s)
[Debug 12:21:13.225] Extension service started (BookmarksService, 0.014194s)
[Debug 12:21:13.228] Extension service started (CoverArtService, 0.002487s)
[Debug 12:21:13.298] Extension service started (AudioCdService, 0.07034s)
[Info  12:21:13.299] All services are started 1.759668s
[Debug 12:21:13.874] Registering remote object /org/bansheeproject/Banshee/SourceManager/PlayQueue (Banshee.PlayQueue.PlayQueueSource) on org.bansheeproject.Banshee
[Debug 12:21:13.926] Loaded IScreensaverManager: Banshee.GnomeBackend.GnomeScreensaverManager
[Debug 12:21:14.162] Creating Pango.Layout, configuring Cairo.Context
[Debug 12:21:14.179] Creating Pango.Layout, configuring Cairo.Context
[Debug 12:21:14.187] Creating Pango.Layout, configuring Cairo.Context
[Info  12:21:14.366] nereid Client Started
[Debug 12:21:14.377] Delayed Initializating Banshee.MediaEngine.PlayerEngineService
[Debug 12:21:14.391] (libbanshee:player) Using built-in equalizer element
[Debug 12:21:14.469] Player state change: NotReady -> Ready
[Debug 12:21:14.476] Player state change: Ready -> Idle
[Debug 12:21:14.498] (libbanshee:player) Disabled ReplayGain
[Debug 12:21:14.498] Delayed Initializating Banshee.Podcasting.PodcastService
[Debug 12:21:14.620] Refreshing any podcasts that haven't been updated in over an hour
[Debug 12:21:14.622] Delayed Initializating Banshee.Dap.DapService
[Debug 12:21:14.627] Dap support extension loaded: Banshee.Dap.MassStorage
[Debug 12:21:15.140] Dap support extension loaded: Banshee.Dap.Ipod
[Debug 12:21:15.547] Dap support extension loaded: Banshee.Dap.Mtp
[Debug 12:21:15.850] Delayed Initializating Banshee.Daap.DaapService
Stacktrace:

  at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal.copy_from_unmanaged (intptr,int,System.Array,int) <0x00004>
  at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal.copy_from_unmanaged (intptr,int,System.Array,int) <0xffffffff>
  at System.Runtime.InteropServices.Marshal.Copy (intptr,byte[],int,int) [0x00000] in /builddir/build/BUILD/mono-2.4.2.3/mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs:161
  at Avahi.Utility.PtrToString (intptr) [0x00020] in /builddir/build/BUILD/avahi-0.6.25/avahi-sharp/Utility.cs:51
  at Avahi.ServiceBrowser.OnServiceBrowserCallback (intptr,int,Avahi.Protocol,Avahi.BrowserEvent,intptr,intptr,intptr,Avahi.LookupResultFlags,intptr) [0x0001e] in /builddir/build/BUILD/avahi-0.6.25/avahi-sharp/ServiceBrowser.cs:187
  at (wrapper native-to-managed) Avahi.ServiceBrowser.OnServiceBrowserCallback (intptr,int,Avahi.Protocol,Avahi.BrowserEvent,intptr,intptr,intptr,Avahi.LookupResultFlags,intptr) <0xffffffff>
  at (wrapper managed-to-native) Avahi.Client.avahi_simple_poll_loop (intptr) <0x00004>
  at (wrapper managed-to-native) Avahi.Client.avahi_simple_poll_loop (intptr) <0xffffffff>
  at Avahi.Client.PollLoop () [0x00008] in /builddir/build/BUILD/avahi-0.6.25/avahi-sharp/Client.cs:377
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

Segmentation fault

Seems that the error occured with Avahi but avahi-daemon is still running. avahi-discover runs fine.
Also, avahi-sharp's version is 0.6.25-5.fc12.i686

Comment 3 davide 2009-10-20 18:15:41 UTC
As a confirmation I report that I recompiled banshee from git and with --disable-daap and --disable-avahi options. It seems to work perfectly.
It is running for few hours now without any issues.

If you need further info or details ask me.

Comment 4 Christian Krause 2009-10-20 22:04:30 UTC
*** Bug 529622 has been marked as a duplicate of this bug. ***

Comment 5 Michael Monreal 2009-10-20 22:15:25 UTC
As a workaround for now, disabling DAAP in $HOME/.config/banshee-1/addin-db-001/config.xml like this works fine for me:

<Configuration>                                                                 
  <AddinStatus>
...
    <Addin id="Banshee.Daap,1.0" enabled="False" />
...
  </AddinStatus>
</Configuration>

Just a quick thought: maybe the firewall messes things up for mDNS somehow?

Comment 6 Christian Krause 2009-10-20 22:26:17 UTC
I debugged the problem - here are the results:

- all backtraces indicated a problem /builddir/build/BUILD/avahi-0.6.25/avahi-sharp/Utility.cs:51

- I've added some debug code there and it looks like that the strlen function returns wrong values (very large numbers) and so the copying of the bytes with
             Marshal.Copy (ptr, bytes, 0, len);
results in a segmentation fault

- this file uses C#'s DllImport feature to import the "strlen" call from the libc:
        [DllImport ("libc")]
        private static extern int strlen (IntPtr ptr);

- mono's runtime environment will then dlopen the libc and use dlsym to access the strlen function

- for an unknown reason this function will return wrong values even if the string is correctly terminated with \0

So it looks like, that strlen cannot be dlsym'ed from F12's glibc. This can be easily reproduced with a small C-program (which runs fine in F11). I'll open a bug report for Fedora's glibc.

I don't think we can do much about it in banshee (besides disabling avahi/daap support) for now. But let's see first what the glibc's maintainer will respond...

Comment 7 Christian Krause 2009-10-22 21:52:35 UTC
*** Bug 530459 has been marked as a duplicate of this bug. ***

Comment 8 Christian Krause 2009-10-23 20:51:56 UTC
*** Bug 530588 has been marked as a duplicate of this bug. ***

Comment 9 Manatsawin Hanmongkolchai 2009-10-24 04:01:41 UTC
Tried workaround in comment 5 and it works.

Comment 10 davide 2009-10-24 17:25:48 UTC
I've not the $HOME/.config/banshee-1/addin-db-001/config.xml file.
Can I just create it with the content in comment #5 (https://bugzilla.redhat.com/show_bug.cgi?id=526132#c5)?

Comment 11 Manatsawin Hanmongkolchai 2009-10-25 00:31:29 UTC
davide, you can create it yourself with this command:

cat << EOF > ~/.config/banshee-1/addin-db-001/config.xml
<Configuration>
    <AddinStatus>
        <Addin id="Banshee.Daap,1.0" enabled="False" />
    </AddinStatus>
</Configuration>
EOF

Comment 12 Christian Krause 2009-10-25 10:54:01 UTC
*** Bug 530644 has been marked as a duplicate of this bug. ***

Comment 13 Christian Krause 2009-10-31 15:44:05 UTC
The problem is fixed in the most recent updates:

banshee-1.5.1-3.fc12.i686
mono-zeroconf-0.9.0-2.fc12.i686

Comment 14 Alex Lancaster 2009-10-31 19:55:07 UTC
(In reply to comment #13)
> The problem is fixed in the most recent updates:
> 
> banshee-1.5.1-3.fc12.i686
> mono-zeroconf-0.9.0-2.fc12.i686  

Any chance of an update to banshee 1.5.1 on F-11?  Looks like a build was made:

http://koji.fedoraproject.org/koji/buildinfo?buildID=137303

but never added as a bodhi update.


Note You need to log in before you can comment on or make changes to this bug.