[ptx] Hugin crashes just after startup

douglas wilkins dgswilkins at yahoo.co.uk
Tue Mar 1 04:46:02 GMT 2005


 --- Edouard Gomez <edouard.gomez at gmail.com> wrote: 
> Ok it's now more than 2 weeks that i try to upgrade
> my panoramic
> toolchain and i can't get it working at all on my
> SID box. First
> it was some kind of obscure interaction of debian
> gcc with panorama.h
> file used in hugin, but even with that problem
> resolved, i can't get
> hugin starting.
> 
> The thing that most annoy me, as a developper, is
> that i can't get
> anything from gdb/insight, because when i try to
> debug then hugin just
> forks so many childs at startup and strangely, gdb
> detaches from all
> processes and i can't see where it segfaults, i get
> absolutly no line
> number.

If the segfault produces a core dump (it should) then:
gdb hugin <core file name> 
should give it to you

> 
> So i try to give as much information as i can, but
> i'm sure that it's
> not enough to get this fixed.
> 
> Symptoms:
> - launch hugin
> - starts creating the pano object
> - shows up the logo
> - crashes
> 
> Output from the --enable-debug compile:
> $ hugin
> 
> Panorama obj created
> TRACE 23:38:51.303177 (huginApp.cpp:62) huginApp():
> ctor
> INFO 23:38:51.357072 (huginApp.cpp:88) OnInit():
> hugin path:
> INFO 23:38:51.358195 (huginApp.cpp:99) OnInit():
> writes in config:  5
> 
> TRACE 23:38:51.358379 (huginApp.cpp:105) OnInit():
> localeID: 0
> TRACE 23:38:51.359201 (huginApp.cpp:110) OnInit():
> locale init OK
> TRACE 23:38:51.359318 (huginApp.cpp:111) OnInit():
> System Locale: C
> TRACE 23:38:51.359424 (huginApp.cpp:112) OnInit():
> Canonical Locale: en_GB
> INFO 23:38:51.359538 (huginApp.cpp:122) OnInit():
> add locale path: /mnt/vrac/opt/hugin/share/locale
> INFO 23:38:51.360540 (huginApp.cpp:149) OnInit():
> using installed xrc files
> INFO 23:38:52.490420 (MainFrame.cpp:167)
> MainFrame(): using installed xrc files
> INFO 23:38:52.490676 (MainFrame.cpp:190)
> MainFrame(): XRC prefix set to:
> /mnt/vrac/opt/hugin/share/hugin/xrc/
> Segmentation fault

The next DEBUG_TRACE is on line 256, which obviously
it did not reach. The only thing it does between these
two points is to set up the splash screen. It is
finding the PNG which is used on the splash or it
would have hit the fatal on line 247. Maybe you could
try adding DEBUG_TRACE("");
statements to see exactly where this is failing?

I have not yet tried this on a linux machine with
2.5.4, only 2.4.2, 2.5.3, and CVS Head, all of which
work on my machine.

> 
> Relevant env variables:
>
LD_LIBRARY_PATH=/mnt/vrac/opt/xvidcore/lib:/mnt/vrac/opt/hugin/lib:/mnt/vrac/opt/lame/lib:/mnt/vrac/opt/mplayer/lib:/mnt/vrac/opt/ffmpeg/lib:/mnt/vrac/opt/wxwidgets/lib
>
PATH=/mnt/vrac/opt/arch/bin:/mnt/vrac/opt/xvidcore/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/mnt/vrac/opt/mingw32-cross/bin:/mnt/vrac/opt/java/bin:/mnt/vrac/opt/ffmpeg/bin:/mnt/vrac/opt/hugin/bin:/mnt/vrac/opt/insight/bin:/mnt/vrac/opt/transcode/bin:/mnt/vrac/opt/yasm/bin:/mnt/vrac/opt/lame/bin:/mnt/vrac/opt/mplayer/bin:/mnt/vrac/opt/emacs/bin:/mnt/vrac/opt/eclipse/:/mnt/vrac/opt/wxwidgets/bin
> JAVA_HOME=/mnt/vrac/opt/java
> 
> Software versions:
> - Debian SID
> - gcc 3.4 or gcc 3.3 from Debian SID as of
> 2005-02-28
> - Hugin CVS as of 2005-02-28
> - libpano12 CVS as of 2005-02-28
> - wxWidgets 2.5.4 release from sourceforge project
> - Java 1.5.0 headers used for libpano compile

MDK Cooker
gcc 3.4
hugin CVS
libpano12 CVS
wxWidgets 2.5.3 (unicode enabled)
Java 1.5.0 headers

