- Status changed from Feedback to Third Party's Issue
I succeeded to repro:
$ gem install hallon
$ ruby -rhallon -e 'def (Hallon::Session).instance(*args, &block); @instance ||= new(*args, &block); end; Hallon::Session.instance("invalid")'
/home/mame/work/local/lib/ruby/gems/2.0.0/gems/spotify-12.3.0/lib/spotify.rb:99: [BUG] Segmentation fault
ruby 2.0.0dev (2012-10-12 trunk 37163) [x86_64-linux]
snip
-- C level backtrace information -------------------------------------------
/home/mame/work/local/bin/ruby(+0x151aa8) [0x7f84357ebaa8]
/home/mame/work/local/bin/ruby(+0x1aa487) [0x7f8435844487]
/home/mame/work/local/bin/ruby(rb_bug+0xb3) [0x7f8435845b13]
/home/mame/work/local/bin/ruby(+0xd944c) [0x7f843577344c]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f8435267cb0] AbstractMemory.c:268
/home/mame/work/local/lib/ruby/gems/2.0.0/gems/libspotify-12.1.51.1-x86_64-linux/libspotify.library(sp_session_create+0x546) [0x7f84331203b9] dir.c:1383
snip
This trace strongly suggests that this issue is a fault of libspotify.
The source of libspotify looks unavailable, so we can no longer investigate this issue.
Could you please contact Spotify?
If they say this is a ruby fault, please ask them to disclose their source code.
--
Yusuke Endoh mame@tsg.ne.jp