Crash on start

Bug #804950 reported by Jiremek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
banshee (Ubuntu)
Incomplete
Undecided
Unassigned
gstreamer0.10 (Ubuntu)
New
Undecided
Unassigned

Bug Description

On my user session banshee can't bee started, in console I can show the informations below,
but i can start perfectly with sudo.
In user, the window crash when she appear and i can't do anything, but i can offcourse kill banshee.
I reinstalled the lib requirement and banshee with --purge option of apt-get without sucess.
I also delete my folder banshee in the .config folder with same effect.

BANSHEE OK WITH SUDO:
DBus support could not be started. Disabling for this session.
Stacktrace:
root@ubsrv001:~# banshee
[Info 01:37:44.999] Running Banshee 2.0.1: [Ubuntu 11.04 (linux-gnu, i686) @ 2011-05-07 15:30:07 UTC]
[Warn 01:37:46.317] DBus support could not be started. Disabling for this session.
[Warn 01:37:50.288] Caught an exception - System.ApplicationException: No support GNOME Settings Daemon could be reached. (in `Banshee.MultimediaKeys')
  at Banshee.MultimediaKeys.MultimediaKeysService.Banshee.ServiceStack.IExtensionService.Initialize () [0x00000] in <filename unknown>:0
  at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode node) [0x00000] in <filename unknown>:0
[Warn 01:37:50.290] Extension `Banshee.MultimediaKeys.MultimediaKeysService' not started: No support GNOME Settings Daemon could be reached.
[Info 01:37:50.366] Updating web proxy from GConf
[Warn 01:37:50.615] Caught an exception - System.ArgumentNullException: Argument cannot be null.
Parameter name: address (in `NDesk.DBus')
  at NDesk.DBus.Bus.Open (System.String address) [0x00000] in <filename unknown>:0
  at NDesk.DBus.Bus.get_Session () [0x00000] in <filename unknown>:0
[Warn 01:37:50.615] Extension `Banshee.SoundMenu.SoundMenuService' not started: Unable to open the session message bus.
[Warn 01:37:50.675] Caught an exception - System.ApplicationException: No support GNOME Settings Daemon could be reached. (in `Banshee.MultimediaKeys')
  at Banshee.MultimediaKeys.MultimediaKeysService.Banshee.ServiceStack.IExtensionService.Initialize () [0x00000] in <filename unknown>:0
  at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode node) [0x00000] in <filename unknown>:0
[Warn 01:37:50.675] Extension `Banshee.MultimediaKeys.MultimediaKeysService' not started: No support GNOME Settings Daemon could be reached.

(Banshee:2944): Gtk-WARNING **: Refusing to add non-unique action 'CloseAction' to action group 'Global'
[Warn 01:37:50.678] Caught an exception - System.ArgumentNullException: Argument cannot be null.
Parameter name: address (in `NDesk.DBus')
  at NDesk.DBus.Bus.Open (System.String address) [0x00000] in <filename unknown>:0
  at NDesk.DBus.Bus.get_Session () [0x00000] in <filename unknown>:0
[Warn 01:37:50.678] Extension `Banshee.SoundMenu.SoundMenuService' not started: Unable to open the session message bus.
[Info 01:37:50.682] All services are started 4,359295
[Info 01:37:52.224] AmazonMP3 store redirect URL: http://integrated-services.banshee.fm/amz/redirect.do/
** (Banshee:2944): DEBUG: Syncdaemon not running, waiting for it to start in NameOwnerChanged

(Banshee:2944): libsoup-WARNING **: No feature manager for feature of type 'U1RequestChrome'

** (Banshee:2944): WARNING **: Error calling get_info: Process /usr/lib/ubuntuone-client/ubuntuone-syncdaemon exited with status 1

** (Banshee:2944): CRITICAL **: syncdaemon_folder_info_get_subscribed: assertion `SYNCDAEMON_IS_FOLDER_INFO (finfo)' failed

** (Banshee:2944): WARNING **: Error rescanning Purchased Music: Aucun fichier ou dossier de ce type
** (Banshee:2944): DEBUG: Loading the real store page

** (Banshee:2944): WARNING **: Got less number of items in credentials hash table than expected!
[Info 01:37:58.058] nereid Client Started
[Info 01:37:58.405] GStreamer version 0.10.32.0, gapless: True, replaygain: False
** Message: console message: undefined @0: ReferenceError: Can't find variable: urchinTracker

[Warn 01:38:09.950] Service disposal (MprisService) threw an exception - System.ArgumentNullException: Argument cannot be null.
Parameter name: address (in `NDesk.DBus')
  at NDesk.DBus.Bus.Open (System.String address) [0x00000] in <filename unknown>:0
  at NDesk.DBus.Bus.get_Session () [0x00000] in <filename unknown>:0
System.Exception: Unable to open the session message bus. (in `NDesk.DBus')
  at NDesk.DBus.Bus.get_Session () [0x00000] in <filename unknown>:0
  at Banshee.Mpris.MprisService.System.IDisposable.Dispose () [0x00000] in <filename unknown>:0
  at Banshee.ServiceStack.ServiceManager.Shutdown () [0x00000] in <filename unknown>:0
[Warn 01:38:10.168] Unable to unregister DBus object Banshee.PlayQueue.PlayQueueSource, does not appear to be registered

BANSHEE WITH LOCAL USER:
root@ubsrv001:~# sudo -u jiremek banshee
[Info 01:38:24.117] Running Banshee 2.0.1: [Ubuntu 11.04 (linux-gnu, i686) @ 2011-05-07 15:30:07 UTC]
[Warn 01:38:25.115] DBus support could not be started. Disabling for this session.
Stacktrace:

  at (wrapper managed-to-native) Banshee.GStreamer.Service.gstreamer_initialize (bool,Banshee.GStreamer.Service/BansheeLogHandler) <0x00004>
  at (wrapper managed-to-native) Banshee.GStreamer.Service.gstreamer_initialize (bool,Banshee.GStreamer.Service/BansheeLogHandler) <0x00004>
  at Banshee.GStreamer.Service.Banshee.ServiceStack.IExtensionService.Initialize () <0x00050>
  at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode) <0x00107>
  at Banshee.ServiceStack.ServiceManager.Run () <0x0017c>
  at Banshee.ServiceStack.Application.Run () <0x00046>
  at Banshee.Gui.GtkBaseClient.Initialize (bool) <0x0027e>
  at Banshee.Gui.GtkBaseClient..ctor (bool,string) <0x00023>
  at Banshee.Gui.GtkBaseClient..ctor () <0x00017>
  at Nereid.Client..ctor () <0x00010>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0x00040>
  at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke (object,object[],System.Exception&) <0x00004>
  at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke (object,object[],System.Exception&) <0x00004>
  at System.Reflection.MonoCMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x0018b>
  at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x00027>
  at System.Reflection.ConstructorInfo.Invoke (object[]) <0x00042>
  at System.Activator.CreateInstance (System.Type,bool) <0x00184>
  at System.Activator.CreateInstance (System.Type) <0x00012>
  at Banshee.Gui.GtkBaseClient.Startup () <0x00015>
  at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.CleanRoomStartup/StartupInvocationHandler) <0x00089>
  at Banshee.Gui.GtkBaseClient.Startup<object> () <0x0005c>
  at Banshee.Gui.GtkBaseClient.Startup<object> (string[]) <0x000d8>
  at Nereid.Client.Main (string[]) <0x00015>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0x00043>
  at (wrapper managed-to-native) System.AppDomain.ExecuteAssembly (System.Reflection.Assembly,string[]) <0x00004>
  at (wrapper managed-to-native) System.AppDomain.ExecuteAssembly (System.Reflection.Assembly,string[]) <0x00004>
  at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly,string[]) <0x0002e>
  at System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0x00025>
  at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0x00067>
  at System.AppDomain.ExecuteAssembly (string) <0x00019>
  at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string) <0x00057>
  at Booter.Booter.BootClient (string) <0x00069>
  at Booter.Booter.Main () <0x001a0>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0x0003a>

Native stacktrace:

 banshee() [0x80dbc5b]
 banshee() [0x81136eb]
 [0x50040c]
 /usr/lib/libgstreamer-0.10.so.0(gst_registry_binary_read_cache+0x5ad) [0x9030fad]
 /usr/lib/libgstreamer-0.10.so.0(gst_update_registry+0x199) [0x90074d9]
 /usr/lib/libgstreamer-0.10.so.0(+0x19e64) [0x8fb2e64]
 /lib/i386-linux-gnu/libglib-2.0.so.0(g_option_context_parse+0x3c8) [0x7014f8]
 /usr/lib/libgstreamer-0.10.so.0(gst_init_check+0xe6) [0x8fb39a6]
 /usr/lib/libgstreamer-0.10.so.0(gst_init+0x32) [0x8fb3aa2]
 /usr/lib/banshee/libbanshee.so(gstreamer_initialize+0x42) [0x48331b2]
 [0x2ae5f69]
 [0x2ae5ea1]
 [0x2ae5bf0]
 [0x234902d]
 [0xb1cef7]
 [0x3be27f]
 [0x310e14]
 [0x310dd8]
 [0x310da9]
 [0x3de329]
 banshee() [0x8062bc8]
 banshee(mono_runtime_invoke+0x3e) [0x8192eee]
 banshee(mono_runtime_invoke_array+0x5c8) [0x8196ac8]
 banshee() [0x814a098]
 [0x3de250]
 [0x3dde8c]
 [0x3ddcf8]
 [0x3ddcb3]
 [0x3dc9bd]
 [0x3dc823]
 [0x310d56]
 [0x310c22]
 [0x310b45]
 [0x305419]
 [0x305296]
 [0x3052ec]
 banshee() [0x8062bc8]
 banshee(mono_runtime_invoke+0x3e) [0x8192eee]
 banshee(mono_runtime_exec_main+0xe0) [0x81959e0]
 [0x305227]
 [0x3050e7]
 [0x304fb6]
 [0x304f60]
 [0x304ee2]
 [0x304e98]
 [0x303ab2]
 [0x3d0351]
 [0x3d044b]
 banshee() [0x8062bc8]
 banshee(mono_runtime_invoke+0x3e) [0x8192eee]
 banshee(mono_runtime_exec_main+0xe0) [0x81959e0]
 banshee(mono_runtime_run_main+0x11d) [0x8195ced]
 banshee(mono_main+0x1676) [0x80b7706]
 banshee() [0x8059355]
 /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x19ce37]
 banshee() [0x8059291]

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: Opération non permise.

=================================================================
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.
=================================================================

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 804950] [NEW] Crash on start

Could you get the "banshee --debug" log without using "sudo -u $localuser"?
There are problems with Banshee accessing the D-Bus session bus due to some
environment variables such as DBUS_SESSION_BUS_ADDRESS not being passed by sudo
into the application.

Also, to get a full trace, please set /proc/sys/kernel/yama/ptrace_scope to 0
via the following command before running Banshee.

 sudo sysctl kernel/yama/ptrace_scope=0

  status incomplete

--
Kind regards,
Loong Jin

Changed in banshee (Ubuntu):
status: New → Incomplete
Revision history for this message
Chow Loong Jin (hyperair) wrote :

On 03/07/2011 11:36, Chow Loong Jin wrote:
> Could you get the "banshee --debug" log without using "sudo -u $localuser"?
> There are problems with Banshee accessing the D-Bus session bus due to some
> environment variables such as DBUS_SESSION_BUS_ADDRESS not being passed by sudo
> into the application.
>
> Also, to get a full trace, please set /proc/sys/kernel/yama/ptrace_scope to 0
> via the following command before running Banshee.
>
> sudo sysctl kernel/yama/ptrace_scope=0
>
>
> status incomplete

Oh yeah, I forgot to mention, please install banshee-dbg before getting the next
trace.

--
Kind regards,
Loong Jin

Revision history for this message
Jiremek (jiremek) wrote :
Download full text (15.9 KiB)

This is the complete trace with debug, the banshee-dbg packet installed and ptrace_scope set to 0:

jiremek@ubsrv001:~$ banshee --debug
** Running Mono with --debug **
[1 Info 02:30:01.936] Running Banshee 2.0.1: [Ubuntu 11.04 (linux-gnu, i686) @ 2011-05-07 15:30:07 UTC]
[1 Debug 02:30:02.011] Initializing GTK
[1 Debug 02:30:07.523] Post-Initializing GTK
[1 Debug 02:30:07.579] Configuration client extension loaded (Banshee.GnomeBackend.GConfConfigurationClient)
[1 Debug 02:30:07.643] Using default gconf-base-key
[1 Debug 02:30:07.811] Bus.Session.RequestName ('org.bansheeproject.Banshee') replied with PrimaryOwner
[1 Debug 02:30:08.105] Core service started (DBusServiceManager, 0,004143)
[1 Debug 02:30:08.113] Registering remote object /org/bansheeproject/Banshee/DBusCommandService (Banshee.ServiceStack.DBusCommandService) on org.bansheeproject.Banshee
[1 Debug 02:30:08.162] Core service started (DBusCommandService, 0,052376)
[1 Debug 02:30:08.293] Opened SQLite (version 3.7.4) connection to /home/jiremek/.config/banshee-1/banshee.db
[1 Debug 02:30:08.295] Core service started (DbConnection, 0,132354)
[1 Debug 02:30:08.334] Database version 43 is up to date
[1 Debug 02:30:08.461] Core service started (PreferenceService, 0,043882)
[1 Debug 02:30:08.489] Core service started (Network, 0,027958)
[1 Debug 02:30:08.493] Registering remote object /org/bansheeproject/Banshee/SourceManager (Banshee.Sources.SourceManager) on org.bansheeproject.Banshee
[1 Debug 02:30:08.493] Core service started (SourceManager, 0,003724)
[1 Debug 02:30:08.532] Core service started (MediaProfileManager, 0,001066)
[1 Debug 02:30:08.549] Registering remote object /org/bansheeproject/Banshee/PlayerEngine (Banshee.MediaEngine.PlayerEngineService) on org.bansheeproject.Banshee
[1 Debug 02:30:08.559] Core service started (PlayerEngine, 0,026354)
[1 Debug 02:30:08.634] Registering remote object /org/bansheeproject/Banshee/PlaybackController (Banshee.PlaybackController.PlaybackControllerService) on org.bansheeproject.Banshee
[1 Debug 02:30:08.637] Core service started (PlaybackController, 0,010137)
[1 Debug 02:30:08.675] Starting - Startup Job
[1 Debug 02:30:08.682] Core service started (JobScheduler, 0,045127)
[1 Debug 02:30:08.742] IO provider extension loaded (Banshee.IO.Gio.Provider)
[1 Debug 02:30:08.893] Loaded HardwareManager backend: Banshee.Hardware.Gio
[1 Debug 02:30:08.899] Core service started (HardwareManager, 0,217011)
[1 Debug 02:30:08.911] Bus.Session.RequestName ('org.bansheeproject.CollectionIndexer') replied with PrimaryOwner
[1 Debug 02:30:08.923] Registering remote object /org/bansheeproject/Banshee/CollectionIndexerService (Banshee.Collection.Indexer.CollectionIndexerService) on org.bansheeproject.CollectionIndexer
[1 Debug 02:30:08.933] Core service started (CollectionIndexerService, 0,033338)
[1 Debug 02:30:08.942] Core service started (SaveTrackMetadataService, 0,00841)
[1 Debug 02:30:08.981] Adding icon theme search path: /usr/share/banshee/icons
[1 Debug 02:30:08.987] Core service started (GtkElementsService, 0,045147)
[1 Debug 02:30:08.995] Core service started (InterfaceActionService, 0,007597)
[1 Debug 02:30:09.439] Extension actions loaded: Me...

Revision history for this message
Jiremek (jiremek) wrote :

jiremek@ubsrv001:~/.gstreamer-0.10$ ls -la
total 1656
drwxr-xr-x 2 jiremek jiremek 4096 2011-06-20 01:00 .
drwxr-xr-x 62 jiremek jiremek 4096 2011-07-04 23:52 ..
-rw------- 1 jiremek jiremek 839686 2011-06-20 01:00 registry.i686.bin
-rw------- 1 jiremek jiremek 839686 2011-05-20 07:55 registry.i686.bin.tmpK3XVVV

I've deleted this two files and now all is ok...
PS: reinstall gstreamer didn't solve the problem, the gstreamer configs files seems to be corrupt, probably after a crash.

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.