While I wait for assistance with my problems with reading/writing
geotiffs, I decide to dink around with GD and pngs. That too is not
going too well
----
perldl> use PDL::IO::GD
perldl> $png = 'Users/punkish/Projects/Learning_PDL/punkish.png'
perldl> $img = PDL::IO::GD->new({ filename => $png })
Bus error
----
>From the console
----
Process: perl [6458]
Path: /usr/local/bin/perl
Identifier: perl
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: bash [574]
Date/Time: 2009-03-06 10:41:44.673 -0600
OS Version: Mac OS X 10.5.6 (9G55)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000038
Crashed Thread: 0
Thread 0 Crashed:
0 libSystem.B.dylib 0x967362a1 fread + 67
1 libgd.2.dylib 0x01262f10 fileGetbuf + 42
(gd_io_file.c:105)
2 libgd.2.dylib 0x01264234 gdImageCreateFromPngCtx
+ 63 (gd_png.c:146)
3 libgd.2.dylib 0x01264caa gdImageCreateFromPng +
29 (gd_png.c:103)
4 GD.bundle 0x012400bc
XS_PDL__IO__GD__gdImageCreateFromPng + 156
5 perl 0x00072f7e Perl_pp_entersub + 677
6 perl 0x0006aced Perl_runops_standard + 31
7 perl 0x00004bfe Perl_call_sv + 1609
8 Core.bundle 0x00136ef1 XS_PDL__Core_myeval + 161
9 perl 0x00072f7e Perl_pp_entersub + 677
10 perl 0x0006aced Perl_runops_standard + 31
11 perl 0x00005456 perl_run + 782
12 perl 0x000021d8 main + 214
13 perl 0x000020e6 _start + 216
14 perl 0x0000200d start + 41
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0xa0795584 ebx: 0x96736273 ecx: 0x01262ee6 edx: 0x00000000
edi: 0x00000000 esi: 0xbffff3bc ebp: 0xbffff2f8 esp: 0xbffff2c0
ss: 0x0000001f efl: 0x00010246 eip: 0x967362a1 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x00000038
Binary Images:
0x1000 - 0xf3fc3 +perl ??? (???) /usr/local/bin/perl
0x128000 - 0x129fff +Call.bundle ??? (???)
/usr/local/lib/perl5/5.8.8/darwin-2level/auto/Filter/Util/Call/Call.bundle
0x12d000 - 0x130ffb +ReadKey.bundle ??? (???)
/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/Term/ReadKey/ReadKey.bundle
0x134000 - 0x14cff3 +Core.bundle ??? (???)
<cdcb7c5f27b2ecab1ade31ce34c31f22>
/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/PDL/Core/Core.bundle
0x152000 - 0x19cff3 +Ops.bundle ??? (???)
<0a1b35e7be8288cb3c1bbff92da067d2>
/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/PDL/Ops/Ops.bundle
0x1ac000 - 0x1aefff +IO.bundle ??? (???)
/usr/local/lib/perl5/5.8.8/darwin-2level/auto/IO/IO.bundle
0x1c7000 - 0x1c7ffe +libXau.6.dylib ??? (???)
<ca0ad4845daf9d6c1d965645fa33b4b6> /usr/X11/lib/libXau.6.dylib
0x1cf000 - 0x1d9fe3 +libXpm.4.dylib ??? (???)
<231cbc796197209086e8606850892311> /usr/X11R6/lib/libXpm.4.dylib
0x1de000 - 0x1e0fef +libXdmcp.6.dylib ??? (???)
<8c515dab0a08f9bfbdad8d197c507599> /usr/X11/lib/libXdmcp.6.dylib
0x1fa000 - 0x1fcfff +Fcntl.bundle ??? (???)
/usr/local/lib/perl5/5.8.8/darwin-2level/auto/Fcntl/Fcntl.bundle
0x400000 - 0x458fff +Slices.bundle ??? (???)
<d3f01af2cedbc11cf1cde27864b4eccc>
/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/PDL/Slices/Slices.bundle
0x45e000 - 0x460fff +Glob.bundle ??? (???)
/usr/local/lib/perl5/5.8.8/darwin-2level/auto/File/Glob/Glob.bundle
0x464000 - 0x473ff7 +MatrixOps.bundle ??? (???)
<f6d8a5062ea37fdbab4059e36f7ba72f>
/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/PDL/MatrixOps/MatrixOps.bundle
0x478000 - 0x4abff7 +Math.bundle ??? (???)
<b8cd9a51e3af560b0b9628c38b1715f3>
/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/PDL/Math/Math.bundle
0x4b3000 - 0x4ccfff +Bad.bundle ??? (???)
<f8008b55af95d503d290baade256216a>
/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/PDL/Bad/Bad.bundle
0x4d1000 - 0x4d6ff7 +Misc.bundle ??? (???)
<f3c3245bc8f1de5ebdc023f3ee3404df>
/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/PDL/IO/Misc/Misc.bundle
0x4ef000 - 0x4f2ff4 +ImageRGB.bundle ??? (???)
<41480ee4658b33f7cae92c11f6741e0f>
/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/PDL/ImageRGB/ImageRGB.bundle
0x600000 - 0x69bff7 +Primitive.bundle ??? (???)
<6cb3c3722797c9f6b74c7a7c5cb72282>
/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/PDL/Primitive/Primitive.bundle
0x6a3000 - 0x72bff3 +Ufunc.bundle ??? (???)
<56049762f71c10f3482d86002512643f>
/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/PDL/Ufunc/Ufunc.bundle
0x744000 - 0x75ffe7 +libjpeg.62.dylib ??? (???)
/usr/local/lib/libjpeg.62.dylib
0x766000 - 0x777fc3 +libz.1.dylib ??? (???) /usr/local/lib/libz.1.dylib
0x79b000 - 0x7a2ff3 +Pnm.bundle ??? (???)
<2260ce944008d96cc6c321bedeb9148e>
/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/PDL/IO/Pnm/Pnm.bundle
0x7c4000 - 0x7e6fff +libfontconfig.1.dylib ??? (???)
<f9ae39f83dd9f4c63ed929cc5ad795d9>
/usr/X11R6/lib/libfontconfig.1.dylib
0x1200000 - 0x124fffe +GD.bundle ??? (???)
<61990981a34da54e1647e43757867d9a>
/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/PDL/IO/GD/GD.bundle
0x1257000 - 0x126cff7 +libgd.2.dylib ??? (???) /usr/local/lib/libgd.2.dylib
0x12dd000 - 0x13a2fff +libX11.6.dylib ??? (???)
<0968e054e405d6539ce3d7fb6857999e> /usr/X11R6/lib/libX11.6.dylib
0x13c2000 - 0x1422fff +libfreetype.6.dylib ??? (???)
<6cdbe42bd0a9661d45e59be9e7136770> /usr/X11R6/lib/libfreetype.6.dylib
0x1434000 - 0x1453feb +libpng.3.dylib ??? (???)
<854222ce4d3c98b6a2c46727bbb91f22> /usr/local/lib/libpng.3.dylib
0x1461000 - 0x147ffe3 libexpat.1.dylib ??? (???)
<caa6d7f83f7e0a3fe26aa5904c6f98a9> /usr/lib/libexpat.1.dylib
0x8fe00000 - 0x8fe2db43 dyld 97.1 (???)
<100d362e03410f181a34e04e94189ae5> /usr/lib/dyld
0x90053000 - 0x900d2ff5 com.apple.SearchKit 1.2.1 (1.2.1)
<f28f8dd0f155a6453411a0c9b5702764>
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x900d3000 - 0x900fefe7 libauto.dylib ??? (???)
<2e44c523b851e8e25f05d13a48070a58> /usr/lib/libauto.dylib
0x90369000 - 0x90430ff2 com.apple.vImage 3.0 (3.0)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x905b1000 - 0x90c51fff com.apple.CoreGraphics 1.407.2 (???)
<3a91d1037afde01d1d8acdf9cd1caa14>
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x90c5a000 - 0x90cb4ff7 com.apple.CoreText 2.0.4 (???)
<f9a90116ae34a2b0d84e87734766fb3a>
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x90cb5000 - 0x90f8fff3 com.apple.CoreServices.CarbonCore 786.11
(786.11) <f06fe5d92d56ac5aa52d1ba182745924>
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x9102d000 - 0x910aafef libvMisc.dylib ??? (???)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x9138a000 - 0x91605fe7 com.apple.Foundation 6.5.7 (677.22)
<8fe77b5d15ecdae1240b4cb604fc6d0b>
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x91607000 - 0x91607ffd com.apple.Accelerate 1.4.2 (Accelerate 1.4.2)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x916dd000 - 0x91701fff libxslt.1.dylib ??? (???)
<0a9778d6368ae668826f446878deb99b> /usr/lib/libxslt.1.dylib
0x917cc000 - 0x91912ff7 com.apple.ImageIO.framework 2.0.4 (2.0.4)
<b407f06ff9b6893899e2e399cb65c953>
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x91913000 - 0x91913ff8 com.apple.ApplicationServices 34 (34)
<ee7bdf593da050bb30c7a1fc446eb8a6>
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x91914000 - 0x9194bfff com.apple.SystemConfiguration 1.9.2 (1.9.2)
<eab546255ac099b9616df999c9359d0e>
/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x9194c000 - 0x91953fe9 libgcc_s.1.dylib ??? (???)
<e280ddf3f5fb3049e674edcb109f389a> /usr/lib/libgcc_s.1.dylib
0x91954000 - 0x919a5ff7 com.apple.HIServices 1.7.0 (???)
<01b690d1f376e400ac873105533e39eb>
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x919a6000 - 0x91a56fff edu.mit.Kerberos 6.0.12 (6.0.12)
<685cc018c133668d0d3ac6a1cb63cff9>
/System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x91ac0000 - 0x91b72ffb libcrypto.0.9.7.dylib ??? (???)
<75b80bff0d5cfaf10b6b6fe982da3578> /usr/lib/libcrypto.0.9.7.dylib
0x91b73000 - 0x91f83fef libBLAS.dylib ??? (???)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x9205d000 - 0x92061fff libmathCommon.A.dylib ??? (???)
/usr/lib/system/libmathCommon.A.dylib
0x92062000 - 0x9206afff com.apple.DiskArbitration 2.2.1 (2.2.1)
<2664eeb3a4d0c95a21c089892a0ae8d0>
/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x9206b000 - 0x920aafef libTIFF.dylib ??? (???)
<d4bcc9b9c508e53849d2d46bb6900922>
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x9229d000 - 0x922b8ffb libPng.dylib ??? (???)
<0d6b991afc831ea06f2958e5933d33dd>
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x925df000 - 0x926bffff libobjc.A.dylib ??? (???)
<400e943f9e8a678eea22a1d1205490ee> /usr/lib/libobjc.A.dylib
0x926c1000 - 0x926cfffd libz.1.dylib ??? (???)
<a98b3b221a72b54faf73ded3dd7000e5> /usr/lib/libz.1.dylib
0x926e9000 - 0x927ddff4 libiconv.2.dylib ??? (???)
<96ff4c6f84c4a1623cb78287371cdd3f> /usr/lib/libiconv.2.dylib
0x9281d000 - 0x92955ff7 libicucore.A.dylib ??? (???)
<18098dcf431603fe47ee027a60006c85> /usr/lib/libicucore.A.dylib
0x92c79000 - 0x92d05ff7 com.apple.LaunchServices 290.3 (290.3)
<6f9629f4ed1ba3bb313548e6838b2888>
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x92d91000 - 0x92d95fff libGIF.dylib ??? (???)
<7714ae24eb64b48fa719fb99bcbe34f3>
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x92d96000 - 0x92d98ff5 libRadiance.dylib ??? (???)
<82d606c49f5dc77231f9d0e2be9ed6ab>
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x92de3000 - 0x92e2cfef com.apple.Metadata 10.5.2 (398.25)
<e0572f20350523116f23000676122a8d>
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x92fa4000 - 0x92fc2fff libresolv.9.dylib ??? (???)
<9ed809256ce8913cddc3269c2e364654> /usr/lib/libresolv.9.dylib
0x92fc5000 - 0x92fd5fff com.apple.speech.synthesis.framework 3.7.1
(3.7.1) <273d96ff861dc68be659c07ef56f599a>
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x92ffd000 - 0x9301cffa libJPEG.dylib ??? (???)
<b822342bcc764c83d4557a8b67fa0c1c>
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x9301d000 - 0x9307affb libstdc++.6.dylib ??? (???)
<f75e5133d72769de5ce6c06153fc65f6> /usr/lib/libstdc++.6.dylib
0x9307b000 - 0x93135fe3 com.apple.CoreServices.OSServices 226.5
(226.5) <ef9945b1304495f3e8085c935f1b81e3>
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x9364b000 - 0x936f2feb com.apple.QD 3.11.54 (???)
<c31150b40fcc27c195de40f0ae138666>
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x936f3000 - 0x93720feb libvDSP.dylib ??? (???)
<4daafed78a471133ec30b3ae634b6d3e>
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x9373d000 - 0x9390bff3 com.apple.security 5.0.4 (34102)
<55dda7486df4e8e1d61505be16f83a1c>
/System/Library/Frameworks/Security.framework/Versions/A/Security
0x939e7000 - 0x93a72fff com.apple.framework.IOKit 1.5.1 (???)
<f9f5f0d070e197a832d86751e1d44545>
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x93a81000 - 0x93aa9fff libcups.2.dylib ??? (???)
<16bec7c6a004f744804e2281a1b1c094> /usr/lib/libcups.2.dylib
0x940df000 - 0x9417cfe4 com.apple.CFNetwork 422.15.2 (422.15.2)
<80851410a5592b7c3b149b2ff849bcc1>
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x941bd000 - 0x941cdffc com.apple.LangAnalysis 1.6.4 (1.6.4)
<bc7eb703ddc37bf85adf93e35efd3947>
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x94241000 - 0x9430cfff com.apple.ColorSync 4.5.1 (4.5.1)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x9533b000 - 0x9536afe3 com.apple.AE 402.3 (402.3)
<4cb9ef65cf116d6dd424f0ce98c2d015>
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x95375000 - 0x95408ff3 com.apple.ApplicationServices.ATS 3.4 (???)
<8c51de0ec3deaef416578cd59df38754>
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x95c08000 - 0x95d3bfff com.apple.CoreFoundation 6.5.5 (476.17)
<4a70c8dbb582118e31412c53dc1f407f>
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x95d6c000 - 0x9612afea libLAPACK.dylib ??? (???)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x961ef000 - 0x961efffd com.apple.Accelerate.vecLib 3.4.2 (vecLib
3.4.2)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x9627d000 - 0x962f7ff8 com.apple.print.framework.PrintCore 5.5.3
(245.3) <98633ef67d419c1b02f56556cb4d843d>
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x96348000 - 0x9635efff com.apple.DictionaryServices 1.0.0 (1.0.0)
<7d20b8d1fb238c3e71d0fa6fda18c4f7>
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x96367000 - 0x963eeff7 libsqlite3.0.dylib ??? (???)
<eeedc8bf6881ac9f2c1954b1c8037720> /usr/lib/libsqlite3.0.dylib
0x966f8000 - 0x9685fff3 libSystem.B.dylib ??? (???)
<d68880dfb1f8becdbdac6928db1510fb> /usr/lib/libSystem.B.dylib
0x9715a000 - 0x9715affa com.apple.CoreServices 32 (32)
<373d6a888f9204641f313bc6070ae065>
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x97473000 - 0x97554ff7 libxml2.2.dylib ??? (???)
<306036e0070330e35045650e6d9f0d05> /usr/lib/libxml2.2.dylib
0x97555000 - 0x9755cffe libbsm.dylib ??? (???)
<fa7ae5f1a621d9b69e7e18747c9405fb> /usr/lib/libbsm.dylib
0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
----
--
Puneet Kishor http://www.punkish.org/
Nelson Institute for Environmental Studies http://www.nelson.wisc.edu/
Carbon Model http://carbonmodel.org/
Open Source Geospatial Foundation http://www.osgeo.org/
Sent from: Madison WI United States.
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl