Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130491 - dev-util/anjuta-1.2.4 crashes on startup
Summary: dev-util/anjuta-1.2.4 crashes on startup
Status: RESOLVED DUPLICATE of bug 128928
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Philip Walls (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-19 09:23 UTC by Tiago
Modified: 2007-06-10 13:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace output (anjuta-strace,233.82 KB, text/plain)
2006-04-19 09:25 UTC, Tiago
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tiago 2006-04-19 09:23:56 UTC
When starting Anjuta a dialog box appears with the message (always reproducible):

    The Application "anjuta" has quit unexpectedly.
    You can inform the developers of what happened to help them fix it.  Or you can restart the application right now.

Also, clicking "restart application" on this dialog leads to the same behavior. When ran from a command line the output is:

    tjgq@trillian:~$ anjuta
    ** Message: Initializing AP class
    ** Message: Initializing AP Instance

Output of emerge --info follows.

Gentoo Base System version 1.6.14
Portage 2.1_pre7-r5 (default-linux/x86/2005.1, gcc-3.4.5, unavailable, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  [Not Present]
ACCEPT_KEYWORDS=""
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer sandbox"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ ftp://ftp.rnl.ist.utl.pt/pub/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://darkstar.ist.utl.pt/pub/gentoo/portage"
USE="a52 aac aalib acpi apache2 asf audiofile bash-completion bluetooth bootsplash bzip2 cddb cdparanoia cscope css curl dbus directfb dts dv dvd dvdread dvi emacs esd fame fat fbcon ffmpeg firefox flac ftp fuse gd gimpprint glut gtkhtml hal iconv idn ieee1394 imagemagick imap jack java javascript jpeg2k kdeenablefinal kdexdeltas lcms libcaca lm_sensors mime mjpeg mmx mng mono mozilla moznocompose moznoirc moznomail mozsvg mplayer msn mule nptl nptlonly ntfs offensive pdf php plotutils ppds rdesktop real reiserfs samba scanner session sharedmem slang sndfile snmp sockets softmmu sox speech speex spl sse sse2 subtitles svg svga symlink tcltk tetex theora threads tiff tokenizer toolbar transcode udev unicode usb v4l v4l2 vcd wifi win32codecs wmf xine xpm xvid"
Unset:  EMERGE_DEFAULT_OPTS
Comment 1 Tiago 2006-04-19 09:25:54 UTC
Created attachment 84967 [details]
strace output

This is the output of `strace anjuta`. The reason of the crash seems to be a SIGSEGV, but I'm unable to determine why it happens.
Comment 2 Tyler Mandry 2006-04-28 12:26:46 UTC
Same problem. I use KDE on AMD64.

# emerge --info
Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.4-r1, 2.6.16-ck3 x86_64)
=================================================================
System uname: 2.6.16-ck3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -funroll-loops -fomit-frame-pointer -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -funroll-loops -fomit-frame-pointer -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.ccccom.com http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://gentoo.cs.lewisu.edu/gentoo/ http://lug.mtu.edu/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X acpi aim alsa apic apm audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt cups curl dri eds emboss encode exif expat fam foomaticdb fortran gd gif gimpprint glut gpm gstreamer gtk2 idn imagemagick imlib ipv6 isdnlog jabber java jpeg kde lcms lzw lzw-tiff mad mhash mng mp3 mpeg msn ncurses nptl nptlonly nvidia ogg openal opengl oscar oss pam pcre pdflib perl pic png ppds pppd python qt quicktime readline samba scanner sdl snmp spell ssl symlink tcpd theora tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 3 Chérif YAYA 2006-05-09 12:12:38 UTC
 same problem. I'm using Kde on Pentium M

emerge --infoo

Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r3 i686)
=================================================================
System uname: 2.6.16-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://miroor.phy.olemiss.edu/mirror/gentoo http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo "
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt cups curl dri eds emboss encode esd exif expat fam ffmpeg font-server foomaticdb fortran gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml hal howl idn imagemagick imlib ipv6 isdnlog java jpeg junit kde lcms libg++ libwww mad mikmod mng motif mozilla mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection ruby samba sdl session spell spl ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml xml2 xmms xorg xv zlib video_cards_radeon linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 4 Linux Blues 2006-05-22 00:58:57 UTC
same problem.

FEATURES="nostrip" USE="debug" CFLAGS="-march=athlon-xp -O2 -g3 -ggdb -mmmx -msse -m3dnow -mfpmath=sse -fforce-addr" emerge anjuta


-----
$ gdb /usr/bin/anjuta anjuta
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"...Using host libthread_db library "/lib/libthread_db.so.1".

gdb> run
[Thread debugging using libthread_db enabled]
[New Thread -1209751360 (LWP 6441)]
** Message: Initializing AP class
** Message: Initializing AP Instance
** Message: Creating pixbuf hash table

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1209751360 (LWP 6441)]
Error while running hook_stop:
Invalid type combination in ordering comparison.
0x080996c5 in on_stock_selection_changed (selection=0x85e7c58) at anjuta-encodings.c:568
568     anjuta-encodings.c: No such file or directory.
        in anjuta-encodings.c

gdb> bt
#0  0x080996c5 in on_stock_selection_changed (selection=0x85e7c58) at anjuta-encodings.c:568
#1  0x4b5bd5e6 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#2  0x4b5a71dd in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#3  0x4b5bbf91 in g_signal_has_handler_pending () from /usr/lib/libgobject-2.0.so.0
#4  0x4b5bcf07 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#5  0x4b5bd1e6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#6  0x4afbd79f in gtk_tree_selection_select_all () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x4afd90d8 in gtk_tree_view_set_model () from /usr/lib/libgtk-x11-2.0.so.0
#8  0x08099d32 in anjuta_encodings_init (pref=0x8345340) at anjuta-encodings.c:716
#9  0x08108d0e in anjuta_new () at anjuta.c:205
#10 0x080c08ad in main (argc=0x1, argv=0xbfe63cb4) at main.c:196


-----
Bug-Buddy backtrace:

Backtrace was generated from '/usr/bin/anjuta'

Using host libthread_db library "/lib/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1209218880 (LWP 6419)]
0xffffe410 in __kernel_vsyscall ()
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x4b46b4c3 in __waitpid_nocancel () from /lib/libpthread.so.0
#2  0x4ba6b630 in libgnomeui_module_info_get () from /usr/lib/libgnomeui-2.so.0
#3  <signal handler called>
#4  0x080996c5 in on_stock_selection_changed (selection=0x85e92d8) at anjuta-encodings.c:568
#5  0x4b5bd5e6 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#6  0x4b5a71dd in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#7  0x4b5bbf91 in g_signal_has_handler_pending () from /usr/lib/libgobject-2.0.so.0
#8  0x4b5bcf07 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#9  0x4b5bd1e6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#10 0x4afbd79f in gtk_tree_selection_select_all () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x4afd90d8 in gtk_tree_view_set_model () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x08099d32 in anjuta_encodings_init (pref=0x83454e0) at anjuta-encodings.c:716
#13 0x08108d0e in anjuta_new () at anjuta.c:205
#14 0x080c08ad in main (argc=0x1, argv=0xbffe6064) at main.c:196
  1 Thread -1209218880 (LWP 6419)  0xffffe410 in __kernel_vsyscall ()

-----
The problem seems to be a missing anjuta-encodings.c
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-06-10 11:23:11 UTC

*** This bug has been marked as a duplicate of bug 128928 ***