Package: libpgplot-perl Version: 1:2.20-1 Severity: normal Hi,
I build the libpgplot-perl package on Lenny. It works fine on i386, but segfaults on amd64 with the following little test script: ---snip--- #!/usr/bin/perl use PGPLOT; $|=1; pgbegin(0,"pgplot.gif/gif",1,1); print "Debug: A\n"; pglabel("foo, z",'bar Mpc','Some Distances'); print "Debug: B\n"; pgend; ---snap--- Example Lenny amd64: !534 Z42 ?139 L1 a...@zwoelfi:pts/7 (-zsh) 22:00:59 [~/tmp] > ./pgplot.pl Debug: A %PGPLOT, Writing new GIF image as: pgplot.gif_32566 [1] 10689 segmentation fault (core dumped) ./pgplot.pl !534 Z43 ?139 L1 a...@zwoelfi:pts/7 (-zsh) 22:10:45 [~/tmp] > Backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f42a39cb6e0 (LWP 11029)] 0x00007f42a20380e4 in grgi01_ () from /usr/lib/libpgplot.so.5 (gdb) bt #0 0x00007f42a20380e4 in grgi01_ () from /usr/lib/libpgplot.so.5 #1 0x00007f42a20387d7 in gidriv_ () from /usr/lib/libpgplot.so.5 #2 0x00007f42a203b759 in grexec_ () from /usr/lib/libpgplot.so.5 #3 0x00007f42a203ee16 in grlin2_ () from /usr/lib/libpgplot.so.5 #4 0x00007f42a203eab3 in grlin0_ () from /usr/lib/libpgplot.so.5 #5 0x00007f42a2045991 in grtext_ () from /usr/lib/libpgplot.so.5 #6 0x00007f42a2058816 in pgmtxt_ () from /usr/lib/libpgplot.so.5 #7 0x00007f42a20578e6 in pglab_ () from /usr/lib/libpgplot.so.5 #8 0x00007f42a22c9b94 in XS_PGPLOT_pglabel () from /usr/lib/perl5/auto/PGPLOT/PGPLOT.so #9 0x00007f42a34fdeb0 in Perl_pp_entersub () from /usr/lib/libperl.so.5.10 #10 0x00007f42a34fc392 in Perl_runops_standard () from /usr/lib/libperl.so.5.10 #11 0x00007f42a34f75df in perl_run () from /usr/lib/libperl.so.5.10 #12 0x0000000000400d0c in main () #13 0x00007f42a2a791a6 in __libc_start_main () from /lib/libc.so.6 #14 0x0000000000400b69 in _start () Example Lenny i386: !531 Z19 ?0 L1 a...@kneazle:pts/25 (-zsh) 22:03:35 [~/tmp] > ./pgplot.pl Debug: A Debug: B !532 Z20 ?0 L1 a...@kneazle:pts/25 (-zsh) 22:11:09 [~/tmp] > I haven't tested if it works on Sid i386, but at least on Sid amd64 (with pgplot5 5.2.2-15), it segfaults, too: !814 Z326 ?1 L1 a...@kiva6:pts/10 (-zsh) 22:09:49 [~/tmp] > ./pgplot.pl Debug: A %PGPLOT, Writing new GIF image as: pgplot.gif_32601 Debug: B [6] 23752 segmentation fault (core dumped) ./pgplot.pl !815 Z327 ?139 L1 a...@kiva6:pts/10 (-zsh) 22:11:32 [~/tmp] > Interestingly "Debug: B" gets printed on Sid, but not on Lenny amd64. Backtrace: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff10cb0f1 in grgi06_ () from /usr/lib/libpgplot.so.5 (gdb) bt #0 0x00007ffff10cb0f1 in grgi06_ () from /usr/lib/libpgplot.so.5 #1 0x00007ffff10cc132 in gidriv_ () from /usr/lib/libpgplot.so.5 #2 0x00007ffff10ceca9 in grexec_ () from /usr/lib/libpgplot.so.5 #3 0x00007ffff10ce78d in grepic_ () from /usr/lib/libpgplot.so.5 #4 0x00007ffff10cd8be in grclos_ () from /usr/lib/libpgplot.so.5 #5 0x00007ffff10e3329 in pgclos_ () from /usr/lib/libpgplot.so.5 #6 0x00007ffff10e781a in pgend_ () from /usr/lib/libpgplot.so.5 #7 0x00007ffff135eb91 in XS_PGPLOT_pgend () from /usr/lib/perl5/auto/PGPLOT/PGPLOT.so #8 0x00007ffff7b204a5 in Perl_pp_entersub () from /usr/lib/libperl.so.5.10 #9 0x00007ffff7b1e9e6 in Perl_runops_standard () from /usr/lib/libperl.so.5.10 #10 0x00007ffff7ac361c in perl_run () from /usr/lib/libperl.so.5.10 #11 0x0000000000400d3c in main () #12 0x00007ffff709dabd in __libc_start_main () from /lib/libc.so.6 #13 0x0000000000400b89 in _start () Feel free to reassign it to the pgplot5 package if you suspect the bug in there. If you also need the following information for the Sid box I tested it on, please tell me. -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libpgplot-perl depends on: ii libc6 2.7-18lenny2 GNU C Library: Shared libraries ii libgfortran3 4.3.2-1.1 Runtime library for GNU Fortran ap ii libpng12-0 1.2.27-2+lenny3 PNG library - runtime ii libx11-6 2:1.1.5-2 X11 client-side library ii perl 5.10.0-19lenny2 Larry Wall's Practical Extraction ii perl-base [perlapi-5.10. 5.10.0-19lenny2 minimal Perl system ii pgplot5 5.2.2-14 large subroutine library for plott libpgplot-perl recommends no packages. libpgplot-perl suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org