Hi,

2010/4/23 Pablo d'Angelo <[email protected]>

> Hi Harry,
>
> Harry van der Wolf schrieb:
>
>  Hi,
>>
>> I tried to file a bug via the tracker on "
>> https://code.launchpad.net/~pablo.dangelo/hugin/panomatic-lib<https://code.launchpad.net/%7Epablo.dangelo/hugin/panomatic-lib>",
>> but I can't find how to do that.  Has the Launchpad bug tracker been
>> activated for panomatic-lib?
>>
>
> I haven't looked at the bug tracker setup on launchpad yet, probably that
> needs some more work. In the long term, this will be merged in the hugin
> source tree anyway.
>
>
>  When starting to run a 64bit (x86_64) version of the patent-free panomatic
>> it segfaults. It doesn't matter whether I start it with options or without
>> options. Please note that "panomatic" is referred to as "patfree-panomatic"
>> as I renamed it to "patfree-panomatic" to prevent confusion with "the other"
>> panomatic.
>>
>
> Ok, so it crashes also if invoked without images? Can you post the detailed
> steps (commands to run) to reproduce the bug?
>
>
>  I copied the crash report into to this mail. I hope it makes sense to the
>> experts as it doesn't to me.
>>
>
> Not really. the best thing would be a compilation in debug mode (set
> CMAKE_BUILD_TYPE to Debug), and run it under gdb:
> $ gdb patfree-panomatic
>
$ r -o crash.pto image1 image2
> ...
> ...
> $ bt
>
> That would help a lot!
>
> ciao
>  Pablo



I had already built a debug version. I hoped that would create a better
crash report.


First a gdb run starting panomatic (I renamed it back) without parameters:
(gdb) r
Starting program:
/Users/Shared/development/hugin_related/hugin/mac/build/Release/Hugin.app/Contents/Resources/panomatic

warning: posix_spawn failed, trying execvp, error: 86
Reading symbols for shared libraries
+++++................................................................................................
done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x000000010003ae3f in dyld_stub_time ()
(gdb) bt
#0  0x000000010003ae3f in dyld_stub_time ()
#1  0x00007fff5fbfe110 in ?? ()
#2  0x00007fff5fc112f7 in
__dyld__ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE
()
#3  0x00007fff5fc112f7 in
__dyld__ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE
()
#4  0x00007fff5fc0d20c in
__dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEj ()
#5  0x00007fff5fc0d2f4 in
__dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextE ()
#6  0x00007fff5fc038b4 in __dyld__ZN4dyld24initializeMainExecutableEv ()
#7  0x00007fff5fc06ea1 in __dyld__ZN4dyld5_mainEPK11mach_headermiPPKcS5_S5_
()
#8  0x00007fff5fc01695 in
__dyld__ZN13dyldbootstrap5startEPK11mach_headeriPPKcl ()
#9  0x00007fff5fc0103a in __dyld__dyld_start ()
#10 0x0000000100000000 in ?? ()
#11 0x0000000000000001 in ?? ()
#12 0x00007fff5fbff890 in ?? ()
(gdb)


Then a run according your parameters:

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 ./1222-021.JPG ./1222-022.JPG
Starting program:
/Users/Shared/development/hugin_related/hugin/mac/build/Release/Hugin.app/Contents/Resources/panomatic
-o crash.pto ./1222-021.JPG ./1222-022.JPG
warning: posix_spawn failed, trying execvp, error: 86
Reading symbols for shared libraries
+++++................................................................................................
done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x000000010003ae3f in dyld_stub_time ()
(gdb) bt
#0  0x000000010003ae3f in dyld_stub_time ()
#1  0x00007fff5fbfe090 in ?? ()
#2  0x00007fff5fc112f7 in
__dyld__ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE
()
#3  0x00007fff5fc112f7 in
__dyld__ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE
()
#4  0x00007fff5fc0d20c in
__dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEj ()
#5  0x00007fff5fc0d2f4 in
__dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextE ()
#6  0x00007fff5fc038b4 in __dyld__ZN4dyld24initializeMainExecutableEv ()
#7  0x00007fff5fc06ea1 in __dyld__ZN4dyld5_mainEPK11mach_headermiPPKcS5_S5_
()
#8  0x00007fff5fc01695 in
__dyld__ZN13dyldbootstrap5startEPK11mach_headeriPPKcl ()
#9  0x00007fff5fc0103a in __dyld__dyld_start ()
#10 0x0000000100000000 in ?? ()
#11 0x0000000000000005 in ?? ()
#12 0x00007fff5fbff838 in ?? ()
#13 0x00007fff5fbff89f in ?? ()
#14 0x00007fff5fbff8a2 in ?? ()
#15 0x00007fff5fbff8ac in ?? ()
#16 0x00007fff5fbff8bb in ?? ()
(gdb)


Please let me know if you need more info.

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

Reply via email to