Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
horseshoe7
Post
by horseshoe7 » 2010-08-25T08:59:27-07:00
Get ready for some spew:
Code: Select all
convert rose: -debug all rose.gif
2010-08-25T17:58:05+02:00 0:00.000 0.010u 6.6.3 Configure convert[153]: utility.c/ExpandFilenames/906/Configure
Command line: convert {rose:} {-debug} {all} {rose.gif}
2010-08-25T17:58:05+02:00 0:00.010 0.010u 6.6.3 Configure convert[153]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/opt/local/share/ImageMagick-6.6.3/config/coder.xml"
2010-08-25T17:58:05+02:00 0:00.010 0.010u 6.6.3 Configure convert[153]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/opt/local/lib/ImageMagick-6.6.3/config/coder.xml"
2010-08-25T17:58:05+02:00 0:00.010 0.010u 6.6.3 Configure convert[153]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/opt/local/share/doc/ImageMagick-6.6.3/coder.xml"
2010-08-25T17:58:05+02:00 0:00.010 0.010u 6.6.3 Configure convert[153]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/opt/local/share/ImageMagick-6.6.3/coder.xml"
2010-08-25T17:58:05+02:00 0:00.010 0.010u 6.6.3 Configure convert[153]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/Users/stephen/.magick/coder.xml"
2010-08-25T17:58:05+02:00 0:00.010 0.010u 6.6.3 Configure convert[153]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "coder.xml"
2010-08-25T17:58:05+02:00 0:00.010 0.010u 6.6.3 Configure convert[153]: coder.c/LoadCoderList/693/Configure
Loading coder configuration file "/opt/local/share/ImageMagick-6.6.3/config/coder.xml" ...
2010-08-25T17:58:05+02:00 0:00.010 0.010u 6.6.3 Module convert[153]: module.c/OpenModule/1262/Module
Searching for module "MAGICK" using filename "magick.la"
2010-08-25T17:58:05+02:00 0:00.010 0.010u 6.6.3 Module convert[153]: module.c/GetMagickModulePath/565/Module
Searching for coder module file "magick.la" ...
2010-08-25T17:58:05+02:00 0:00.010 0.010u 6.6.3 Module convert[153]: module.c/OpenModule/1271/Module
Opening module at path "/opt/local/lib/ImageMagick-6.6.3/modules-Q16/coders/magick.la"
2010-08-25T17:58:05+02:00 0:00.010 0.010u 6.6.3 Module convert[153]: module.c/OpenModule/1298/Module
Method "RegisterMAGICKImage" in module "MAGICK" at address 0x128c600
2010-08-25T17:58:05+02:00 0:00.010 0.010u 6.6.3 Module convert[153]: module.c/OpenModule/1312/Module
Method "UnregisterMAGICKImage" in module "MAGICK" at address 0x128c590
2010-08-25T17:58:05+02:00 0:00.010 0.010u 6.6.3 Policy convert[153]: policy.c/IsRightsAuthorized/485/Policy
Domain: Coder; rights=Read; pattern="ROSE" ...
2010-08-25T17:58:05+02:00 0:00.010 0.010u 6.6.3 Module convert[153]: module.c/OpenModule/1262/Module
Searching for module "PNM" using filename "pnm.la"
2010-08-25T17:58:05+02:00 0:00.020 0.010u 6.6.3 Module convert[153]: module.c/GetMagickModulePath/565/Module
Searching for coder module file "pnm.la" ...
2010-08-25T17:58:05+02:00 0:00.020 0.010u 6.6.3 Module convert[153]: module.c/OpenModule/1271/Module
Opening module at path "/opt/local/lib/ImageMagick-6.6.3/modules-Q16/coders/pnm.la"
2010-08-25T17:58:05+02:00 0:00.030 0.020u 6.6.3 Module convert[153]: module.c/OpenModule/1298/Module
Method "RegisterPNMImage" in module "PNM" at address 0x12aa170
2010-08-25T17:58:05+02:00 0:00.030 0.020u 6.6.3 Module convert[153]: module.c/OpenModule/1312/Module
Method "UnregisterPNMImage" in module "PNM" at address 0x12aa110
2010-08-25T17:58:05+02:00 0:00.030 0.020u 6.6.3 Cache convert[153]: cache.c/DestroyPixelCache/1608/Cache
destroy
2010-08-25T17:58:05+02:00 0:00.040 0.020u 6.6.3 Configure convert[153]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/opt/local/share/ImageMagick-6.6.3/config/magic.xml"
2010-08-25T17:58:05+02:00 0:00.040 0.020u 6.6.3 Configure convert[153]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/opt/local/lib/ImageMagick-6.6.3/config/magic.xml"
2010-08-25T17:58:05+02:00 0:00.040 0.020u 6.6.3 Configure convert[153]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/opt/local/share/doc/ImageMagick-6.6.3/magic.xml"
2010-08-25T17:58:05+02:00 0:00.040 0.020u 6.6.3 Configure convert[153]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/opt/local/share/ImageMagick-6.6.3/magic.xml"
2010-08-25T17:58:05+02:00 0:00.040 0.020u 6.6.3 Configure convert[153]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/Users/stephen/.magick/magic.xml"
2010-08-25T17:58:05+02:00 0:00.040 0.020u 6.6.3 Configure convert[153]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "magic.xml"
2010-08-25T17:58:05+02:00 0:00.040 0.020u 6.6.3 Configure convert[153]: magic.c/LoadMagicList/678/Configure
Loading magic configure file "/opt/local/share/ImageMagick-6.6.3/config/magic.xml" ...
2010-08-25T17:58:05+02:00 0:00.040 0.030u 6.6.3 Policy convert[153]: policy.c/IsRightsAuthorized/485/Policy
Domain: Coder; rights=Read; pattern="PNM" ...
2010-08-25T17:58:05+02:00 0:00.040 0.030u 6.6.3 Resource convert[153]: resource.c/AcquireMagickResource/262/Resource
Area: 25.8KB/25.8KB/4.295GB
2010-08-25T17:58:05+02:00 0:00.040 0.030u 6.6.3 Resource convert[153]: resource.c/AcquireMagickResource/262/Resource
Memory: 25.8KB/25.2KiB/3GiB
2010-08-25T17:58:05+02:00 0:00.040 0.030u 6.6.3 Cache convert[153]: cache.c/OpenPixelCache/4164/Cache
open ROSE[0] (heap memory, 70x46 25.2KiB)
2010-08-25T17:58:05+02:00 0:00.080 0.060u 6.6.3 Module convert[153]: module.c/OpenModule/1262/Module
Searching for module "GIF" using filename "gif.la"
2010-08-25T17:58:05+02:00 0:00.090 0.060u 6.6.3 Module convert[153]: module.c/GetMagickModulePath/565/Module
Searching for coder module file "gif.la" ...
2010-08-25T17:58:05+02:00 0:00.090 0.060u 6.6.3 Module convert[153]: module.c/OpenModule/1271/Module
Opening module at path "/opt/local/lib/ImageMagick-6.6.3/modules-Q16/coders/gif.la"
2010-08-25T17:58:05+02:00 0:00.090 0.060u 6.6.3 Module convert[153]: module.c/OpenModule/1298/Module
Method "RegisterGIFImage" in module "GIF" at address 0x12b69b0
2010-08-25T17:58:05+02:00 0:00.090 0.060u 6.6.3 Module convert[153]: module.c/OpenModule/1312/Module
Method "UnregisterGIFImage" in module "GIF" at address 0x12b6980
2010-08-25T17:58:05+02:00 0:00.090 0.060u 6.6.3 Policy convert[153]: policy.c/IsRightsAuthorized/485/Policy
Domain: Coder; rights=Write; pattern="GIF" ...
2010-08-25T17:58:05+02:00 0:00.090 0.060u 6.6.3 Policy convert[153]: policy.c/IsRightsAuthorized/485/Policy
Domain: Path; rights=Write; pattern="rose.gif" ...
2010-08-25T17:58:05+02:00 0:00.270 0.230u 6.6.3 Resource convert[153]: resource.c/AcquireMagickResource/262/Resource
Area: 32.2KB/32.2KB/4.295GB
2010-08-25T17:58:05+02:00 0:00.270 0.230u 6.6.3 Resource convert[153]: resource.c/AcquireMagickResource/262/Resource
Memory: 32.2KB/56.6KiB/3GiB
2010-08-25T17:58:05+02:00 0:00.270 0.230u 6.6.3 Cache convert[153]: cache.c/OpenPixelCache/4164/Cache
open rose.gif[0] (heap memory, 70x46 31.4KiB)
2010-08-25T17:58:05+02:00 0:00.270 0.230u 6.6.3 Cache convert[153]: cache.c/CloneMemoryToMemoryPixelCache/1322/Cache
memory => memory
2010-08-25T17:58:05+02:00 0:00.270 0.230u 6.6.3 Resource convert[153]: resource.c/RelinquishMagickResource/801/Resource
Memory: 25.8KB/31.4KiB/3GiB
2010-08-25T17:58:06+02:00 0:00.790 0.750u 6.6.3 Cache convert[153]: cache.c/DestroyPixelCache/1608/Cache
destroy rose.gif[0]
2010-08-25T17:58:06+02:00 0:00.790 0.750u 6.6.3 Resource convert[153]: resource.c/RelinquishMagickResource/801/Resource
Memory: 32.2KB/0B/3GiB
Segmentation fault
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2010-08-25T09:24:53-07:00
Post a stack trace. Type
gdb convert
run rose: -debug all rose.gif
where
That tells us where in the ImageMagick source the fault occurs.
horseshoe7
Post
by horseshoe7 » 2010-08-25T10:22:55-07:00
oh, what i don't know about OSX.... here it is.
Code: Select all
gdb convert
GNU gdb 6.3.50-20050815 (Apple version gdb-1346) (Fri Sep 18 20:33:58 UTC 2009)
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-apple-darwin"...Reading symbols for shared libraries .............
warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/work/bzip2-1.0.5/blocksort.o" - no debug information available for "blocksort.c".
warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/work/bzip2-1.0.5/huffman.o" - no debug information available for "huffman.c".
warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/work/bzip2-1.0.5/crctable.o" - no debug information available for "crctable.c".
warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/work/bzip2-1.0.5/randtable.o" - no debug information available for "randtable.c".
warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/work/bzip2-1.0.5/compress.o" - no debug information available for "compress.c".
warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/work/bzip2-1.0.5/decompress.o" - no debug information available for "decompress.c".
warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/work/bzip2-1.0.5/bzlib.o" - no debug information available for "bzlib.c".
......... done
(gdb) run rose: -debug all rose.gif
Starting program: /opt/local/bin/convert rose: -debug all rose.gif
Reading symbols for shared libraries .+++++++++++++++++++++................................................................. done
2010-08-25T19:21:01+02:00 0:00.060 0.010u 6.6.3 Configure convert[152]: utility.c/ExpandFilenames/906/Configure
Command line: /opt/local/bin/convert {rose:} {-debug} {all} {rose.gif}
2010-08-25T19:21:01+02:00 0:00.060 0.010u 6.6.3 Configure convert[152]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/opt/local/share/ImageMagick-6.6.3/config/coder.xml"
2010-08-25T19:21:01+02:00 0:00.070 0.010u 6.6.3 Configure convert[152]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/opt/local/lib/ImageMagick-6.6.3/config/coder.xml"
2010-08-25T19:21:01+02:00 0:00.070 0.010u 6.6.3 Configure convert[152]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/opt/local/share/doc/ImageMagick-6.6.3/coder.xml"
2010-08-25T19:21:01+02:00 0:00.070 0.010u 6.6.3 Configure convert[152]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/opt/local/share/ImageMagick-6.6.3/coder.xml"
2010-08-25T19:21:01+02:00 0:00.070 0.010u 6.6.3 Configure convert[152]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/Users/stephen/.magick/coder.xml"
2010-08-25T19:21:01+02:00 0:00.070 0.010u 6.6.3 Configure convert[152]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "coder.xml"
2010-08-25T19:21:01+02:00 0:00.070 0.010u 6.6.3 Configure convert[152]: coder.c/LoadCoderList/693/Configure
Loading coder configuration file "/opt/local/share/ImageMagick-6.6.3/config/coder.xml" ...
2010-08-25T19:21:01+02:00 0:00.070 0.010u 6.6.3 Module convert[152]: module.c/OpenModule/1262/Module
Searching for module "MAGICK" using filename "magick.la"
2010-08-25T19:21:01+02:00 0:00.070 0.010u 6.6.3 Module convert[152]: module.c/GetMagickModulePath/565/Module
Searching for coder module file "magick.la" ...
2010-08-25T19:21:01+02:00 0:00.070 0.010u 6.6.3 Module convert[152]: module.c/OpenModule/1271/Module
Opening module at path "/opt/local/lib/ImageMagick-6.6.3/modules-Q16/coders/magick.la"
Reading symbols for shared libraries . done
2010-08-25T19:21:01+02:00 0:00.090 0.020u 6.6.3 Module convert[152]: module.c/OpenModule/1298/Module
Method "RegisterMAGICKImage" in module "MAGICK" at address 0x128c600
2010-08-25T19:21:01+02:00 0:00.090 0.020u 6.6.3 Module convert[152]: module.c/OpenModule/1312/Module
Method "UnregisterMAGICKImage" in module "MAGICK" at address 0x128c590
2010-08-25T19:21:01+02:00 0:00.090 0.020u 6.6.3 Policy convert[152]: policy.c/IsRightsAuthorized/485/Policy
Domain: Coder; rights=Read; pattern="ROSE" ...
2010-08-25T19:21:01+02:00 0:00.090 0.020u 6.6.3 Module convert[152]: module.c/OpenModule/1262/Module
Searching for module "PNM" using filename "pnm.la"
2010-08-25T19:21:01+02:00 0:00.100 0.020u 6.6.3 Module convert[152]: module.c/GetMagickModulePath/565/Module
Searching for coder module file "pnm.la" ...
2010-08-25T19:21:01+02:00 0:00.100 0.020u 6.6.3 Module convert[152]: module.c/OpenModule/1271/Module
Opening module at path "/opt/local/lib/ImageMagick-6.6.3/modules-Q16/coders/pnm.la"
Reading symbols for shared libraries . done
2010-08-25T19:21:01+02:00 0:00.190 0.030u 6.6.3 Module convert[152]: module.c/OpenModule/1298/Module
Method "RegisterPNMImage" in module "PNM" at address 0x12aa170
2010-08-25T19:21:01+02:00 0:00.190 0.030u 6.6.3 Module convert[152]: module.c/OpenModule/1312/Module
Method "UnregisterPNMImage" in module "PNM" at address 0x12aa110
2010-08-25T19:21:01+02:00 0:00.200 0.030u 6.6.3 Cache convert[152]: cache.c/DestroyPixelCache/1608/Cache
destroy
2010-08-25T19:21:01+02:00 0:00.200 0.040u 6.6.3 Configure convert[152]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/opt/local/share/ImageMagick-6.6.3/config/magic.xml"
2010-08-25T19:21:01+02:00 0:00.200 0.040u 6.6.3 Configure convert[152]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/opt/local/lib/ImageMagick-6.6.3/config/magic.xml"
2010-08-25T19:21:01+02:00 0:00.200 0.040u 6.6.3 Configure convert[152]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/opt/local/share/doc/ImageMagick-6.6.3/magic.xml"
2010-08-25T19:21:01+02:00 0:00.200 0.040u 6.6.3 Configure convert[152]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/opt/local/share/ImageMagick-6.6.3/magic.xml"
2010-08-25T19:21:01+02:00 0:00.200 0.040u 6.6.3 Configure convert[152]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "/Users/stephen/.magick/magic.xml"
2010-08-25T19:21:01+02:00 0:00.200 0.040u 6.6.3 Configure convert[152]: configure.c/GetConfigureOptions/564/Configure
Searching for configure file: "magic.xml"
2010-08-25T19:21:01+02:00 0:00.200 0.040u 6.6.3 Configure convert[152]: magic.c/LoadMagicList/678/Configure
Loading magic configure file "/opt/local/share/ImageMagick-6.6.3/config/magic.xml" ...
2010-08-25T19:21:01+02:00 0:00.210 0.040u 6.6.3 Policy convert[152]: policy.c/IsRightsAuthorized/485/Policy
Domain: Coder; rights=Read; pattern="PNM" ...
2010-08-25T19:21:01+02:00 0:00.230 0.040u 6.6.3 Resource convert[152]: resource.c/AcquireMagickResource/262/Resource
Area: 25.8KB/25.8KB/4.295GB
2010-08-25T19:21:01+02:00 0:00.230 0.040u 6.6.3 Resource convert[152]: resource.c/AcquireMagickResource/262/Resource
Memory: 25.8KB/25.2KiB/3GiB
2010-08-25T19:21:01+02:00 0:00.230 0.050u 6.6.3 Cache convert[152]: cache.c/OpenPixelCache/4164/Cache
open ROSE[0] (heap memory, 70x46 25.2KiB)
2010-08-25T19:21:01+02:00 0:00.290 0.070u 6.6.3 Module convert[152]: module.c/OpenModule/1262/Module
Searching for module "GIF" using filename "gif.la"
2010-08-25T19:21:01+02:00 0:00.290 0.070u 6.6.3 Module convert[152]: module.c/GetMagickModulePath/565/Module
Searching for coder module file "gif.la" ...
2010-08-25T19:21:01+02:00 0:00.320 0.070u 6.6.3 Module convert[152]: module.c/OpenModule/1271/Module
Opening module at path "/opt/local/lib/ImageMagick-6.6.3/modules-Q16/coders/gif.la"
Reading symbols for shared libraries . done
2010-08-25T19:21:01+02:00 0:00.350 0.070u 6.6.3 Module convert[152]: module.c/OpenModule/1298/Module
Method "RegisterGIFImage" in module "GIF" at address 0x12b69b0
2010-08-25T19:21:01+02:00 0:00.350 0.070u 6.6.3 Module convert[152]: module.c/OpenModule/1312/Module
Method "UnregisterGIFImage" in module "GIF" at address 0x12b6980
2010-08-25T19:21:01+02:00 0:00.360 0.070u 6.6.3 Policy convert[152]: policy.c/IsRightsAuthorized/485/Policy
Domain: Coder; rights=Write; pattern="GIF" ...
2010-08-25T19:21:01+02:00 0:00.360 0.070u 6.6.3 Policy convert[152]: policy.c/IsRightsAuthorized/485/Policy
Domain: Path; rights=Write; pattern="rose.gif" ...
2010-08-25T19:21:02+02:00 0:00.520 0.220u 6.6.3 Resource convert[152]: resource.c/AcquireMagickResource/262/Resource
Area: 32.2KB/32.2KB/4.295GB
2010-08-25T19:21:02+02:00 0:00.520 0.220u 6.6.3 Resource convert[152]: resource.c/AcquireMagickResource/262/Resource
Memory: 32.2KB/56.6KiB/3GiB
2010-08-25T19:21:02+02:00 0:00.520 0.220u 6.6.3 Cache convert[152]: cache.c/OpenPixelCache/4164/Cache
open rose.gif[0] (heap memory, 70x46 31.4KiB)
2010-08-25T19:21:02+02:00 0:00.520 0.220u 6.6.3 Cache convert[152]: cache.c/CloneMemoryToMemoryPixelCache/1322/Cache
memory => memory
2010-08-25T19:21:02+02:00 0:00.530 0.220u 6.6.3 Resource convert[152]: resource.c/RelinquishMagickResource/801/Resource
Memory: 25.8KB/31.4KiB/3GiB
2010-08-25T19:21:02+02:00 0:01.050 0.750u 6.6.3 Cache convert[152]: cache.c/DestroyPixelCache/1608/Cache
destroy rose.gif[0]
2010-08-25T19:21:02+02:00 0:01.050 0.750u 6.6.3 Resource convert[152]: resource.c/RelinquishMagickResource/801/Resource
Memory: 32.2KB/0B/3GiB
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xe9000001
0x002bd8e8 in ConvertImageCommand ()
(gdb) where
#0 0x002bd8e8 in ConvertImageCommand ()
#1 0x00343650 in MagickCommandGenesis ()
#2 0x00001ef5 in main ()
(gdb)
horseshoe7
Post
by horseshoe7 » 2010-08-26T08:39:47-07:00
could it also have to do with the fact that I'm running snow leopard on a netbook (1 core CPU w hyperthreading) ??
i.e 32 vs 64 bit? other Rails devs have had problems with gems after upgrading to snow leopard. maybe there's some sort of relation there?