Okay, I figured out the issue. In PeakFinder::getPeakCenter, there are
some floating point issues when peakLevel == groundLevel.

At line 199 of PeakFinder.cpp, cutLevel is calculated as  0.70f *
peakLevel + 0.30f * groundLevel, which can sometimes end up with
cutLevel > groundLevel due to floating point errors, and this triggers
the assertion error.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to banshee in Ubuntu.
https://bugs.launchpad.net/bugs/1193667

Title:
  banshee crashes  while detecting BPM

Status in “banshee” package in Ubuntu:
  Invalid
Status in “soundtouch” package in Ubuntu:
  Confirmed
Status in “banshee” source package in Raring:
  Fix Released

Bug description:
  my banshee crashes just after startup, while the task "detecting BPM" is 
running , i tried also to delete all banshee data from 
  ~/.cache/banshee-1
  ~/.config/banshee-1

  but it was useless, once I finished to rescan my music library the
  crash occur.

  Here it is the output if banshee is launched from command line : 
  $ LC_ALL="C" banshee 
  [Info  19:48:00.203] Running Banshee 2.6.1: [Ubuntu 13.04 (linux-gnu, x86_64) 
@ 2013-06-20 18:22:04 UTC]

  (Banshee:26711): GLib-GObject-WARNING **: attempting to add an
  interface (AtkComponent) to class
  (__gtksharp_49_Hyena_Gui_BaseWidgetAccessible) after class_init

  (Banshee:26711): GLib-GObject-WARNING **: attempting to add an
  interface (AtkSelection) to class
  
(__gtksharp_50_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_TrackInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
  after class_init

  (Banshee:26711): GLib-GObject-WARNING **: attempting to add an
  interface (AtkTable) to class
  
(__gtksharp_50_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_TrackInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
  after class_init

  (Banshee:26711): GLib-GObject-WARNING **: attempting to add an
  interface (AtkSelection) to class
  
(__gtksharp_56_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_Database_QueryFilterInfo+601+5b+5bSystem_String+2c+20mscorlib+2c+20Version+3d4_0_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3db77a5c561934e089+5d+5d+2c+20Banshee_Services+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
  after class_init

  (Banshee:26711): GLib-GObject-WARNING **: attempting to add an
  interface (AtkTable) to class
  
(__gtksharp_56_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_Database_QueryFilterInfo+601+5b+5bSystem_String+2c+20mscorlib+2c+20Version+3d4_0_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3db77a5c561934e089+5d+5d+2c+20Banshee_Services+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
  after class_init

  (Banshee:26711): GLib-GObject-WARNING **: attempting to add an
  interface (AtkSelection) to class
  
(__gtksharp_62_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_ArtistInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
  after class_init

  (Banshee:26711): GLib-GObject-WARNING **: attempting to add an
  interface (AtkTable) to class
  
(__gtksharp_62_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_ArtistInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
  after class_init

  (Banshee:26711): GLib-GObject-WARNING **: attempting to add an
  interface (AtkSelection) to class
  
(__gtksharp_68_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_YearInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
  after class_init

  (Banshee:26711): GLib-GObject-WARNING **: attempting to add an
  interface (AtkTable) to class
  
(__gtksharp_68_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_YearInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
  after class_init

  (Banshee:26711): GLib-GObject-WARNING **: attempting to add an
  interface (AtkSelection) to class
  
(__gtksharp_74_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_AlbumInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
  after class_init

  (Banshee:26711): GLib-GObject-WARNING **: attempting to add an interface 
(AtkTable) to class 
(__gtksharp_74_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_AlbumInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d)
 after class_init
  [Warn  19:48:01.729] 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  19:48:01.730] Extension `Banshee.MultimediaKeys.MultimediaKeysService' 
not started: No support GNOME Settings Daemon could be reached.
  [Info  19:48:01.822] Updating web proxy from GConf
  [Warn  19:48:01.960] 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  19:48:01.960] Extension `Banshee.MultimediaKeys.MultimediaKeysService' 
not started: No support GNOME Settings Daemon could be reached.
  [Info  19:48:01.961] All services are started 1.500732
  [Info  19:48:02.670] AmazonMP3 store redirect URL: 
https://one.ubuntu.com/music/store/amz/
  [Info  19:48:03.436] nereid Client Started
  [Info  19:48:03.498] GStreamer version 1.0.6.0, gapless: True, replaygain: 
True
  [Info  19:48:03.630] AppleDeviceSource is ignoring unmounted volume win
  [Info  19:48:03.644] AppleDeviceSource is ignoring unmounted volume Riservato 
per il sistema
  [Info  19:48:03.666] AppleDeviceSource is ignoring unmounted volume Disco 
Floppy
  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() [0x3c3b40fbd0]
        /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x3c3ac37037]
        /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x3c3ac3a698]
        /lib/x86_64-linux-gnu/libc.so.6() [0x3c3ac2fe03]
        /lib/x86_64-linux-gnu/libc.so.6() [0x3c3ac2feb2]
        /usr/lib/x86_64-linux-gnu/libSoundTouch.so.0(+0x9f75) [0x7fed25104f75]
        
/usr/lib/x86_64-linux-gnu/libSoundTouch.so.0(_ZNK10soundtouch10PeakFinder13getPeakCenterEPKfi+0x8a)
 [0x7fed2510507a]
        
/usr/lib/x86_64-linux-gnu/libSoundTouch.so.0(_ZN10soundtouch10PeakFinder10detectPeakEPKfii+0x5f)
 [0x7fed2510514f]
        
/usr/lib/x86_64-linux-gnu/libSoundTouch.so.0(_ZN10soundtouch9BPMDetect6getBpmEv+0x3f)
 [0x7fed25104d6f]
        /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstsoundtouch.so(+0x4f22) 
[0x7fed2530ef22]
        /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0() [0x3c5ce327a0]
        /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0() [0x3c5ce32f3f]
        /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0() [0x3c5ae5e05a]
        /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0() [0x3c5ce33145]
        /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0() [0x3c5ae5e05a]
        
/usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_proxy_pad_chain_default+0xbb)
 [0x3c5ae4fcab]
        /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0() [0x3c5ae5e05a]
        /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0() [0x3c5c618cbc]
        /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0() [0x3c5c618e58]
        
/usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0(gst_audio_decoder_finish_frame+0x445)
 [0x3c5c61da55]
        /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmad.so(+0x1dcd) 
[0x7fed240c2dcd]
        /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0() [0x3c5c61acd8]
        /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0() [0x3c5c61b08b]
        /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0() [0x3c5c61c19e]
        /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0() [0x3c5ae5e05a]
        
/usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0(gst_base_parse_push_frame+0x767) 
[0x3c5ce15617]
        
/usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0(gst_base_parse_finish_frame+0x643)
 [0x3c5ce18ed3]
        /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudioparsers.so(+0x10500) 
[0x7fed242d6500]
        /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0() [0x3c5ce12f4a]
        /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0() [0x3c5ce134bd]
        /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0() [0x3c5ce17251]
        /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0() [0x3c5ae8ba71]
        /lib/x86_64-linux-gnu/libglib-2.0.so.0() [0x3c3c46d6f2]
        /lib/x86_64-linux-gnu/libglib-2.0.so.0() [0x3c3c46ceb5]
        /lib/x86_64-linux-gnu/libpthread.so.0() [0x3c3b407f8e]
        /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x3c3acf9e1d]

  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 (core dump created)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/1193667/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to