Package: ruby1.8
Version: 1.8.7.22-2
Severity: grave
Justification: causes non-serious data loss


I've written a ruby program using Gtk that crashes the Ruby VM every time I run 
it.

If the ruby VM crashes when you have unsaved data you will lose data ==> this 
is a dataloss bug (even if I 
didn't lose any data here) ==> severity grave according to 
http://www.debian.org/Bugs/Developer.html#severities.

On stderr, the following error message is printed when the program crashes:

"
./animation.rb:107: [BUG] object allocation during garbage collection phase
ruby 1.8.7 (2008-06-20 patchlevel 22) [i486-linux]
"

Here's a stack trace from the crash:

#0  0xb7f1f424 in __kernel_vsyscall ()
#1  0xb7e1ffd3 in __waitpid_nocancel () from /lib/i686/cmov/libpthread.so.0
#2  0xb7b6cae3 in IA__g_spawn_sync (working_directory=0x0, argv=0x8be3918, 
envp=0x0, flags=<value optimized out>, 
    child_setup=0, user_data=0x0, standard_output=0x0, standard_error=0x0, 
exit_status=0x0, error=0xbfd35108)
    at /tmp/buildd/glib2.0-2.16.4/glib/gspawn.c:374
#3  0xb7b6cdec in IA__g_spawn_command_line_sync (
    command_line=0x8be7c10 "bug-buddy --appname=\"animation.rb\" --pid=5221", 
standard_output=0x0, 
    standard_error=0x0, exit_status=0x0, error=0xbfd35108) at 
/tmp/buildd/glib2.0-2.16.4/glib/gspawn.c:682
#4  0xb6cd9198 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#5  <signal handler called>
#6  0xb7f1f424 in __kernel_vsyscall ()
#7  0xb7c85640 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb7c87018 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb7e5482b in rb_bug (fmt=0xb7ee1f3c "object allocation during garbage 
collection phase") at error.c:213
#10 0xb7e78415 in rb_newobj () at gc.c:422
#11 0xb7e78442 in rb_data_object_alloc (klass=3083168140, datap=0x90be1c0, 
dmark=0xb7bfbc30, dfree=0) at gc.c:443
#12 0xb7bfbf6a in ?? () from /usr/lib/ruby/1.8/i486-linux/glib2.so
#13 0xb7c5698c in ?? ()
#14 0x090be1c0 in ?? ()
#15 0xb7bfbc30 in ?? () from /usr/lib/ruby/1.8/i486-linux/glib2.so
#16 0x00000000 in ?? ()

Will attach the ruby script triggering this as well as the full bug-buddy 
report.

  Regards //Johan

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ruby1.8 depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libruby1.8                    1.8.7.22-2 Libraries necessary to run Ruby 1.

ruby1.8 recommends no packages.

Versions of packages ruby1.8 suggests:
ii  rdoc1.8                       1.8.7.22-2 Generate documentation from Ruby s
pn  ri1.8                         <none>     (no description available)
ii  ruby1.8-examples              1.8.7.22-2 Examples for Ruby 1.8

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to