for me

> 
> Relevant linking information:
> $ ldd /mnt/vrac/opt/hugin/bin/hugin
> 	libwx_gtk2_xrc-2.5.so.4 =>
> /mnt/vrac/opt/wxwidgets/lib/libwx_gtk2_xrc-2.5.so.4
> (0xb7f7c000)
> 	libwx_gtk2_html-2.5.so.4 =>
> /mnt/vrac/opt/wxwidgets/lib/libwx_gtk2_html-2.5.so.4
> (0xb7efa000)
> 	libwx_gtk2_adv-2.5.so.4 =>
> /mnt/vrac/opt/wxwidgets/lib/libwx_gtk2_adv-2.5.so.4
> (0xb7e63000)
> 	libwx_gtk2_core-2.5.so.4 =>
> /mnt/vrac/opt/wxwidgets/lib/libwx_gtk2_core-2.5.so.4
> (0xb7bbf000)
> 	libwx_base_xml-2.5.so.4 =>
> /mnt/vrac/opt/wxwidgets/lib/libwx_base_xml-2.5.so.4
> (0xb7bb7000)
> 	libwx_base_net-2.5.so.4 =>
> /mnt/vrac/opt/wxwidgets/lib/libwx_base_net-2.5.so.4
> (0xb7b8c000)
> 	libwx_base-2.5.so.4 =>
> /mnt/vrac/opt/wxwidgets/lib/libwx_base-2.5.so.4
> (0xb7a97000)
> 	libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0
> (0xb77ae000)
> 	libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0
> (0xb773e000)
> 	libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0
> (0xb7720000)
> 	libgdk_pixbuf-2.0.so.0 =>
> /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb770a000)
> 	libpangoxft-1.0.so.0 =>
> /usr/lib/libpangoxft-1.0.so.0 (0xb7702000)
> 	libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0
> (0xb76f7000)
> 	libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0
> (0xb76be000)
> 	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0
> (0xb768a000)
> 	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0
> (0xb7686000)
> 	libdl.so.2 => /lib/tls/libdl.so.2 (0xb7683000)
> 	libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0
> (0xb767d000)
> 	libpthread.so.0 => /lib/tls/libpthread.so.0
> (0xb766e000)
> 	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0
> (0xb75ee000)
> 	libpano12.so.0 =>
> /mnt/vrac/opt/hugin/lib/libpano12.so.0 (0xb75b1000)
> 	libpng12.so.0 => /usr/lib/libpng12.so.0
> (0xb758c000)
> 	libtiff.so.4 => /usr/lib/libtiff.so.4 (0xb753d000)
> 	libjpeg.so.62 => /usr/lib/libjpeg.so.62
> (0xb751e000)
> 	libz.so.1 => /usr/lib/libz.so.1 (0xb750c000)
> 	libstdc++.so.6 => /usr/lib/libstdc++.so.6
> (0xb743d000)
> 	libm.so.6 => /lib/tls/libm.so.6 (0xb741b000)
> 	libc.so.6 => /lib/tls/libc.so.6 (0xb72e7000)
> 	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb72de000)
> 	libXxf86vm.so => /usr/X11R6/lib/libXxf86vm.so
> (0xb72d8000)
> 	libexpat.so.1 => /usr/lib/libexpat.so.1
> (0xb72b8000)
> 	libX11.so.6 => /usr/X11R6/lib/libX11.so.6
> (0xb71f1000)
> 	libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2
> (0xb71ed000)
> 	libXi.so.6 => /usr/X11R6/lib/libXi.so.6
> (0xb71e4000)
> 	libXext.so.6 => /usr/X11R6/lib/libXext.so.6
> (0xb71d6000)
> 	libXft.so.2 => /usr/lib/libXft.so.2 (0xb71c4000)
> 	libfreetype.so.6 => /usr/lib/libfreetype.so.6
> (0xb7157000)
> 	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1
> (0xb7130000)
> 	libXcursor.so.1 => /usr/lib/libXcursor.so.1
> (0xb7127000)
> 	libXrender.so.1 => /usr/lib/libXrender.so.1
> (0xb711e000)
> 	libpangoft2-1.0.so.0 =>
> /usr/lib/libpangoft2-1.0.so.0 (0xb70f8000)
> 	/lib/ld-linux.so.2 => /lib/ld-linux.so.2
> (0xb7fea000)

Apart from the obvious differences, pretty much the
same for me.

HTH
regards,
Doug

Send instant messages to your online friends http://uk.messenger.yahoo.com 


More information about the ptX mailing list