Edit report at http://bugs.php.net/bug.php?id=54404&edit=1

 ID:                 54404
 Updated by:         paj...@php.net
 Reported by:        davidjmemmett at gmail dot com
 Summary:            Imagick::cropImage segfault
-Status:             Open
+Status:             Bogus
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Ubuntu 10.10
 PHP Version:        5.3.6
 Block user comment: N
 Private report:     N

 New Comment:

Please report imagick bugs at pecl.php.net


Previous Comments:
------------------------------------------------------------------------
[2011-03-27 23:31:17] davidjmemmett at gmail dot com

Description:
------------
Calls to Imagick::cropImage fail. I've tried the OS-shipped imagick.so
and I've 

also installed it via pecl (after uninstalling the OS-shipped one).

Test script:
---------------
<?php



$image = new Imagick('mario-1-1.gif');

$image->cropImage(8,8,0,0);

Expected result:
----------------
I expect no segmentation fault.

Actual result:
--------------
david@icecap:~/mario-images$ gdb php

GNU gdb (GDB) 7.2-ubuntu

Copyright (C) 2010 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"

and "show warranty" for details.

This GDB was configured as "i686-linux-gnu".

For bug reporting instructions, please see:

<http://www.gnu.org/software/gdb/bugs/>...

Reading symbols from /usr/bin/php...Reading symbols from 

/usr/lib/debug/usr/bin/php5...done.

done.

(gdb) run test.php 

Starting program: /usr/bin/php test.php

[Thread debugging using libthread_db enabled]

[New Thread 0xb7d6eb70 (LWP 3597)]

[Thread 0xb7d6eb70 (LWP 3597) exited]

[New Thread 0xb7d6eb70 (LWP 3598)]

[New Thread 0xb6e32b70 (LWP 3599)]



Program received signal SIGSEGV, Segmentation fault.

[Switching to Thread 0xb6e32b70 (LWP 3599)]

0x0144e8da in ?? ()

(gdb)


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



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=54404&edit=1

Reply via email to