Package: libgd-ruby1.8 Version: 0.7.4.1-6 Severity: normal Tags: patch When using interlace option, ruby segfaults:
--------------8<-----------------8<-------------------8<---------------------- [EMAIL PROTECTED]:~$ irb -rGD >> image = GD::Image.new(100,100) => #<GD::Image:0x2b85b01eb9a8> >> image.interlace = true (irb):2: [BUG] Segmentation fault ruby 1.8.7 (2008-06-20 patchlevel 22) [x86_64-linux] Abortado --------------8<-----------------8<-------------------8<---------------------- This problem was already reported and fixed in Gentoo, cf. http://bugs.gentoo.org/166527 According to the bug report the problem may also affect other 64-bit architectures. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.22-2-amd64 (SMP w/2 CPU cores) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libgd-ruby1.8 depends on: ii libc6 2.7-13 GNU C Library: Shared libraries ii libfreetype6 2.3.7-2 FreeType 2 font engine, shared lib ii libgd2-xpm 2.0.36~rc1~dfsg-3 GD Graphics Library version 2 ii libjpeg62 6b-14 The Independent JPEG Group's JPEG ii libpng12-0 1.2.27-1 PNG library - runtime ii libruby1.8 1.8.7.22-3 Libraries necessary to run Ruby 1. ii libx11-6 2:1.1.4-2 X11 client-side library ii libxpm4 1:3.5.7-1 X11 pixmap library ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime libgd-ruby1.8 recommends no packages. libgd-ruby1.8 suggests no packages. -- no debconf information
--- /home/graaff/playground/ruby-GD-0.7.4/GD.c 2001-05-30 16:14:17.000000000 +0200 +++ GD.c 2007-04-19 08:53:47.000000000 +0200 @@ -1374,6 +1374,7 @@ static VALUE img_set_interlace(img, val) + VALUE img, val; { gdImagePtr im;