[ptx] hugin (CVS) - segmentation fault

Andreas Hirczy ahi at itp.tugraz.at
Mon Nov 8 12:54:59 GMT 2004


"Pablo d'Angelo" <pablo.dangelo at web.de> writes:

> On Sun, 07 Nov 2004, Andreas Hirczy wrote:
> 
> Hmm, strange, looks like the xrc files are outdated. May it helps to update
> the CVS, and run hugin in the build directory.
> 
> Deleting any /usr/share/hugin/* files (or similar) from older installations
> might also help.
> 
> ciao
>   Pablo
> 

I remove all other traces of hugin and recompiled (to mimic a debian install) with:

-------------------------
rm -rf ./debian/hugin
mkdir  ./debian/hugin
CFLAGS="-Wall -g -O2" ./configure --prefix=/usr
make clean
make
make install DESTDIR=`pwd`/debian/hugin
su -c "rsync -av ./debian/hugin/* /"
/usr/bin/hugin
-------------------------

leads to
   [ahi at faeppc48 hugin-0.3.20041102]$ /usr/bin/hugin 
   Panorama obj created
   ERROR: 16:13:03.284333 (MainFrame.cpp:226) MainFrame(): splash image not found
   Segmentation fault (core dumped)

with a excerpt in from strace:

[...]
stat64("/usr/bin/xrc/main_frame.xrc", 0xbffff600) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share/hugin/xrc/main_frame.xrc", 0xbffff600) = -1 ENOENT (No such file or directory)
stat64("/main_frame.xrc", 0xbffff520)   = -1 ENOENT (No such file or directory)
[...]
stat64("/usr/bin/xrc/data/splash.png", 0xbffff4b0) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share/hugin/xrc/data/splash.png", 0xbffff4b0) = -1 ENOENT (No such file or directory)
stat64("/data/splash.png", 0xbffff480)  = -1 ENOENT (No such file or directory)
[...]


On the other hand

-------------------------
rm -rf ./debian/hugin
mkdir  ./debian/hugin
CFLAGS="-Wall -g -O2" ./configure --prefix=/usr/local
make clean
make
make install DESTDIR=`pwd`/debian/hugin
su -c "rsync -av ./debian/hugin/* /"
/usr/local/bin/hugin
-------------------------

works - and now /usr/bin/hugin works also.


Andreas

-- 
Andreas Hirczy <ahi at itp.tugraz.at>                   http://itp.tugraz.at/~ahi/
Graz University of Technology                          phone: +43/316/873-81 90
Institute of Theoretical and Computational Physics       fax: +43/316/873-86 78
Petersgasse 16, A-8010 Graz                         mobile: +43/699/19 14 24 60


More information about the ptX mailing list