it compiled fine, but when I try to start anjuta, it hangs at the splash screen. starting it out of a shell gives following informations: blubb@aqua blubb $ anjuta (anjuta:10606): GLib-GObject-WARNING **: g_object_set_valist: construct property "type" for object `ESplash' can't be set after construction ** Message: Initializing AP class ** Message: Initializing AP Instance there is no activity, the process is sleeping Reproducible: Always Steps to Reproduce: 1.start anjuta 2. 3. Actual Results: the application hangs at the splash screen Expected Results: start the main window
I just marked it testing as it compiled and worked for me as well as for someone who filed a bug about it... Can someone confirm this behaviour so we can track down what triggers it ?
I can't confirm this behaviour.... Are you still having this problem? Perhaps it's an issue with having old anjuta configs on your system?
It's still here and no, it's not an old config, it was a new installation (tried twice, then gave up)
Created attachment 32977 [details] strace anjuta
Same bug here. Anjuta-1.2.2 on amd64 was working. Upgrade to gtk-2.4 and gnome-2.6 yesterday. Since then, it hangs. I tried to recompile anjuta, same thing. I attached an strace.
I've got the same versions of gtk and gnome and installed anjuta after switching to them, so I think that's the reason.
Please provide output of emerge info and the exact version numbers of gtk+ and gnome.
emerge info # emerge info Portage 2.0.50-r7 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.4.20040605-r0, 2.6.6-mm3) ================================================================= System uname: 2.6.6-mm3 x86_64 5 Gentoo Base System version 1.4.16 distcc 2.12.1 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache keeptemp keepwork sandbox userpriv" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa amd64 apm avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif glx gnome gphoto2 gpm gtk gtk2 imlib jpeg libg++ libwww mikmod motif mozilla mpeg ncurses nls nogcj oggvorbis opengl pam pdflib perl png python quicktime readline samba sdl slang spell ssl tcltk tcpd tetex truetype xml xml2 xmms xv zlib" gnome has version 2.6.1 gtk has version 2.4.0
Not sure if you need from both of us. From same machine as the strace : -> gtk-2.4.1 and Gnome-2.6 emerge info : Portage 2.0.50-r8 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040529-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 x86_64 4 Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X alsa amd64 apm avi berkdb cdr cups dvd dvdr esd fftw foomaticdb gdbm gif gnome gnomedb gpm gtk gtk2 gtkhtml imlib java jpeg kerberos ldap libg++ libwww mozilla mpeg mysql ncurses nogcj odbc oggvorbis opengl oss pam pdflib perl plotutils png postgres ppds python readline samba sdl slang spell ssl tcltk tcpd tiff truetype xml xml2 xmms xv zlib"
duplicated here too. strace shows that it's complaining about a number of things. i'll build a detailed strace and attach it.
Created attachment 33347 [details] Anjuta hang on startup Scott root # emerge info Portage 2.0.50-r8 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,2.3.3_pre20040420-r0,2.3.3_pre20040529-r0,2.3.4.20040605-r0, 2.6.7-rc3) ================================================================= System uname: 2.6.7-rc3 x86_64 5 Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="no" CFLAGS="-mcpu=opteron -march=opteron -O3 -pipe -fexpensive-optimizations -ffast-math -mfpmath=sse,387 -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=opteron -march=opteron -O3 -pipe -fexpensive-optimizations -ffast-math -mfpmath=sse,387 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache keepwork sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="GAPING_SECURITY_HOLE S3TC X X509 aac acpi acpi4linux aim alsa amd64 apache2 arts artswrappersuid audiofile avantgo avi bluetooth caps cddb cdf cdr chroot cle266 crypt cups devfs26 dga distcache divx4linux dnd dv dvb dvd dvdr encode esd ethereal faad fam fax ffmpeg fftw flash flexresp fmod foomaticdb freetype fs gd gdbm geoip gif gimp gimpprint glade glut gmp gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml icq idea ieee1394 imagemagick imap imlib imlib2 ipv6 irda irmc jabber jack jack-caps jack-tmpfs java javascript jbig jpeg kadu-modules kadu-voice kde lcms libg++ libgda libwww lirc live ltsp mbox mcal md5sum mdb memlimit mikmod mmap mng mozcalendar mozilla mozinterfaceinfo mozp3p mozsvg mpeg mpeg4 mpi mplayer msn multilib multitarget ncurses nls nogcj nptl ntlm nvidia nviz oav odbc offensive oggvorbis openal opengl oscar oss pam parse-clocks pcap pdflib perl php pic plotutils png pnp portaudio postgres ppds pthreads python quicktime readline remote samba scanner sdl slang slp sndfile snmp socks5 sox speedo speex spell ssl t1lib tcpd theora tiff timidity transcode transparent-proxy truetype type1 usb v4l v4l2 wifi wmf xgetdefault xine xinerama xml2 xmms xosd xprint xrandr xv xvid yahoo yaz zlib zvbi"
(gdb) r Starting program: /usr/bin/anjuta warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. (anjuta:5389): GLib-GObject-WARNING **: g_object_set_valist: construct property "type" for object `ESplash' can't be set after construction ** Message: Initializing AP class ** Message: Initializing AP Instance ** Message: Creating pixbuf hash table Detaching after fork from child process 5538. Breakpoint 4, populate_supports (tmodel=0xec2340) at compiler_options.c:385 385 line = NULL; (gdb) u 413 Breakpoint 5, populate_supports (tmodel=0xec2340) at compiler_options.c:413 413 g_free (line); (gdb) c 68 Will ignore next 67 crossings of breakpoint 5. No breakpoint number -1. (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0x0000002a9a2b8bef in mallopt () from /lib/libc.so.6 (gdb) up #1 0x0000002a9a2b7ac2 in free () from /lib/libc.so.6 (gdb) #2 0x0000002a99a7b5ef in g_free () from /usr/lib/libglib-2.0.so.0 (gdb) #3 0x000000000046f9ac in populate_supports (tmodel=0xec2340) at compiler_options.c:413 413 g_free (line); (gdb) p line $8 = ( gchar *) 0xec5410 "vorbisenc", ' ' <repeats 16 times>, "vorbisenc - vorbisenc is a library that provides a convenient API for setting up an encoding environment using libvorbis\n" (gdb) p *line $9 = 118 'v' (gdb)
Scott anjuta-1.2.2 # export MALLOC_CHECK_=1 Scott anjuta-1.2.2 # anjuta malloc: using debugging hooks malloc: using debugging hooks (anjuta:7682): GLib-GObject-WARNING **: g_object_set_valist: construct property "type" for object `ESplash' can't be set after construction ** Message: Initializing AP class ** Message: Initializing AP Instance ** Message: Creating pixbuf hash table malloc: using debugging hooks free(): invalid pointer 0xf209e0! free(): invalid pointer 0xf25610!
Necessary 64bit patch now gets applied unconditionally. Thx to the forum guy who found it ! But please drop us some lines here too.
Hmm, error is still the same after an emerge sync and emerge anjuta (emerged anjuta-1.2.2-r1)
Still hangs here too after upgrade to 1.2.2-r1. Stop on segmentation fault.
Confirmed, the patch does not fix anjuta hanging.
In case it matters/helps, anjuta-1.2.1 seems to work fine on same system. No hanging on startup. Seems functionnal.
i can confirm that, anjuta-1.2.1 runs but anjuta-1.2.2-r1 (with the amd64-patch!) does not.
Created attachment 36926 [details] GDB output of anjuta on my machine
Created attachment 36928 [details] strace output after compiling the source from anjuta.org Just for giggles, I compiled the anjuta 1.2.2 source from anjuta.org with debug symbols enabled, and this is the strace I got.
Created attachment 38079 [details, diff] proposed fix Should fix it. 64 bit write to a prolly 32-bit var was screwing up what looks like the stack. had the same problem with fresh install. WORKS FOR ME.
i applied the patch and it WORKSFORME also ;)
[Odd. This worked for me even without the last patch. Just checked it again.] In CVS now. Thx bbbill_42!