Has anyone successfully run non Perl::Fu command-line scripts under Perl 5.6?

I'm running the example shell from 
http://imagic.weizmann.ac.il/~dov/gimp/ (pg-shell) with a minor 
modification (a call to Gimp::on_net(\&net); to register the sub). 
The shell comes up fine, but as soon as I try to create an image, it 

[~/g]> perl pg-shell
Gimp> $img = gimp_image_new(100,100,RGB)
Segmentation fault (core dumped)

gdb reveals that it's seemingly a perl problem, but my experiance is 
that this is usually indicative of stack collision caused by the XS 
bound libraries.

Any insights would be greatly appreciated...

[GDB output]
(gdb) where
#0  0x8099448 in Perl_sv_2pv ()
#1  0x80919ac in Perl_pp_concat ()
#2  0x809140d in Perl_runops_standard ()
#3  0x805bc40 in S_run_body ()
#4  0x805b9eb in perl_run ()
#5  0x8059911 in main ()
#6  0x400a51eb in __libc_start_main (main=0x80598b0 <main>, argc=2, 
     init=0x8058b14 <_init>, fini=0x80d17fc <_fini>, 
rtld_fini=0x4000a610 <_dl_fini>,
     stack_end=0xbffffacc) at ../sysdeps/generic/libc-start.c:90


Reply via email to