Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17251 - gnome-terminal doesnt work crashes all the time
Summary: gnome-terminal doesnt work crashes all the time
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-10 16:21 UTC by Samúel Jón Gunnarsson
Modified: 2003-03-11 15:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samúel Jón Gunnarsson 2003-03-10 16:21:47 UTC
When starting gnome-terminal in gnome the terminal window bearly comes up and
then the gnome-terminal crashes. And this problem seems to affect the Anjuta
Development Enviorment because it looks like it uses gnome-terminal in its
enviorment. I now of one other person who has the same problem with Anjuta
(catches signal 6 -- recursive error).

I recently emerged gnome-2-2 on a new installed system. I'm using
vanilla-sources with preemtive-patch.I have included some information below.

Compiled with following flags.
#CFLAGS="-march=pentium3 -O3 -pipe"


lappi root # ldd /usr/bin/gnome-terminal 
        libvte.so.4 => /usr/lib/libvte.so.4 (0x4002b000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0x40109000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4011d000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40173000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x4017a000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x401a3000)
        libglade-2.0.so.0 => /usr/lib/libglade-2.0.so.0 (0x401e9000)
        libgnomeui-2.so.0 => /usr/lib/libgnomeui-2.so.0 (0x401ff000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4028d000)
        libbonoboui-2.so.0 => /usr/lib/libbonoboui-2.so.0 (0x402ae000)
        libgnomecanvas-2.so.0 => /usr/lib/libgnomecanvas-2.so.0 (0x40314000)
        libgnome-2.so.0 => /usr/lib/libgnome-2.so.0 (0x40341000)
        libesd.so.0 => /usr/lib/libesd.so.0 (0x40356000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0x40360000)
        libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x403f0000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x40415000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x4042d000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x40450000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x406a4000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x40711000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x4072a000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x4073d000)
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x4075f000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x4076c000)
        libbonobo-2.so.0 => /usr/lib/libbonobo-2.so.0 (0x407a0000)
        libORBitCosNaming-2.so.0 => /usr/lib/libORBitCosNaming-2.so.0 (0x407f9000)
        libgnomevfs-2.so.0 => /usr/lib/libgnomevfs-2.so.0 (0x407fe000)
        libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0x4083c000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x40873000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40946000)
        librt.so.1 => /lib/librt.so.1 (0x40955000)
        libbonobo-activation.so.4 => /usr/lib/libbonobo-activation.so.4 (0x40967000)
        libORBit-2.so.0 => /usr/lib/libORBit-2.so.0 (0x4097a000)
        libpopt.so.0 => /usr/lib/libpopt.so.0 (0x409be000)
        libm.so.6 => /lib/libm.so.6 (0x409c5000)
        liblinc.so.1 => /usr/lib/liblinc.so.1 (0x409e8000)
        libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x409f0000)
        libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x40a20000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x40ae5000)
        libdl.so.2 => /lib/libdl.so.2 (0x40ae9000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40aec000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x40b23000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40b28000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40b79000)
        libstartup-notification-1.so.0 =>
/usr/lib/libstartup-notification-1.so.0 (0x40be5000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40bed000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40bf6000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40c0d000)
        libc.so.6 => /lib/libc.so.6 (0x40cef000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40e20000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40e30000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Comment 1 foser (RETIRED) gentoo-dev 2003-03-10 19:30:01 UTC
recompile gnome-terminal and vte without any custom optimizations.

I suppose you're talking about anjuta2 here, since anjuta 1 and gnome-terminal-2.2 have nada todo with eachother.
Comment 2 Samúel Jón Gunnarsson 2003-03-11 02:13:10 UTC
I recompiled vte, gnome-terminal and anjuta without any optimization flags. But it still doesnt work. Gnome-terminal crashes still.

[quote]
I suppose you're talking about anjuta2 here, since anjuta 1 and gnome-terminal-2.2
have nada todo with eachother.
[/quote]

I'm running with Anjuta 1.0.0 and everytime I start Anjuta up via xterm it echoes twice gnome-terminal-2.2.1 to the terminal, so there must be some relationship between gnome-terminal and anjuta.

Regards Sammi.
Comment 3 foser (RETIRED) gentoo-dev 2003-03-11 08:26:07 UTC
hmm nah, afaik anjuta1 only uses the zvt lib. Which was used by gnome-terminal for a long time.

Ok, then it's time for debugging. Edit the vte and gnome-terminal ebuilds, add 'inherit debug' at the top and build without any custom optimizations again, then get me the backtrace of the crash.


Hmmm wait on second thought, first try this : have you set a valid shell for you user ? If you don't have that, the terminal will come up and close down (not sure it segfaults == what i define a 'crash'). So make sure you have a valid shell for your user, i know this would explain why both gnome-terminal-2.2 _and_ anjuta have this problem.
Comment 4 Samúel Jón Gunnarsson 2003-03-11 13:49:03 UTC
[quote]
Hmmm wait on second thought, first try this : have you set a valid shell for you
user ? If you don't have that, the terminal will come up and close down (not sure
it segfaults == what i define a 'crash'). So make sure you have a valid shell for
your user, i know this would explain why both gnome-terminal-2.2 _and_ anjuta have
this problem.
[/quote]

you were right about the user shell not being set. After I set the valid shell I was able to emerge with my cflags without a problem. So it's probably ok to consider this bug closed.

Regards Sammi.
Comment 5 foser (RETIRED) gentoo-dev 2003-03-11 15:12:19 UTC
think we should mention this somewhere ... you're not the first on to run into this.