[magick-users] segfault in SyncBlob blob.c

Shane Nelson shane at webqualityhost.net
Wed Feb 28 17:05:46 CST 2007


I would be forever grateful if someone could help point me to a  
solution to this problem.

Finally, after weeks of trying to figure out an "Internal Server  
Error" bug I've managed to get a core file produced.  The problem is  
created when a user uploads an image that has some resizing work done  
on it.  This is an intermittent problem on my server and I'm not sure  
what the cause is.  I have a core file that I can send if needed...   
The problem only happens when uploading images to this perl file.

Relevant information from gdb is:
(gdb) bt
#0  0x00170b7d in fflush () from /lib/tls/libc.so.6
#1  0x007ddec4 in SyncBlob (image=0x871c978) at magick/blob.c:3212
#2  0x007d9f85 in CloseBlob (image=0x871c978) at magick/blob.c:478
#3  0x007da195 in DestroyBlob (image=0x871c978) at magick/blob.c:589
#4  0x0084299a in DestroyImage (image=0x871c978) at magick/image.c:1495
#5  0x00955a5d in XS_Image__Magick_DESTROY (my_perl=0x81d5008,  
cv=0x81f7ce0) at Magick.xs:2983
#6  0x0030b1a5 in Perl_pp_entersub () from /usr/lib/perl5/5.8.0/i386- 
linux-thread-multi/CORE/libperl.so
#7  0x002a37bc in Perl_call_sv () from /usr/lib/perl5/5.8.0/i386- 
linux-thread-multi/CORE/libperl.so
#8  0x002a3423 in Perl_call_sv () from /usr/lib/perl5/5.8.0/i386- 
linux-thread-multi/CORE/libperl.so
#9  0x003152a6 in Perl_sv_clear () from /usr/lib/perl5/5.8.0/i386- 
linux-thread-multi/CORE/libperl.so
#10 0x003156d4 in Perl_sv_free () from /usr/lib/perl5/5.8.0/i386- 
linux-thread-multi/CORE/libperl.so
#11 0x00314d03 in Perl_sv_clear () from /usr/lib/perl5/5.8.0/i386- 
linux-thread-multi/CORE/libperl.so
#12 0x003156d4 in Perl_sv_free () from /usr/lib/perl5/5.8.0/i386- 
linux-thread-multi/CORE/libperl.so
#13 0x00300e95 in Perl_av_undef () from /usr/lib/perl5/5.8.0/i386- 
linux-thread-multi/CORE/libperl.so
#14 0x00315040 in Perl_sv_clear () from /usr/lib/perl5/5.8.0/i386- 
linux-thread-multi/CORE/libperl.so
#15 0x003156d4 in Perl_sv_free () from /usr/lib/perl5/5.8.0/i386- 
linux-thread-multi/CORE/libperl.so
#16 0x00331211 in Perl_free_tmps () from /usr/lib/perl5/5.8.0/i386- 
linux-thread-multi/CORE/libperl.so
#17 0x003030c8 in Perl_pp_nextstate () from /usr/lib/perl5/5.8.0/i386- 
linux-thread-multi/CORE/libperl.so
#18 0x002ee91a in Perl_runops_debug () from /usr/lib/perl5/5.8.0/i386- 
linux-thread-multi/CORE/libperl.so
#19 0x002a2a3b in perl_run () from /usr/lib/perl5/5.8.0/i386-linux- 
thread-multi/CORE/libperl.so
#20 0x002a26c5 in perl_run () from /usr/lib/perl5/5.8.0/i386-linux- 
thread-multi/CORE/libperl.so
#21 0x08049413 in main ()


bash-2.05b$ perl -v
This is perl, v5.8.0 built for i386-linux-thread-multi

bash-2.05b$ convert --version
Version: ImageMagick 6.3.2 02/23/07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC




More information about the Magick-users mailing list