Page 1 of 1

Olivia MATE Banshee crashes [Solved]

Posted: Thu Jul 04, 2013 8:37 pm
by Joe Collins
Hello, I am quite new to Linux Mint. I finally got it working on my computer, and now I have this problem with Banshee. It crashes within a few seconds of opening each time. Here is what I get when I run in the terminal:

Code: Select all

banshee
[Info  20:33:16.963] Running Banshee 2.6.0: [Ubuntu quantal (development branch) (linux-gnu, x86_64) @ 2012-10-09 14:30:02 UTC]
[Info  20:33:18.631] Updating web proxy from GConf
[Warn  20:33:18.701] 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  20:33:18.701] Extension `Banshee.MultimediaKeys.MultimediaKeysService' not started: No support GNOME Settings Daemon could be reached.
[Warn  20:33:18.776] 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  20:33:18.776] Extension `Banshee.MultimediaKeys.MultimediaKeysService' not started: No support GNOME Settings Daemon could be reached.
[Info  20:33:18.779] All services are started 1.487004
[Info  20:33:19.723] nereid Client Started
[Info  20:33:19.805] GStreamer version 0.10.36.0, gapless: True, replaygain: False
banshee: PeakFinder.cpp:150: int soundtouch::PeakFinder::findCrossingLevel(const float*, float, int, int) const: Assertion `peaklevel >= level' failed.

Native stacktrace:

	banshee() [0x4961e9]
	/lib/x86_64-linux-gnu/libpthread.so.0() [0x3ce1c0fbd0]
	/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x3ce1437037]
	/lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x3ce143a698]
	/lib/x86_64-linux-gnu/libc.so.6() [0x3ce142fe03]
	/lib/x86_64-linux-gnu/libc.so.6() [0x3ce142feb2]
	/usr/lib/x86_64-linux-gnu/libSoundTouch.so.0(+0x9f75) [0x7f86973d1f75]
	/usr/lib/x86_64-linux-gnu/libSoundTouch.so.0(_ZNK10soundtouch10PeakFinder13getPeakCenterEPKfi+0x8a) [0x7f86973d207a]
	/usr/lib/x86_64-linux-gnu/libSoundTouch.so.0(_ZN10soundtouch10PeakFinder10detectPeakEPKfii+0x5f) [0x7f86973d214f]
	/usr/lib/x86_64-linux-gnu/libSoundTouch.so.0(_ZN10soundtouch9BPMDetect6getBpmEv+0x3f) [0x7f86973d1d6f]
	/usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstsoundtouch.so(+0x4fd7) [0x7f86975dcfd7]
	/usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0() [0x3cec42fe92]
	/usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0() [0x3cec430843]
	/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0(gst_pad_push+0x2c1) [0x7f86bc37cdb1]
	/usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0() [0x3cec4308dc]
	/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0(gst_pad_push+0x2c1) [0x7f86bc37cdb1]
	/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0(gst_pad_push+0x2c1) [0x7f86bc37cdb1]
	/usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstflump3dec.so(+0x3cdc) [0x7f869451bcdc]
	/usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstflump3dec.so(+0x4caf) [0x7f869451ccaf]
	/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0(gst_pad_push+0x2c1) [0x7f86bc37cdb1]
	/usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0(gst_base_parse_push_frame+0x76a) [0x3cec4137ca]
	/usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0() [0x3cec41480e]
	/usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0() [0x3cec4171a5]
	/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0(+0x3ce7c82e34) [0x7f86bc3a2e34]
	/lib/x86_64-linux-gnu/libglib-2.0.so.0() [0x3ce306d6f2]
	/lib/x86_64-linux-gnu/libglib-2.0.so.0() [0x3ce306ceb5]
	/lib/x86_64-linux-gnu/libpthread.so.0() [0x3ce1c07f8e]
	/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x3ce14f9e1d]

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.
No threads.

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

Aborted
Please help, I have no idea what's going on. Also if you could, a simplified explanation of what the problem was. I'm open to learning. Thank you :)

Re: Olivia MATE Banshee crashes

Posted: Fri Jul 05, 2013 12:11 am
by Spearmint2
http://code.google.com/p/mediakeys-daemon/


http://pastebin.com/xzEwwfpk


http://forums.linuxmint.com/viewtopic.php?f=47&t=102626

Re: Olivia MATE Banshee crashes

Posted: Fri Jul 05, 2013 9:41 am
by Joe Collins
Okay, so from what you showed me, the problem is that banshee doesn't support mate-settings-daemon, it's looking for gnome-settings-daemon. I also have to ask, does everyone who has Mint 15/MATE that runs Banshee have this problem? And if no, why not?

I have never used a script before, but from what I gathered you copy/paste into a .py and run it. Well, I did that for both of the scripts in that thread and it still doesn't run, with the same exact error messages. Because it has the same errors, my common sense tells me that I did not run the scripts correctly... So what am I doing wrong?

Re: Olivia MATE Banshee crashes

Posted: Fri Jul 05, 2013 11:55 am
by Spearmint2
I believe you'd take what the poster in that thread created, compile, and then save as "env" and put in the /user/bin folder replacing the "env" file that is already there. Probably best to name the first env to env.old, so it can be used again if the new env file doesnt' work as wanted.

Re: Olivia MATE Banshee crashes

Posted: Sat Jul 06, 2013 2:59 pm
by Joe Collins
Take what the poster in that thread created, compile, and then save as env
What tool do I use to compile that script with, and how do I compile it correctly? I am still very new to this.

Re: Olivia MATE Banshee crashes

Posted: Sat Jul 06, 2013 4:21 pm
by Spearmint2
I think you are correct in just running it as a python script.

Re: Olivia MATE Banshee crashes

Posted: Sat Jul 06, 2013 5:17 pm
by WharfRat
Joe Collins wrote:Okay, so from what you showed me, the problem is that banshee doesn't support mate-settings-daemon, it's looking for gnome-settings-daemon. I also have to ask, does everyone who has Mint 15/MATE that runs Banshee have this problem? And if no, why not?

I have never used a script before, but from what I gathered you copy/paste into a .py and run it. Well, I did that for both of the scripts in that thread and it still doesn't run, with the same exact error messages. Because it has the same errors, my common sense tells me that I did not run the scripts correctly... So what am I doing wrong?
I don't use banshee, but I was curious. Here's what to do:

Close banshee if it's running since the daemon must be running before launching it in order for keys to be be recognized.

Download the tar.gz file from [url]http://gitorious.org/mediakeys-daemon/mediakeys-daemon/trees/master[/url] (look at the middle right hand of the page)
Change to your Downloads folder cd ~/Downloads
Unpack it with tar xvzf mediakeys-daemon-mediakeys-daemon-master.tar.gz
Change to the src folder cd mediakeys-daemon-mediakeys-daemon/src
There you will find the file mkd.py
To launch it in daemon mode ./mkd.py -d&

Then when you launch banshee (I launched it from the cl) it doesn't reply with those messages.

Enjoy :D

Re: Olivia MATE Banshee crashes

Posted: Sat Jul 06, 2013 5:43 pm
by Joe Collins
To launch it in daemon mode ./mkd.py -d&
Thank you for taking the time to show me that. So './' launches a script as a daemon? And what does the -d& attribute do? Unfortunately, banshee still crashes. The good news is that the error messages are different. I also looked up how to see if a daemon is running(ps aux), and mkd.py is running, so that's good. The current error looks like this:

Code: Select all

GStreamer version 0.10.36.0, gapless: True, replaygain: False
banshee: PeakFinder.cpp:150: int soundtouch::PeakFinder::findCrossingLevel(const float*, float, int, int) const: Assertion `peaklevel >= level' failed.

Native stacktrace:

	banshee() [0x4961e9]
	/lib/x86_64-linux-gnu/libpthread.so.0() [0x3ce1c0fbd0]
	/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x3ce1437037]
	/lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x3ce143a698]
	/lib/x86_64-linux-gnu/libc.so.6() [0x3ce142fe03]
	/lib/x86_64-linux-gnu/libc.so.6() [0x3ce142feb2]
	/usr/lib/x86_64-linux-gnu/libSoundTouch.so.0(+0x9f75) [0x7fd82c2e1f75]
	/usr/lib/x86_64-linux-gnu/libSoundTouch.so.0(_ZNK10soundtouch10PeakFinder13getPeakCenterEPKfi+0x8a) [0x7fd82c2e207a]
	/usr/lib/x86_64-linux-gnu/libSoundTouch.so.0(_ZN10soundtouch10PeakFinder10detectPeakEPKfii+0x5f) [0x7fd82c2e214f]
	/usr/lib/x86_64-linux-gnu/libSoundTouch.so.0(_ZN10soundtouch9BPMDetect6getBpmEv+0x3f) [0x7fd82c2e1d6f]
	/usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstsoundtouch.so(+0x4fd7) [0x7fd82c4ecfd7]
	/usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0() [0x3cec42fe92]
	/usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0() [0x3cec430843]
	/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0(gst_pad_push+0x2c1) [0x7fd84d3e4db1]
	/usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0() [0x3cec4308dc]
	/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0(gst_pad_push+0x2c1) [0x7fd84d3e4db1]
	/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0(gst_pad_push+0x2c1) [0x7fd84d3e4db1]
	/usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstflump3dec.so(+0x3cdc) [0x7fd81536bcdc]
	/usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstflump3dec.so(+0x4caf) [0x7fd81536ccaf]
	/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0(gst_pad_push+0x2c1) [0x7fd84d3e4db1]
	/usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0(gst_base_parse_push_frame+0x76a) [0x3cec4137ca]
	/usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0() [0x3cec41480e]
	/usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0() [0x3cec4171a5]
	/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0(+0x3ce7c82e34) [0x7fd84d40ae34]
	/lib/x86_64-linux-gnu/libglib-2.0.so.0() [0x3ce306d6f2]
	/lib/x86_64-linux-gnu/libglib-2.0.so.0() [0x3ce306ceb5]
	/lib/x86_64-linux-gnu/libpthread.so.0() [0x3ce1c07f8e]
	/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x3ce14f9e1d]

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.
No threads.
P.S. If you find any fault with how I describe certain things such as 'the current error' (doesn't sounds right to me), please correct me. I hate sounding stupid and I'd like to learn more. Coming from Windows where you didn't have to know any of this stuff.

Re: Olivia MATE Banshee crashes

Posted: Sat Jul 06, 2013 6:01 pm
by WharfRat
Joe Collins,

If you ./mkd.py -h you'll see the additional command line options that it accepts.

The '&' at the end of the line sends the app to the background otherwise the terminal will 'hang' i.e the prompt will not come back.

As far as the other errors you're getting now, I don't have a clue at moment. I'll give it a look later though :wink:

Re: Olivia MATE Banshee crashes

Posted: Sun Jul 07, 2013 10:36 am
by Joe Collins
Apparently it was a problem with GStreamer, I just switched to a version of Banshee that uses GStreamer 1.0.

So now Banshee no longer crashes. Thank you both very much for your help :)