[GEM-dev] [ pd-gem-Bugs-2449674 ] pix_buffer open crashes with wrong extention

SourceForge.net noreply at sourceforge.net
Fri Dec 19 16:48:23 CET 2008


Bugs item #2449674, was opened at 2008-12-19 10:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=2449674&group_id=64325

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Pixes (pix_ objects)
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: B. Bogart (bbogart)
Assigned to: Nobody/Anonymous (nobody)
Summary: pix_buffer open crashes with wrong extention

Initial Comment:
PD crashes if I forget to change the extention of a file in the "open" message to pix_buffer.

If the file is a test.jpg, but I try and open test.tif pix_buffer (imagemagick) crashes PD. It would be better if we got an error message about the file not existing. 

Here is the bt:

pd: magick/exception.c:932: ThrowMagickExceptionList: Assertion `exception->signature == 0xabacadabUL' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb7c7e6b0 (LWP 18834)]
0xb7f1f424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7f1f424 in __kernel_vsyscall ()
#1  0xb7cab640 in raise () from /lib/i686/cmov/libc.so.6
#2  0xb7cad018 in abort () from /lib/i686/cmov/libc.so.6
#3  0xb7ca45be in __assert_fail () from /lib/i686/cmov/libc.so.6
#4  0xb5ebfd62 in ThrowMagickExceptionList () from /usr/lib/libMagick.so.10
#5  0xb5ebfdbe in ThrowMagickException () from /usr/lib/libMagick.so.10
#6  0xb666ed9b in ?? ()
   from /usr/lib/ImageMagick-6.3.7/modules-Q16/coders/tiff.so
#7  0xbf8392bc in ?? ()
#8  0xb6672232 in ?? ()
   from /usr/lib/ImageMagick-6.3.7/modules-Q16/coders/tiff.so
#9  0xb6672240 in ?? ()
   from /usr/lib/ImageMagick-6.3.7/modules-Q16/coders/tiff.so
#10 0x000000f3 in ?? ()
#11 0x0000015e in ?? ()
#12 0xbf838d60 in ?? ()
#13 0xb6672329 in ?? ()
   from /usr/lib/ImageMagick-6.3.7/modules-Q16/coders/tiff.so
#14 0xb64f2f4e in ?? () from /usr/lib/libtiff.so.4
#15 0x6d6f682f in ?? ()
#16 0x62622f65 in ?? ()
#17 0x7261676f in ?? ()
#18 0x72502f74 in ?? ()
---Type <return> to continue, or q <return> to quit---


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=2449674&group_id=64325




More information about the GEM-dev mailing list