Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Hugin] Ne fonctionne plus: segfault au lancement (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
bdz
Apprentice
Apprentice


Joined: 15 Jul 2005
Posts: 237
Location: Montpellier (France)

PostPosted: Sat Jun 10, 2006 9:14 pm    Post subject: [Hugin] Ne fonctionne plus: segfault au lancement (résolu) Reply with quote

Ca fait trois jours que je m'arrache les cheveux sur ce problème.

J'ai emergé media-gfx/Hugin-0.5 sur mon portable le 11 février et je m'en suis servi sans problème pendant quelques jours (3 pour être exact).
Par la suite je n'ai plus eu trop le temps de jouer a faire des panorama avec mes photos.

Il y a quatre jours j'ai décidé de m'y remettre. Et là, c'est le drame:
Code:
b12@quasar ~ $ hugin
Panorama obj created
TRACE 20:09:49.973343 (huginApp.cpp:138) huginApp(): ctor
Segmentation fault
b12@quasar ~ $


J'ai cherché en vain une solution sur le forum, le Bugzilla de gentoo et Google. J'ai essayé tout ce qui me passait par la tête.
Dans un ordre plus ou moins approximatif:
    Lancer hugin en tant que root
    Mettre a jour libpano12 depuis la version 2.7.0.14 vers la version 2.8.3
    emerge --sync && emerge -uDN world
    revdep-rebuild
    Recompilation de hugin, libpano12, et wxGTK avec diverses configurations de use flags, de celle que j'utilise d'habitude (-Os -mtune=pentium-m -march=pentium-m -mmmx -msse -msse2 -pipe) a la plus sage qui soit: "-g -pipe" (gcc 3.4.6)
    Downgrader wxGTK a la version que j'avais quand ca fonctionnait bien (2.6.2-r1 a l'époque alors que j'ai maintenant la 2.6.3.2)
    Déinstaller et reinstaller hugin et libpano12


Mais rien n'y a fait.

Est-ce que quelqu'un aurrait une solution ou une idée a tester, même la plus incensée, pour faire re-fonctionner hugin sur ma gentoo adorée?
Est-ce que quelqu'un arrive a lancer Hugin sur un système en ~arch en ce moment?

Merci d'avance pour vos réponses
BDz

P.S.
Je ne sais pas si ca peut aider, mais voila mon emerge -info:
Code:
Gentoo Base System version 1.12.1
Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r8-bdz-r1 i686)
=================================================================
System uname: 2.6.16-gentoo-r8-bdz-r1 i686 Intel(R) Pentium(R) M processor 1.60GHz
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -mtune=pentium-m -march=pentium-m -mmmx -msse -msse2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -mtune=pentium-m -march=pentium-m -mmmx -msse -msse2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/bdz-overlay /usr/local/portage/my-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cairo cdr cjk cli crypt cups curl dga dri dts dv dvd dvdr dvdread eds emboss encode ethereal exif expat fam ffmpeg flac foomaticdb fortran gdbm gif glut gmp gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imlib ipv6 isdnlog java jpeg jpeg2k junit kde kdeenablefinal lcms ldap libg++ libwww mad matroska mikmod mmx mng motif mozilla mp3 mpeg musicbrainz mysql ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre pdflib perl php png povray pppd python qt quicktime readline recode reflection ruby samba sdl session slp speex spell spl sqlite sse sse2 ssl subversion svg tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vhosts vorbis wifi win32codecs xcomposite xine xinerama xml xmms xorg xv xvid zlib {USE_O} elibc_glibc input_devices_-acecad input_devices_-aiptek input_devices_-calcomp input_devices_-citron input_devices_-digitaledge input_devices_-dmc input_devices_-dynapro input_devices_-elo2300 input_devices_-elographics input_devices_evdev input_devices_-fpit input_devices_-hyperpen input_devices_-jamstudio input_devices_-joystick input_devices_-keyboard input_devices_-magellan input_devices_-magictouch input_devices_-microtouch input_devices_mouse input_devices_-mutouch input_devices_-palmax input_devices_-penmount input_devices_-spaceorb input_devices_-summa input_devices_synaptics input_devices_-tek4957 input_devices_-ur98 input_devices_-vmmouse input_devices_-void input_devices_-wacom kernel_linux userland_GNU video_cards_-apm video_cards_-ark video_cards_-ati video_cards_-chips video_cards_-cirrus video_cards_-cyrix video_cards_-dummy video_cards_fbdev video_cards_-fglrx video_cards_-glint video_cards_-i128 video_cards_-i740 video_cards_i810 video_cards_-imstt video_cards_-mga video_cards_-neomagic video_cards_-newport video_cards_-nsc video_cards_-nv video_cards_-nvidia video_cards_-rendition video_cards_-s3 video_cards_-s3virge video_cards_-savage video_cards_-siliconmotion video_cards_-sis video_cards_-sisusb video_cards_-tdfx video_cards_-tga video_cards_-trident video_cards_-tseng video_cards_-v4l video_cards_vesa video_cards_vga video_cards_-via video_cards_-vmware video_cards_-voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


