First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 50255
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Simon Stelling (RETIRED) <blubb@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
anjuta.txt strace anjuta text/plain Christophe 2004-06-09 08:27 0000 697.89 KB Details
anjuta.out Anjuta hang on startup text/plain Blu3 2004-06-15 17:40 0000 1003.11 KB Details
anjuta-gdb.txt GDB output of anjuta on my machine text/plain Antonio Farinetti 2004-08-06 22:10 0000 2.98 KB Details
strace-src.txt strace output after compiling the source from anjuta.org text/plain Antonio Farinetti 2004-08-06 22:34 0000 684.53 KB Details
64bit-splashang.patch proposed fix patch bbbill_42@yahoo.com 2004-08-24 01:16 0000 268 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 50255 depends on: Show dependency tree
Bug 50255 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-06 09:45 0000
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

------- Comment #1 From Danny van Dyk (RETIRED) 2004-05-06 14:14:09 0000 -------
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 ?

------- Comment #2 From Jason Huebel (RETIRED) 2004-05-26 08:56:14 0000 -------
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?

------- Comment #3 From Simon Stelling (RETIRED) 2004-05-26 10:58:49 0000 -------
It's still here and no, it's not an old config, it was a new installation
(tried twice, then gave up)

------- Comment #4 From Christophe 2004-06-09 08:27:18 0000 -------
Created an attachment (id=32977) [details]
strace anjuta

------- Comment #5 From Christophe 2004-06-09 08:28:13 0000 -------
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.

------- Comment #6 From Simon Stelling (RETIRED) 2004-06-09 08:41:56 0000 -------
I've got the same versions of gtk and gnome and installed anjuta after
switching to them, so I think that's the reason.

------- Comment #7 From Danny van Dyk (RETIRED) 2004-06-11 13:23:55 0000 -------
Please provide output of emerge info and the exact version numbers of gtk+ and
gnome.

------- Comment #8 From Simon Stelling (RETIRED) 2004-06-12 01:47:06 0000 -------
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

------- Comment #9 From Christophe 2004-06-14 09:57:45 0000 -------
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"


------- Comment #10 From Blu3 2004-06-15 17:33:49 0000 -------
duplicated here too.  strace shows that it's complaining about a number of
things.  i'll build a detailed strace and attach it.

------- Comment #11 From Blu3 2004-06-15 17:40:28 0000 -------
Created an attachment (id=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"

------- Comment #12 From Blu3 2004-06-16 07:55:53 0000 -------
(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)

------- Comment #13 From Blu3 2004-06-16 08:31:33 0000 -------
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!

------- Comment #14 From Danny van Dyk (RETIRED) 2004-07-03 07:08:39 0000 -------
Necessary 64bit patch now gets applied unconditionally. Thx to the forum guy
who found it ! But please drop us some lines here too.

------- Comment #15 From Simon Stelling (RETIRED) 2004-07-04 14:13:29 0000 -------
Hmm, error is still the same after an emerge sync and emerge anjuta (emerged
anjuta-1.2.2-r1)

------- Comment #16 From Christophe 2004-07-22 07:49:34 0000 -------
Still hangs here too after upgrade to 1.2.2-r1. Stop on segmentation fault.

------- Comment #17 From Jan Van Uytven 2004-07-30 13:59:37 0000 -------
Confirmed, the patch does not fix anjuta hanging.

------- Comment #18 From Christophe 2004-08-05 08:29:27 0000 -------
In case it matters/helps, anjuta-1.2.1 seems to work fine on same system. No
hanging on startup. Seems functionnal.

------- Comment #19 From Simon Stelling (RETIRED) 2004-08-05 08:41:58 0000 -------
i can confirm that, anjuta-1.2.1 runs but anjuta-1.2.2-r1 (with the
amd64-patch!) does not.

------- Comment #20 From Antonio Farinetti 2004-08-06 22:10:58 0000 -------
Created an attachment (id=36926) [details]
GDB output of anjuta on my machine

------- Comment #21 From Antonio Farinetti 2004-08-06 22:34:08 0000 -------
Created an attachment (id=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.

------- Comment #22 From bbbill_42@yahoo.com 2004-08-24 01:16:23 0000 -------
Created an attachment (id=38079) [details]
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.

------- Comment #23 From Simon Stelling (RETIRED) 2004-08-24 02:35:44 0000 -------
i applied the patch and it WORKSFORME also ;)

------- Comment #24 From Danny van Dyk (RETIRED) 2004-08-24 04:21:11 0000 -------
[Odd. This worked for me even without the last patch. Just checked it again.]

In CVS now. Thx bbbill_42!

First Last Prev Next    No search results available      Search page      Enter new bug