vargolo/ruby-libnotify — Issue #7: core dump at exit with ruby 1.9.3
Author: nuisanceofcats
Created: 2011-12-31 15:05:24+00:00
State: open

Everything works fine until exit time where it core dumps (despite me calling Notify.uninit)

Simple test case:

```ruby
#!/usr/bin/env ruby
require 'RNotify'

Notify.init "blah"
n = Notify::Notification.new "summary", "text", nil
n.show
Kernel.sleep 5
n.close
Notify.uninit
```

Result from running:

notification displays for about 5 seconds as expected but then after uninit is called the following is displayed on the console:

> [BUG] gc_sweep(): unknown data type 0x1e(0x2064878)
> ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
>
> [BUG] Segmentation fault
> ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
>
> zsh: segmentation fault (core dumped) ./test.rb

The core dump isn't very useful I'll have to work out how to rebuild the gem with -g2.