Last edited by bdz on Sun Jun 11, 2006 12:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
CryoGen
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1426
Location: Bamako - Mali - Afrique

PostPosted: Sun Jun 11, 2006 1:30 am    Post subject: Reply with quote

La config du soft deconne peut-etre ? elle doit se trouver dans un repertoire caché (commencant par un '.' donc ;)) qui porte probablement le nom de l'application. Renomme le dossier pour tester, pas la peine d'effacer ta config si ca ne vient pas de là ;)
_________________
- CryoGen` on #gentoofr@irc.freenode.net
- ~amd64 / KDE4
- I'm the bone of my sword...
Back to top
View user's profile Send private message
kopp
Advocate
Advocate


Joined: 09 Apr 2004
Posts: 2885
Location: Grenoble, France

PostPosted: Sun Jun 11, 2006 8:14 am    Post subject: Reply with quote

Des fois, lancer le programme dans GDB donne plus d'info sur la raison du segfault, genre sur quelle lib ça plante, et donc des infos sur quoi recompiler.
Back to top
View user's profile Send private message
bdz
Apprentice
Apprentice


Joined: 15 Jul 2005
Posts: 237
Location: Montpellier (France)

PostPosted: Sun Jun 11, 2006 12:14 pm    Post subject: Reply with quote

CryoGen: oui il y a bien une config dans ~/.hugin mais la supprimer ne change rien

kopp: je m'y connais pas trop en gdb alors je suis pas sur d'avoir fait tout comme il faut. Voila ce que ca donne.

Code:
b12@quasar ~ $ gdb hugin
GNU gdb 6.4
Copyright 2005 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 "i686-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) r
Starting program: /usr/bin/hugin
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

... 22 autres lignes comme ca ...

(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1226082640 (LWP 12663)]
Panorama obj created
TRACE 14:08:59.275549 (huginApp.cpp:138) huginApp(): ctor

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226082640 (LWP 12663)]
0x00000000 in ?? ()
(gdb) backtrace
#0  0x00000000 in ?? ()
#1  0xb6f114fe in XextFindDisplay () from /usr/lib/libSDL-1.2.so.0
#2  0xb6ed7d7c in XShmCreatePixmap () from /usr/lib/libXext.so.6
#3  0xb6ed8028 in XSyncQueryExtension () from /usr/lib/libXext.so.6
#4  0xb7582a1e in gdk_display_open () from /usr/lib/libgdk-x11-2.0.so.0
#5  0xb756997d in gdk_display_open_default_libgtk_only () from /usr/lib/libgdk-x11-2.0.so.0
#6  0xb76a6364 in gtk_init_check () from /usr/lib/libgtk-x11-2.0.so.0
#7  0xb7b79559 in wxApp::Initialize () from /usr/lib/libwx_gtk2ud_core-2.6.so.0
#8  0xb78e78ea in wxEntryStart () from /usr/lib/libwx_baseud-2.6.so.0
#9  0xb78e7be3 in wxEntry () from /usr/lib/libwx_baseud-2.6.so.0
#10 0xb78e7d87 in wxEntry () from /usr/lib/libwx_baseud-2.6.so.0
#11 0x08060534 in ?? ()
#12 0xb6f51892 in __libc_start_main () from /lib/libc.so.6
#13 0x08060161 in ?? ()
(gdb)


Si je comprends bien ca plante dans libSDL-1.2.so.0. Je vais essayer de re-emerger media-libs/libsdl pour voir...

Edit:
Et effectivement libsdl a été mis a jour depuis la dernière fois ou j'ai vu hugin fonctionner correctement. Si recompiler la dernière version de libsdl n'arrage rien je vais aussi essayer de la downgrader. (de 1.2.10 en 1.2.9-r1)
Back to top
View user's profile Send private message
bdz
Apprentice
Apprentice


Joined: 15 Jul 2005
Posts: 237
Location: Montpellier (France)

PostPosted: Sun Jun 11, 2006 12:36 pm    Post subject: \o/ Whoot! Reply with quote

Ca y ets c'est réparé. C'est de downgrader libsdl qui a été la solution.
"=media-libs/libsdl-1.2.10" va rester dans mon /etc/portage/package.mask

Merci beaucoup koop. J'avais déja essaye d'utiliser gdb, mais j'avais laissé tombé ne sachant pas l'utiliser. Ton message m'a motivé a me replonger dans sa doc pour trouver comment afficher la pile d'appel.

Et merci aussi a CryoGen pour sa réponse.
Back to top
View user's profile Send private message
kopp
Advocate
Advocate


Joined: 09 Apr 2004
Posts: 2885
Location: Grenoble, France

PostPosted: Sun Jun 11, 2006 12:53 pm    Post subject: Reply with quote

Si ça peut te rassurer, je n'ai pas une utilisation plus compliquée de GDB, je lance puis run et hop ;) Après j'sais pas faire.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum