Segmentation fault
Posted: 2008-09-07T08:58:09-07:00
Hello,
I'm encountering a segmentation fault when using convert:
/usr/local/bin/convert /home/stapos2/public_html/images/originals/1-20080830081535.jpg -resize 125x90 -border 1 /home/stapos2/public_html/images/thumbnails-125x90/1-20080830081535.jpg
I am able to convert a different image without any issues:
/usr/local/bin/convert /home/stapos2/public_html/images/originals/lunarpages.jpg -resize 125x90 -border 1 /home/stapos2/public_html/images/thumbnails-125x90/lunarpages.jpg
Here is the stack trace:
gdb convert
GNU gdb Red Hat Linux (6.3.0.0-1.153.el4_6.2rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run /home/stapos2/public_html/images/originals/1-20080830081535.jpg -resize 125x90 -border 1 /home/stapos2/public_html/images/thumbnails-125x90/1-20080830081535.jpg
Starting program: /usr/local/bin/convert /home/stapos2/public_html/images/originals/1-20080830081535.jpg -resize 125x90 -border 1 /home/stapos2/public_html/images/thumbnails-125x90/1-20080830081535.jpg
[Thread debugging using libthread_db enabled]
[New Thread -1209047360 (LWP 25075)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1209047360 (LWP 25075)]
0x0033e05a in realloc () from /lib/tls/libc.so.6
(gdb)
Any help appreciated.
I'm encountering a segmentation fault when using convert:
/usr/local/bin/convert /home/stapos2/public_html/images/originals/1-20080830081535.jpg -resize 125x90 -border 1 /home/stapos2/public_html/images/thumbnails-125x90/1-20080830081535.jpg
I am able to convert a different image without any issues:
/usr/local/bin/convert /home/stapos2/public_html/images/originals/lunarpages.jpg -resize 125x90 -border 1 /home/stapos2/public_html/images/thumbnails-125x90/lunarpages.jpg
Here is the stack trace:
gdb convert
GNU gdb Red Hat Linux (6.3.0.0-1.153.el4_6.2rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run /home/stapos2/public_html/images/originals/1-20080830081535.jpg -resize 125x90 -border 1 /home/stapos2/public_html/images/thumbnails-125x90/1-20080830081535.jpg
Starting program: /usr/local/bin/convert /home/stapos2/public_html/images/originals/1-20080830081535.jpg -resize 125x90 -border 1 /home/stapos2/public_html/images/thumbnails-125x90/1-20080830081535.jpg
[Thread debugging using libthread_db enabled]
[New Thread -1209047360 (LWP 25075)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1209047360 (LWP 25075)]
0x0033e05a in realloc () from /lib/tls/libc.so.6
(gdb)
Any help appreciated.