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 626935 - Banshee crashes on startup with X Window System error
Banshee crashes on startup with X Window System error
Status: RESOLVED INCOMPLETE
Product: banshee
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
: 590488 625395 627036 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-08-14 14:34 UTC by sweetthdevil
Modified: 2010-12-18 16:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sweetthdevil 2010-08-14 14:34:23 UTC
Just update the latest version available on Git, and after a 
- ./autogen.sh --disable-appledevice ('cause libgpod-sharp isn't available on Arch)
- make
- make run (to test it, see terminal output) 

[sweetth@myhost banshee]$ make run
[Info  15:28:26.375] Running Banshee 1.7.4: [git-checkout (linux-gnu, i686) @ 2010-08-14 15:26:12 BST]
[1 Debug 15:28:26.389] Initializing GTK
[1 Debug 15:28:28.084] Post-Initializing GTK
[1 Debug 15:28:28.099] Configuration client extension loaded (Banshee.GnomeBackend.GConfConfigurationClient)
[1 Debug 15:28:28.103] Using default gconf-base-key
[1 Debug 15:28:28.163] Bus.Session.RequestName ('org.bansheeproject.Banshee') replied with PrimaryOwner
[1 Debug 15:28:28.210] Core service started (DBusServiceManager, 0.00084)
[1 Debug 15:28:28.212] Registering remote object /org/bansheeproject/Banshee/DBusCommandService (Banshee.ServiceStack.DBusCommandService) on org.bansheeproject.Banshee
[1 Debug 15:28:28.217] Core service started (DBusCommandService, 0.006731)
[1 Debug 15:28:28.263] Opened SQLite (version 3.6.23) connection to /home/sweetth/.config/banshee-1/banshee.db
[1 Debug 15:28:28.263] Core service started (DbConnection, 0.046246)
[1 Debug 15:28:28.266] Database version 42 is up to date
[1 Debug 15:28:28.283] Core service started (PreferenceService, 0.007342)
[1 Debug 15:28:28.283] Registering remote object /org/bansheeproject/Banshee/SourceManager (Banshee.Sources.SourceManager) on org.bansheeproject.Banshee
[1 Debug 15:28:28.283] Core service started (SourceManager, 0.000435)
[1 Debug 15:28:28.289] Core service started (MediaProfileManager, 0.000137)
[1 Debug 15:28:28.291] Registering remote object /org/bansheeproject/Banshee/PlayerEngine (Banshee.MediaEngine.PlayerEngineService) on org.bansheeproject.Banshee
[1 Debug 15:28:28.292] Core service started (PlayerEngine, 0.002824)
[1 Debug 15:28:28.301] Registering remote object /org/bansheeproject/Banshee/PlaybackController (Banshee.PlaybackController.PlaybackControllerService) on org.bansheeproject.Banshee
[1 Debug 15:28:28.302] Core service started (PlaybackController, 0.001869)
[1 Debug 15:28:28.307] Starting - Startup Job
[1 Debug 15:28:28.308] Core service started (JobScheduler, 0.006017)
[1 Debug 15:28:28.316] IO provider extension loaded (Banshee.IO.Unix.Provider)
[1 Debug 15:28:28.321] Loaded HardwareManager backend: Banshee.HalBackend.HardwareManager
[1 Debug 15:28:28.324] Core service started (HardwareManager, 0.015646)
[1 Debug 15:28:28.333] Bus.Session.RequestName ('org.bansheeproject.CollectionIndexer') replied with PrimaryOwner
[1 Debug 15:28:28.334] Registering remote object /org/bansheeproject/Banshee/CollectionIndexerService (Banshee.Collection.Indexer.CollectionIndexerService) on org.bansheeproject.CollectionIndexer
[1 Debug 15:28:28.335] Core service started (CollectionIndexerService, 0.011298)
[1 Debug 15:28:28.336] Core service started (SaveTrackMetadataService, 0.001006)
[1 Debug 15:28:28.348] Adding icon theme search path: /home/sweetth/banshee/bin/share/banshee-1/icons
[1 Debug 15:28:28.349] Core service started (GtkElementsService, 0.012995)
[1 Debug 15:28:28.350] Core service started (InterfaceActionService, 0.000874)
[1 Debug 15:28:28.421] Extension actions loaded: MetadataFixActions
[1 Debug 15:28:28.421] Registering remote object /org/bansheeproject/Banshee/GlobalUIActions (Banshee.Gui.GlobalActions) on org.bansheeproject.Banshee
[1 Debug 15:28:28.421] Album artwork path set to /home/sweetth/.cache/media-art
[1 Debug 15:28:28.429] Core service started (ArtworkManager, 0.007671)
[1 Debug 15:28:28.429] Core service started (BookmarksService, 9.6E-05)
[1 Debug 15:28:28.554] Adding context page lastfm-recommendations
[1 Debug 15:28:28.572] Adding context page wikipedia
[1 Debug 15:28:28.719] Constructed Nereid interface: 0.27525
[1 Debug 15:28:28.787] Creating new surface cache for 90px images, capped at 0.37 MiB (12 items)
[1 Debug 15:28:28.810] Registering remote object /org/bansheeproject/Banshee/ClientWindow (Nereid.PlayerInterface) on org.bansheeproject.Banshee
[1 Debug 15:28:28.810] Core service started (NereidPlayerInterface, 0.38108)
[1 Debug 15:28:28.826] Extension service started (GStreamerCoreService, 0.014922)
[1 Debug 15:28:28.829] Extension service started (BpmService, 0.003258)
[1 Warn  15:28:28.834] Caught an exception - System.ApplicationException: No support GNOME Settings Daemon could be reached. (in `Banshee.MultimediaKeys')
  at Banshee.MultimediaKeys.MultimediaKeysService.Banshee.ServiceStack.IExtensionService.Initialize () [0x000be] in /home/sweetth/banshee/src/Extensions/Banshee.MultimediaKeys/Banshee.MultimediaKeys/MultimediaKeysService.cs:123 
  at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode node) [0x00034] in /home/sweetth/banshee/src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs:200 
[1 Warn  15:28:28.834] Extension `Banshee.MultimediaKeys.MultimediaKeysService' not started: No support GNOME Settings Daemon could be reached.
[1 Debug 15:28:28.836] Extension service started (PodcastService, 0.001627)
[1 Debug 15:28:28.836] Extension service started (DapService, 0.000215)
[1 Warn  15:28:28.873] Cannot connect to NetworkManager or Wicd - An available, working network connection will be assumed
[1 Debug 15:28:28.873] Core service started (Network, 0.00209)
[1 Debug 15:28:28.873] Audioscrobbler state: connected
[1 Debug 15:28:28.874] Extension service started (AudioscrobblerService, 0.038275)
[1 Debug 15:28:28.877] Extension service started (LastfmStreamingService, 0.002315)
[1 Debug 15:28:28.877] Extension service started (DaapService, 0.000511)
[1 Info  15:28:28.879] Updating web proxy from GConf
[1 Debug 15:28:28.881] Direct connection, no proxy in use
[1 Debug 15:28:28.890] Extension service started (GnomeService, 0.013088)
[1 Debug 15:28:28.891] Extension service started (AmazonMp3DownloaderService, 0.000751)
[1 Debug 15:28:28.905] Extension service started (NotificationAreaService, 0.013882)
[1 Debug 15:28:28.906] Extension service started (CoverArtService, 0.001211)
[1 Debug 15:28:28.930] Extension service started (AudioCdService, 0.023751)
[1 Warn  15:28:28.931] Caught an exception - System.ApplicationException: No support GNOME Settings Daemon could be reached. (in `Banshee.MultimediaKeys')
  at Banshee.MultimediaKeys.MultimediaKeysService.Banshee.ServiceStack.IExtensionService.Initialize () [0x000be] in /home/sweetth/banshee/src/Extensions/Banshee.MultimediaKeys/Banshee.MultimediaKeys/MultimediaKeysService.cs:123 
  at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode node) [0x00034] in /home/sweetth/banshee/src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs:200 
[1 Warn  15:28:28.931] Extension `Banshee.MultimediaKeys.MultimediaKeysService' not started: No support GNOME Settings Daemon could be reached.
[1 Info  15:28:28.931] All services are started 0.767317
[1 Debug 15:28:29.374] Registering remote object /org/bansheeproject/Banshee/SourceManager/PlayQueue (Banshee.PlayQueue.PlayQueueSource) on org.bansheeproject.Banshee
[1 Debug 15:28:29.374] Extension source loaded: Play Queue
[1 Debug 15:28:29.378] Extension source loaded: Now Playing
[1 Debug 15:28:29.398] Extension source loaded: Last.fm
[1 Debug 15:28:29.406] Extension source loaded: Radio
[1 Debug 15:28:29.424] Extension source loaded: File System Queue
[1 Debug 15:28:29.428] Extension source loaded: Amazon MP3 Store
[1 Debug 15:28:29.433] Extension source loaded: Miro Guide
[1 Debug 15:28:29.440] Extension source loaded: Internet Archive
[1 Debug 15:28:29.452] Extension source loaded: Audiobooks, etc
[1 Debug 15:28:29.455] Starting GTK main loop
[1 Debug 15:28:29.466] Growing surface cache for 90px images to 0.65 MiB (21 items)
[1 Debug 15:28:29.553] Creating Pango.Layout, configuring Cairo.Context
[1 Debug 15:28:29.594] Creating Pango.Layout, configuring Cairo.Context
[1 Debug 15:28:29.605] Creating Pango.Layout, configuring Cairo.Context
[1 Info  15:28:29.732] nereid Client Started
[1 Debug 15:28:29.735] Delayed Initializating Banshee.MediaEngine.PlayerEngineService
[1 Debug 15:28:29.738] (libbanshee:player) Stream volume supported: YES
[1 Debug 15:28:29.739] (libbanshee:player) Audiosink has volume: NO
[1 Debug 15:28:29.741] (libbanshee:player) Using system (gst-plugins-good) equalizer element
[1 Debug 15:28:29.791] Player state change: NotReady -> Ready
[1 Debug 15:28:29.794] Loaded equalizer presets: 4.8E-05
[1 Debug 15:28:29.796] Selected equalizer: Pop
[1 Debug 15:28:29.799] Player state change: Ready -> Idle
[1 Debug 15:28:29.800] (libbanshee:player) Disabled ReplayGain
[1 Debug 15:28:29.804] Delayed Initializating Banshee.Podcasting.PodcastService
[1 Debug 15:28:29.847] Delayed Initializating Banshee.Dap.DapService
[1 Debug 15:28:29.853] Dap support extension loaded: Banshee.Dap.MassStorage
[1 Debug 15:28:29.853] Dap support extension loaded: Banshee.Dap.Ipod
[1 Debug 15:28:29.854] Dap support extension loaded: Banshee.Dap.Mtp
[1 Debug 15:28:29.989] Delayed Initializating Banshee.Daap.DaapService
[2 Debug 15:28:29.993] Refreshing any podcasts that haven't been updated in over an hour
The program 'Nereid' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 4074 error_code 8 request_code 2 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
make: *** [run] Error 1
Comment 1 Bertrand Lorentz 2010-08-16 15:46:24 UTC
*** Bug 627036 has been marked as a duplicate of this bug. ***
Comment 2 Bertrand Lorentz 2010-08-16 20:41:17 UTC
- Which distro are you running ?

- Could you test if removing the NotificationArea extension helps ?
Just do a "rm bin/Banshee.NotificationArea.dll*" before "make run"
Comment 3 sweetthdevil 2010-08-16 21:51:55 UTC
Yes it work, many thanks,

See terminal output for reference:

[sweetth@myhost banshee]$ rm bin/Banshee.NotificationArea.dll*
[sweetth@myhost banshee]$ make run
[Info  22:48:12.471] Running Banshee 1.7.4: [git-checkout (linux-gnu, 
i686) @ 2010-08-16 17:51:10 BST]
[1 Debug 22:48:12.692] Initializing GTK
[1 Debug 22:48:14.183] Post-Initializing GTK
[1 Debug 22:48:14.239] Configuration client extension loaded 
(Banshee.GnomeBackend.GConfConfigurationClient)
[1 Debug 22:48:14.243] Using default gconf-base-key
[1 Debug 22:48:14.542] Bus.Session.RequestName 
('org.bansheeproject.Banshee') replied with PrimaryOwner
[1 Debug 22:48:14.620] Core service started (DBusServiceManager, 0.000837)
[1 Debug 22:48:14.621] Registering remote object 
/org/bansheeproject/Banshee/DBusCommandService 
(Banshee.ServiceStack.DBusCommandService) on org.bansheeproject.Banshee
[1 Debug 22:48:14.627] Core service started (DBusCommandService, 0.006634)
[1 Debug 22:48:14.953] Opened SQLite (version 3.6.23) connection to 
/home/sweetth/.config/banshee-1/banshee.db
[1 Debug 22:48:14.954] Core service started (DbConnection, 0.327092)
[1 Debug 22:48:14.956] Database version 42 is up to date
[1 Debug 22:48:14.987] Core service started (PreferenceService, 0.020313)
[1 Debug 22:48:14.988] Registering remote object 
/org/bansheeproject/Banshee/SourceManager 
(Banshee.Sources.SourceManager) on org.bansheeproject.Banshee
[1 Debug 22:48:14.988] Core service started (SourceManager, 0.000436)
[1 Debug 22:48:14.994] Core service started (MediaProfileManager, 0.000139)
[1 Debug 22:48:15.005] Registering remote object 
/org/bansheeproject/Banshee/PlayerEngine 
(Banshee.MediaEngine.PlayerEngineService) on org.bansheeproject.Banshee
[1 Debug 22:48:15.007] Core service started (PlayerEngine, 0.013187)
[1 Debug 22:48:15.071] Registering remote object 
/org/bansheeproject/Banshee/PlaybackController 
(Banshee.PlaybackController.PlaybackControllerService) on 
org.bansheeproject.Banshee
[1 Debug 22:48:15.072] Core service started (PlaybackController, 0.
Comment 4 Michael Martin-Smucker 2010-08-23 16:15:17 UTC
Updating the status, since the information has been provided.  Also, from the original report, it looks like this issue is happening on Arch, yes?
Comment 5 sweetthdevil 2010-08-23 16:16:09 UTC
Yes this is correct on Archlinux
Comment 6 Tony Alexander Hild 2010-08-24 21:20:21 UTC
I have the same issue.

openSuse 11.3
kernel 2.6.34-12-desktop
KDE 4.4.4 (KDE 4.4.4) "release 4"

Disabling the NotificationArea plugin Banshee works fine.
Comment 7 Bertrand Lorentz 2010-09-19 15:07:59 UTC
I haven't been able to repoduce this problem. It might have been introduced by the following commit :
http://git.gnome.org/browse/banshee/commit/?id=49c28b9

These kinds of "X Window System error" are usually caused by a GTK call not done from the main thread, but the commit doesn't seem to change anything in that regard. A few "AssertInMainThread" seem to confirm this.

So could you please do the following :

1/ Apply the latest updates from your distro and try to reproduce the problem.
(I'm hoping it was a bug somewhere else that was fixed in the meantime)

2/ Revert the commit in question and try to reproduce the problem.
To revert the commit, just run the following command in a clean git checkout and recompile :
 git revert -n 49c28b9
Comment 8 Andrés G. Aragoneses (IRC: knocte) 2010-09-22 14:27:39 UTC
*** Bug 625395 has been marked as a duplicate of this bug. ***
Comment 9 David Nielsen 2010-11-05 01:45:54 UTC
*** Bug 590488 has been marked as a duplicate of this bug. ***
Comment 10 Bertrand Lorentz 2010-12-18 16:47:46 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!