banshee closes two seconds after opening

Bug #769545 reported by Paul White
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
banshee (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: banshee

Every time I start banshee it closes two seconds or so after opening.
I have tried with and without plugins.

This message is displayed if started from a terminal window:

Debug info from gdb:

Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: banshee 2.0.0-2ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Sat Apr 23 17:04:45 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110423)
ProcEnviron:
 LANGUAGE=en_GB:en
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: banshee
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Paul White (paulw2u) wrote :
Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 769545] [NEW] banshee closes two seconds after opening

Could you try running:

sudo sysctl kernel.yama.ptrace_scope=0
banshee --debug

And then posting the output here? It looks like there's a separate bug in mono
that does not handle gdb attaching properly, so this is a workaround to get a
proper backtrace.

To be safe, you could set the value back to 1 after you have gotten the output:
sudo sysctl kernel.yama.ptrace_scope=1.

  status incomplete
--
Kind regards,
Loong Jin

Changed in banshee (Ubuntu):
status: New → Incomplete
Revision history for this message
Ray Strilec (rstrilec) wrote :
Download full text (20.3 KiB)

Here is the output

:~$ banshee --debug
** Running Mono with --debug **
[1 Info 13:34:27.302] Running Banshee 2.0.0: [Ubuntu Natty (development branch) (linux-gnu, x86_64) @ 2011-04-18 16:18:52 UTC]
[1 Debug 13:34:27.327] Initializing GTK
[1 Debug 13:34:29.296] Post-Initializing GTK
[1 Debug 13:34:29.313] Configuration client extension loaded (Banshee.GnomeBackend.GConfConfigurationClient)
[1 Debug 13:34:29.335] Using default gconf-base-key
[1 Debug 13:34:29.385] Bus.Session.RequestName ('org.bansheeproject.Banshee') replied with PrimaryOwner
[1 Debug 13:34:29.482] Core service started (DBusServiceManager, 0.001751)
[1 Debug 13:34:29.485] Registering remote object /org/bansheeproject/Banshee/DBusCommandService (Banshee.ServiceStack.DBusCommandService) on org.bansheeproject.Banshee
[1 Debug 13:34:29.498] Core service started (DBusCommandService, 0.015099)
[1 Debug 13:34:29.543] Opened SQLite (version 3.7.4) connection to /home/raynatty/.config/banshee-1/banshee.db
[1 Debug 13:34:29.544] Core service started (DbConnection, 0.046337)
[1 Debug 13:34:29.555] Database version 43 is up to date
[1 Debug 13:34:29.618] Core service started (PreferenceService, 0.025536)
[1 Debug 13:34:29.629] Core service started (Network, 0.010695)
[1 Debug 13:34:29.630] Registering remote object /org/bansheeproject/Banshee/SourceManager (Banshee.Sources.SourceManager) on org.bansheeproject.Banshee
[1 Debug 13:34:29.630] Core service started (SourceManager, 0.001)
[1 Debug 13:34:29.642] Core service started (MediaProfileManager, 0.000374)
[1 Debug 13:34:29.647] Registering remote object /org/bansheeproject/Banshee/PlayerEngine (Banshee.MediaEngine.PlayerEngineService) on org.bansheeproject.Banshee
[1 Debug 13:34:29.649] Core service started (PlayerEngine, 0.006826)
[1 Debug 13:34:29.674] Registering remote object /org/bansheeproject/Banshee/PlaybackController (Banshee.PlaybackController.PlaybackControllerService) on org.bansheeproject.Banshee
[1 Debug 13:34:29.675] Core service started (PlaybackController, 0.004066)
[1 Debug 13:34:29.686] Starting - Startup Job
[1 Debug 13:34:29.688] Core service started (JobScheduler, 0.012246)
[1 Debug 13:34:29.712] IO provider extension loaded (Banshee.IO.Gio.Provider)
[1 Debug 13:34:29.764] Loaded HardwareManager backend: Banshee.Hardware.Gio
[1 Debug 13:34:29.766] Core service started (HardwareManager, 0.078129)
[1 Debug 13:34:29.769] Bus.Session.RequestName ('org.bansheeproject.CollectionIndexer') replied with PrimaryOwner
[1 Debug 13:34:29.771] Registering remote object /org/bansheeproject/Banshee/CollectionIndexerService (Banshee.Collection.Indexer.CollectionIndexerService) on org.bansheeproject.CollectionIndexer
[1 Debug 13:34:29.774] Core service started (CollectionIndexerService, 0.007117)
[1 Debug 13:34:29.776] Core service started (SaveTrackMetadataService, 0.002455)
[1 Debug 13:34:29.789] Adding icon theme search path: /usr/share/banshee/icons
[1 Debug 13:34:29.791] Core service started (GtkElementsService, 0.013986)
[1 Debug 13:34:29.793] Core service started (InterfaceActionService, 0.002316)
[1 Debug 13:34:29.948] Extension actions loaded: MetadataFixActions
[1 Debug 13:34:29.948] Registering remote object /org/bans...

Revision history for this message
Paul White (paulw2u) wrote :
Download full text (23.2 KiB)

Loong Jin,

Here is the output you requested:

paul@DELL:~$ banshee --debug
** Running Mono with --debug **
[1 Info 19:04:32.711] Running Banshee 2.0.0: [Ubuntu Natty (development branch) (linux-gnu, i686) @ 2011-04-18 16:21:33 UTC]
[1 Debug 19:04:32.755] Initializing GTK
[1 Debug 19:04:35.439] Post-Initializing GTK
[1 Debug 19:04:35.466] Configuration client extension loaded (Banshee.GnomeBackend.GConfConfigurationClient)
[1 Debug 19:04:35.499] Using default gconf-base-key
[1 Debug 19:04:35.582] Bus.Session.RequestName ('org.bansheeproject.Banshee') replied with PrimaryOwner
[1 Debug 19:04:35.719] Core service started (DBusServiceManager, 0.002033)
[1 Debug 19:04:35.723] Registering remote object /org/bansheeproject/Banshee/DBusCommandService (Banshee.ServiceStack.DBusCommandService) on org.bansheeproject.Banshee
[1 Debug 19:04:35.745] Core service started (DBusCommandService, 0.025802)
[1 Debug 19:04:35.819] Opened SQLite (version 3.7.4) connection to /home/paul/.config/banshee-1/banshee.db
[1 Debug 19:04:35.820] Core service started (DbConnection, 0.074679)
[1 Debug 19:04:35.841] Database version 43 is up to date
[1 Debug 19:04:35.897] Core service started (PreferenceService, 0.01555)
[1 Debug 19:04:35.914] Core service started (Network, 0.01707)
[1 Debug 19:04:35.915] Registering remote object /org/bansheeproject/Banshee/SourceManager (Banshee.Sources.SourceManager) on org.bansheeproject.Banshee
[1 Debug 19:04:35.915] Core service started (SourceManager, 0.001038)
[1 Debug 19:04:35.947] Core service started (MediaProfileManager, 0.000377)
[1 Debug 19:04:35.956] Registering remote object /org/bansheeproject/Banshee/PlayerEngine (Banshee.MediaEngine.PlayerEngineService) on org.bansheeproject.Banshee
[1 Debug 19:04:35.958] Core service started (PlayerEngine, 0.011203)
[1 Debug 19:04:36.001] Registering remote object /org/bansheeproject/Banshee/PlaybackController (Banshee.PlaybackController.PlaybackControllerService) on org.bansheeproject.Banshee
[1 Debug 19:04:36.002] Core service started (PlaybackController, 0.007058)
[1 Debug 19:04:36.021] Starting - Startup Job
[1 Debug 19:04:36.025] Core service started (JobScheduler, 0.022971)
[1 Debug 19:04:36.060] IO provider extension loaded (Banshee.IO.Gio.Provider)
[1 Debug 19:04:36.143] Loaded HardwareManager backend: Banshee.Hardware.Gio
[1 Debug 19:04:36.146] Core service started (HardwareManager, 0.120629)
[1 Debug 19:04:36.152] Bus.Session.RequestName ('org.bansheeproject.CollectionIndexer') replied with PrimaryOwner
[1 Debug 19:04:36.154] Registering remote object /org/bansheeproject/Banshee/CollectionIndexerService (Banshee.Collection.Indexer.CollectionIndexerService) on org.bansheeproject.CollectionIndexer
[1 Debug 19:04:36.163] Core service started (CollectionIndexerService, 0.017036)
[1 Debug 19:04:36.168] Core service started (SaveTrackMetadataService, 0.004652)
[1 Debug 19:04:36.206] Adding icon theme search path: /usr/share/banshee/icons
[1 Debug 19:04:36.207] Core service started (GtkElementsService, 0.039484)
[1 Debug 19:04:36.214] Core service started (InterfaceActionService, 0.006357)
[1 Debug 19:04:36.453] Extension actions loaded: MetadataFixActions
[1 Debug 19:04:36.454] Reg...

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 769545] Re: banshee closes two seconds after opening

Thanks, Paul.

Ugh, that looks like the libnss_wins.so bug again.

  duplicate 529714

The workaround is to remove "wins" from the hosts: line in /etc/nsswitch.conf.

--
Kind regards,
Loong Jin

Revision history for this message
dhananjaysathe (dhananjaysathe) wrote :

This is a bug that shows up when the Mirage engine extension is enabled and one has a sufficiently large library.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.