From: Daniel M. G. <dm...@uv...> - 2006-12-16 08:44:40
|
I found the bug. It was a free inside a loop. Thanks for the backtrace. It was very quick to fix it this way It is on its way to SVN. dmg Pablo d'Angelo twisted the bytes to say: Pablo> Daniel M. German schrieb: >> I guess we better release an official version of the library soon. I >> think there are no major oustanding issues, except for lack of support >> under Windows. Pablo> I can compile windows binaries of the libpano13 branch without problems. In Pablo> fact, by using wxWidgets and Visual Studio, it is probably not too hard for Pablo> others, too. By lack of support you mean, too many PrintError() message Pablo> boxes appearing? Pablo> I had a crash in PTmender while trying the new projections. Only the first Pablo> two remapped images where written. (Although it seems to remap all four). Pablo> The crash doesn't seem to be related to the projections. I get the same Pablo> error with other projections as well. Pablo> $ PTmender -o test_lambert test_lambert.txt Pablo> [...] Pablo> Writing Output Images 25%*** glibc detected *** double free or Pablo> corruption (top): 0x0000000000503f80 *** Pablo> Aborted Pablo> $ Pablo> This is the backtrace I get: Pablo> (gdb) bt Pablo> #0 0x00002aaaaafe311d in raise () from /lib/libc.so.6 Pablo> #1 0x00002aaaaafe484e in abort () from /lib/libc.so.6 Pablo> #2 0x00002aaaab017e41 in __fsetlocking () from /lib/libc.so.6 Pablo> #3 0x00002aaaab01d90e in malloc_usable_size () from /lib/libc.so.6 Pablo> #4 0x00002aaaab01dc56 in free () from /lib/libc.so.6 Pablo> #5 0x00002aaaaac0b82f in panoCreatePanorama (ptrImageFileNames=0x503410, counterImageFiles=4, panoFileName=0x7ffffff8b8e0, scriptFileName=<value optimized out>) at PTcommon.c:1212 Pablo> #6 0x00000000004013e3 in main (argc=5258256, argv=0x503010) at PTmender.c:383 Pablo> I have attached the project file. Pablo> ciao Pablo Pablo> --~--~---------~--~----~------------~-------~--~----~ Pablo> You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. Pablo> A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ Pablo> To post to this group, send email to hug...@go... Pablo> To unsubscribe from this group, send email to hug...@go... Pablo> For more options, visit this group at http://groups.google.com/group/hugin-ptx Pablo> -~----------~----~----~----~------~----~------~--~--- Pablo> # PTStitcher script, written by hugin Pablo> p f4 w3000 h3000 v350 n"TIFF_m c:NONE" Pablo> m g1 i0 Pablo> # output image lines Pablo> o w3088 h2056 f2 a0 b-0.0141882 c0 d-8.79831 e54.4805 g0 p18.3336 r-86.3569 t0 v160.933 y0 u10 m0 n"/home/pablo/photos/2006/09/bonn/pano_schiff/CRW_0589.jpg" S-36,3106,-488,2653 Pablo> o w3088 h2056 f2 a0 b-0.0141882 c0 d-8.79831 e54.4805 g0 p-13.9599 r-86.0256 t0 v160.933 y-91.1651 u10 m0 n"/home/pablo/photos/2006/09/bonn/pano_schiff/CRW_0590.jpg" S-36,3106,-488,2653 Pablo> o w3088 h2056 f2 a0 b-0.0141882 c0 d-8.79831 e54.4805 g0 p26.4611 r-84.6546 t0 v160.933 y-179.147 u10 m0 n"/home/pablo/photos/2006/09/bonn/pano_schiff/CRW_0591.jpg" S-36,3106,-488,2653 Pablo> o w3088 h2056 f2 a0 b-0.0141882 c0 d-8.79831 e54.4805 g0 p-163.883 r91.3734 t0 v160.933 y-97.847 u10 m0 n"/home/pablo/photos/2006/09/bonn/pano_schiff/CRW_0592.jpg" S-36,3106,-487,2654 -- Daniel M. German "Heisenbug is a bug that disappears or alters its behavior when one Jargon Dictionary -> attempts to probe or isolate it." http://turingmachine.org/ http://silvernegative.com/ dmg (at) uvic (dot) ca replace (at) with @ and (dot) with . |