Bug 224844

Summary: banshee does not start
Product: [openSUSE] openSUSE 10.2 Reporter: Marcus Meissner <meissner>
Component: MonoAssignee: E-mail List <bnc-team-mono>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: akhil.laddha, chuller, forgotten_ny8t7SHjD_
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard: gnome-wrong-out-of-the-box, opensuse-10.2
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: logfile
backtrace
backtrace from marcus

Description Marcus Meissner 2006-11-30 10:51:39 UTC
installed KDE on AMD64 with 10.2rc4.

installed helix-banshee

Then running banshee<return>
shows the splashscreen, but then hangs.

Also later starts of banshee just hang.

strace shows looping futex timeouts.
Comment 1 Marco Michna 2006-11-30 11:22:46 UTC
To be more precise:

During the first startup you can see that there is a problem with gstreamer.
And when started in a konsole/xterm you can see:

--8<--
ERROR: Caught a segmentation fault while loading plugin file:
/opt/gnome/lib/gstreamer-0.10/libgstaudioresample.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap and debug.
-->8--
Comment 2 Marcus Meissner 2006-11-30 11:41:03 UTC
Created attachment 107595 [details]
logfile

captured strace.

looks like it does some DBUS calls but then no progress happens anymore.
Comment 3 Forgotten User ny8t7SHjD_ 2006-12-04 22:44:35 UTC
seems like some problem with me.
first start fine but another hangs

maybe i should open separate bug?

Comment 4 Forgotten User ny8t7SHjD_ 2006-12-04 22:45:27 UTC
Created attachment 108240 [details]
backtrace
Comment 5 Aaron Bockover 2006-12-12 03:37:30 UTC
The backtrace is useless. You must run gdb with LD_LIBRARY_PATH=/usr/lib/banshee. See http://banshee-project.org/Debugging. You will also need the following signals handled (add to ~/.gdbinit or issue before running 'run')

handle SIGXCPU SIG35 SIG33 SIGPWR nostop noprint
handle SIGSEGV pass noprint

From the indication I get in the first error posted, it looks like this is a dup of bug #214051. 

To confirm, you see the gstreamer message on each run? Can you please test these packages: http://abock.org/~aaron/liboil and see if the issue goes away? 
Comment 6 Maks Vasilev 2006-12-15 22:56:50 UTC
openSuSE 10.2 Release + all fixes, bug still here.

If start KDE first, try run bansee then banshee hang on "initializing audio".

If start gnome first, quit and start KDE and here run banshee then all ok.
Comment 7 Aaron Bockover 2006-12-17 21:19:19 UTC
This sounds like it may be hanging on gconf. Can you ensure the gconf daemon is up and running when you do a KDE-only start, to verify?
Comment 8 Marcus Meissner 2007-01-05 14:01:10 UTC
gconfd is started by banshee itself.

seems to be hanging on a pthread conditional.
and there is just 1 thread running.

Comment 9 Marcus Meissner 2007-01-05 14:03:08 UTC
Created attachment 111640 [details]
backtrace from marcus

backtrace taking from waiting mono process
Comment 10 Marcus Meissner 2007-01-05 14:09:17 UTC
it is waiting for a pthread conditional.

note that the program is not multithreaded (just 1 thread running).

I suspect the following:
- banshee initializes gstreamer multihreaded.
- gst notes the registry is not there.
- gst fork()s to create the registry.
- this does not clear the multithread io flag in ORBIT
- this mistakenly assumes it is still multithreaded, while it isnt.
- hangs waiting for uninitialized pthread condition.

So I suspect it is a gstreamer010 bug.


I was able to workaround by starting totem once, afterwards it works.
Comment 11 Forgotten User ny8t7SHjD_ 2007-01-06 13:26:20 UTC
for me banshee works, but its starts very very long.
and switching between plugins or searching for several song hangs banshee for one or two minutes then works again
Comment 12 Federico Mena Quintero 2007-11-14 17:08:08 UTC
Does this still happen on openSUSE 10.3?
Comment 13 Marcus Meissner 2007-11-15 10:20:26 UTC
just did on a KDE Install:

zypper install helix-banshee

then banshee<return>

pops up EULA, and Splashscreen and then backtraces:

tux@westernhagen:~> banshee 
Loading Helix EULA for de
Warning: [15.11.2007 11:17:18] (Cannot connect to NetworkManager) - An available, working network connection will be assumed
Creating track table
Creating playlists table
Creating playlistentries table
Debug: [15.11.2007 11:17:20] (Loading audio profiles) - /usr/share/banshee/audio-profiles
Debug: [15.11.2007 11:17:22] (Standard Wiedergabe-Engine) - Helix Remote
Debug: [15.11.2007 11:17:22] (Audio-CD Kern initialisiert) - 
Warning: [15.11.2007 11:17:22] (Power Management Call Failed) - Cannot find GNOME Power Manager: Name org.gnome.PowerManager has no owner
Debug: [15.11.2007 11:17:22] (Enabled multimedia keys support) - Using org.gnome.SettingsDaemon
Stacktrace:

  at (wrapper managed-to-native) Gtk.Dialog.gtk_dialog_run (intptr) <0x0000e>
  at (wrapper managed-to-native) Gtk.Dialog.gtk_dialog_run (intptr) <0xffffffff>
  at Gtk.Dialog.Run () <0x0002c>
  at Banshee.Gui.GladeDialog.Run () <0x00021>
  at Banshee.PlayerUI.PromptForImport (bool) <0x00120>
  at Banshee.PlayerUI.PromptForImport () <0x00015>
  at <>c__CompilerGenerated2.<OnLibraryReloaded>c__20 (object,System.EventArgs) <0x00020>
  at InvokeCB.Invoke () <0x0001c>
  at TimeoutProxy.Handler () <0x0003c>
  at (wrapper native-to-managed) TimeoutProxy.Handler () <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x0000b>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
  at Gtk.Application.Run () <0x00008>
  at Gnome.Program.Run () <0x0000c>
  at Banshee.BansheeEntry.Startup (string[]) <0x00a53>
  at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.CleanRoomStartup/StartupInvocationHandler,string[]) <0x000d7>
  at Banshee.BansheeEntry.Main (string[]) <0x00050>
  at (wrapper runtime-invoke) Banshee.BansheeEntry.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

Speicherzugriffsfehler
tux@westernhagen:~> 



second call opens the import dialog just fine and banshee works.
Comment 14 Mark Gordon 2007-11-28 18:13:25 UTC
I'm unable to reproduce this even once (under KDE, having recursively unset the /apps/banshee gconf tree, removed ~/.config/banshee, and shutdown gconfd) on 10.3.  Tried both helix and gstreamer versions.  This is an SMP x86_64 machine, if it makes a difference.  The one difference that comes to mind is that I also have Gnome installed.  Perhaps there's a missing dep that causes problems for KDE-only installs?

It's not clear to me at this point that this is a mono bug rather than a banshee bug.
Comment 15 Marcus Meissner 2007-11-29 14:38:24 UTC
i for myself i am jsut willing to let this go.
Comment 16 Akhil Laddha 2008-03-07 10:08:26 UTC
Closing as per comment#15. Please reopen in case it appears again.