Hi Pablo, 2010/4/24 Pablo d'Angelo <[email protected]>
> Hi Harry, > > > The keypoints program doesn't link to zthread, can you try running this and > see if it also crashes? > > > The 64bits keypoints program runs fine. > ciao > Pablo > > Now, maybe you did see it and maybe not, but I added panomatic-lib to the XCode project. I got segfaults when linking panomatic against ZThread. After I unset the "prebinding" in the linking options for ZThread in the XCode project I could link panomatic against ZThread. Not even that: also the 64bit version now starts correctly showing the options. However when running it on a set of images it segfaults in the end: --- Analyze Images --- i0 : Analyze image... i1 : Analyze image... i1 : Load RGB... i0 : Load RGB... i1 : Resize to greyscale double... i0 : Resize to greyscale double... i1 : Build integral image... Segmentation fault The i386 version still runs fine. The gdb bugtrace run for the x86_64 is as follows: gdb ./panomatic GNU gdb 6.3.50-20050815 (Apple version gdb-967) (Tue Jul 14 02:11: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 ...... done (gdb) r -o crash.pto ~/Pictures/panorama/1222-021.JPG ~/Pictures/panorama/1222-022.JPG Starting program: /Users/Shared/development/hugin_related/hugin/mac/build/Release/Hugin.app/Contents/Resources/panomatic -o crash.pto ~/Pictures/panorama/1222-021.JPG ~/Pictures/panorama/1222-022.JPG warning: posix_spawn failed, trying execvp, error: 86 Reading symbols for shared libraries +++++................................................................................................ done ThreadQueue created Pan-o-matic 0.9.4 by Anael Orlinski - [email protected] Output file : crash.pto Number of CPU : 2 Input image options Downscale to half-size : yes Gradient based description Score threshold : 1000 Sieve 1 Options Width : 10 Height : 10 Size : 10 ==> Maximum keypoints per image : 1000 KDTree Options Search steps : 40 Second match distance : 0.15 Matching Options Mode : All pairs Distance threshold : 25 RANSAC Options Iterations : 1000 Distance threshold : 25 Sieve 2 Options Width : 5 Height : 5 Size : 1 ==> Maximum matches per image pair : 25 Input Files : - /Users/harryvanderwolf/Pictures/panorama/1222-021.JPG - /Users/harryvanderwolf/Pictures/panorama/1222-022.JPG User thread created. Reference thread created. 1 reference-thread added. pollPendingThreads() 1 user-thread added. Thread starting... User thread created. pollPendingThreads() 1 user-thread added. Thread starting... --- Analyze Images --- i0 : Analyze image... i1 : Analyze image... i0 : Load RGB... i1 : Load RGB... i1 : Resize to greyscale double... i0 : Resize to greyscale double... i0 : Build integral image... i1 : Build integral image... Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x00000001108e8a80 [Switching to process 85264 thread 0x1103] 0x00000001000dd387 in lfeat::Image::buildIntegralImage () Harry -- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx
