After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 168600 - unreproduceable crash
unreproduceable crash
Status: RESOLVED INCOMPLETE
Product: gnome-terminal
Classification: Core
Component: general
2.8.x
Other other
: High critical
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-02-26 18:36 UTC by Geert Stappers
Modified: 2006-07-03 17:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Geert Stappers 2005-02-26 18:36:28 UTC
Distribution: Debian 3.1
Package: gnome-terminal
Severity: normal
Version: GNOME2.8.1 2.8.2
Gnome-Distributor: Debian
Synopsis: unreproduceable crash
Bugzilla-Product: gnome-terminal
Bugzilla-Component: general
Bugzilla-Version: 2.8.2
BugBuddy-GnomeVersion: 2.0 (2.8.0)
Description:
Description of the crash:

Gnome says "gnome-terminal" has quit.


Steps to reproduce the crash:
1. having about seven sessions open
2. do normal terminal work  ( command line stuff )
3. SURPRISE the unreproducable crash. (today the third in 2 months of
daily use)

Expected Results:
No crash or a reproducable crash

How often does this happen?
once in a while.

Additional Information:
I'm willing to run a executable with debug information ( none stripped
)
Please send an E-mail to stappers@stappers.nl when this bugreport 
appears at bugzilla.gnome.org


Debugging Information:

Backtrace was generated from '/usr/bin/gnome-terminal'

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
  <snip/>
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 3109)]
[New Thread 32769 (LWP 3124)]
[New Thread 16386 (LWP 3125)]
(no debugging symbols found)
  <snip/>
(no debugging symbols found)
0x0ea7e110 in waitpid () from /lib/libpthread.so.0
  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 waitpid
    from /lib/libpthread.so.0




------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-02-26 13:36 -------


Unknown version 2.8.2 in product gnome-terminal.  Setting version to "2.8.x".
Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "gnome-terminal".
   Setting to default milestone for this product, '---'
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Elijah Newren 2005-02-26 18:40:11 UTC
Unfortunately, that stack trace doesn't have any useful information, so we'll
need a stack trace with debugging symbols.  We'll wait to hear back from you.
Comment 2 Geert Stappers 2005-03-05 14:10:45 UTC
Hi,

It just happened again. This extra information can I provide: 

* top (focused) gnome-terminal had vim open. I'll cross reference bug #148659
* In vim I selected accidently (touchpad at laptop) a complete screen
* My windowmanager is sawfish

Status about the 'unstripped executable': just compiled & installed.
Comment 3 Geert Stappers 2005-03-06 12:13:11 UTC
Had a crash again.
Bugbuddy produced this:

Debugging Information:

Backtrace was generated from '/usr/bin/gnome-terminal'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 17712)]
[New Thread 32769 (LWP 17739)]
[New Thread 16386 (LWP 17742)]
0x0ea7e110 in waitpid () from /lib/libpthread.so.0
  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 waitpid
    from /lib/libpthread.so.0


That is the same as in the bugreport opening,
but now without "(no debugging symbols found)"

It was again with vim in the top screen.
Comment 4 Geert Stappers 2005-03-06 12:17:40 UTC
Changed status from NEEDINFO to OPEN
as I don't known who to provide more information
now the unstripped version didn't reveal any more.
Comment 5 Elijah Newren 2005-03-06 16:11:24 UTC
What compiling flags did you use?
Comment 6 Geert Stappers 2005-03-06 18:14:03 UTC
-O2
Comment 7 Geert Stappers 2005-03-06 18:46:15 UTC
To be more precise:

CFLAGS =  -I/usr/X11R6/include -DXTHREADS -DORBIT2=1 -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2
-I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/libbonoboui-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/startup-notification-1.0  
-g -Wall -O2

does it miss a  "compile for debugging"  flag?

Comment 8 Elijah Newren 2005-03-06 21:44:44 UTC
No, that looks fine.  Did you recompile glib and gtk+ too or just gnome-terminal?
Comment 9 Geert Stappers 2005-05-11 10:24:51 UTC
only gnome-terminal was recompiled.
(I'm not sure if it survived an apt-get update )

I just got:


Backtrace was generated from '/usr/bin/gnome-terminal'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 3259)]
[New Thread 32769 (LWP 3277)]
[New Thread 16386 (LWP 3278)]
0x0ea5d110 in waitpid () from /lib/libpthread.so.0
  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 waitpid
    from /lib/libpthread.so.0


so no real progress :-(
Comment 10 Geert Stappers 2005-05-23 11:20:39 UTC
today also

Backtrace was generated from '/usr/bin/gnome-terminal'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 3259)]
[New Thread 32769 (LWP 3277)]
[New Thread 16386 (LWP 3278)]
0x0ea5d110 in waitpid () from /lib/libpthread.so.0
  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 waitpid
    from /lib/libpthread.so.0


It seems to me that some rare mouse movement causes this crash.
The touchpad on the laptop accetendly selects a block
the windows has to be updated, but gnome-terminal crashes at that point.
Comment 11 Geert Stappers 2005-06-02 08:15:49 UTC
still hard to reproduce, but it happened again.

some "block select" by the touchpad mouse and a crash ...
Comment 12 Geert Stappers 2005-06-02 08:19:18 UTC
see also bug 169193
Comment 13 Geert Stappers 2005-07-07 18:13:28 UTC
just again.
Comment 14 Michele Baldessari 2005-07-07 18:24:20 UTC
Hi Geert,

thanks a lot for being persistent about this, I hope we can squash this issue..
any chance you could compile vte with --enable-debugging and post "bt full" from 
gdb, next time you stumble into this?
Comment 15 Geert Stappers 2005-07-07 19:21:55 UTC
Yes, I think I can compile vte with --enable-debugging.

But what is vte the acronym for? (What is the (full) name of source?)
Comment 16 Geert Stappers 2005-07-07 19:23:49 UTC
Something else:

I have about 12 terminal sessions open,
with `ps -ef` I see only three processes.

I would expect 12 proces or one single process
Comment 17 Olav Vitters 2005-07-07 19:27:06 UTC
The tarball is named vte. Gnome-terminal --disable-factory starts a new process,
perhaps you used that?
Comment 18 Geert Stappers 2005-07-07 19:28:56 UTC
$ ps -ef | grep terminal | cut -c -79
stappers  3485     1  0 20:14 ?        00:00:20 gnome-terminal --sm-config-pref
stappers  3498  3485  0 20:14 ?        00:00:00 gnome-terminal --sm-config-pref
stappers  3499  3498  0 20:14 ?        00:00:00 gnome-terminal --sm-config-pref
$ ps -ef | grep terminal | grep 3499
stappers  3499  3498  0 20:14 ?        00:00:00 gnome-terminal
--sm-config-prefix /gnome-terminal-Am7DHU/ --sm-client-id
11ac180019000108866086300000004300006 --screen 0
--window-with-profile-internal-id=Default --show-menubar
--role=gnome-terminal-534--866041725-1088660865 --active --geometry 80x24
--title mir-CHROOT --working-directory /home/stappers --zoom 1
--window-with-profile-internal-id=Default --show-menubar
--role=gnome-terminal-534-633337202-1088661043 --active --geometry 123x24
--title Mutt --working-directory /home/stappers --zoom 1
--window-with-profile-internal-id=Default --show-menubar
--role=gnome-terminal-534--758863760-1088661091 --active --geometry 80x24
--title conglomerate --working-directory /usr/src/conglomerate --zoom 1
--window-with-profile-internal-id=Default --show-menubar
--role=gnome-terminal-534--283225869-1088661153 --active --geometry 80x24
--title root@bahrain --working-directory /home/stappers --zoom 1
--window-with-profile-internal-id=Default --show-menubar
--role=gnome-terminal-534-1595522225-1088661277 --active --geometry 80x24
--title mitchit --working-directory /usr/src/mitch --zoom 1
--window-with-profile-internal-id=Default --show-menubar
--role=gnome-terminal-1123--978817830-1088675750 --active --geometry 80x40
--title IRC --working-directory /home/stappers --zoom 1
--window-with-profile-internal-id=Default --show-menubar
--role=gnome-terminal-5206-1610116594-1107079645 --active --geometry 80x24
--title cadiz --working-directory /home/stappers --zoom 1
--window-with-profile-internal-id=Default --show-menubar
--role=gnome-terminal-17497-581156881-1110032036 --active --geometry 121x24
--title cadiz-wide --working-directory /home/stappers --zoom 1
$ ps -ef | grep terminal | grep 3499 | wc
      1     110    1716
Comment 19 Geert Stappers 2005-07-21 11:57:10 UTC
Installed today gnome-terminal version 2.10
(I shall update when new information is available)
Comment 20 Michele Baldessari 2005-07-26 20:11:44 UTC
Hi Geert,

thanks a lot for following up. Did you also update vte to the latest release
0.11.13?
(you can find it here: http://ftp.gnome.org/pub/GNOME/sources/vte/0.11/
If you could compile it adding '--enable-debugging' to your ./configure
switch, that'd be perfect to get a good stack trace

Comment 21 Geert Stappers 2005-07-27 07:39:26 UTC
Hello,

Over here are packages used. I (have the unfounded) fear for dependency hell.
So I had a look at package build system, but there is too much magic done.

I shall contact the packager for assistence.
Comment 22 Geert Stappers 2005-07-27 21:13:55 UTC
Got the information:

* modify the configure and configure.in scripts to get --enable-debugging

* build the package with DEB_BUILD_OPTIONS=nostrip


(no actual rebuild done yet, just parking the information here)
Comment 23 Geert Stappers 2005-08-10 11:19:11 UTC
had the first crash last thursday and today a new reminder
to build the debug version for more information.
Comment 24 Kjartan Maraas 2005-08-15 22:32:01 UTC
Sorry we can't really help you without a good backtrace. There's a new release
of vte (the terminal emulator widget) out since we last asked you to recompile
which fixes a few crashes, not sure they are related to this, but we still need
to get a backtrace to be able to track this down...
Comment 25 Geert Stappers 2005-09-06 08:35:53 UTC
(Four weeks went fine, today a crash.)

I understand that it is up to me to provide more information,
but I still fear the rebuild and mostly the install of modified libraries.

To be continued.
Comment 26 Geert Stappers 2005-11-23 09:32:39 UTC
november 23, had three crashes sinces last "check in"

still now debug versions installed.
(and still other priorities ( hey, what is new ;-) )
Comment 27 Geert Stappers 2005-12-12 08:22:31 UTC
I just got another reminder ...
Comment 28 André Klapper 2006-07-03 17:26:12 UTC
Closing this bug report as no further information has been provided. Geert, please feel free to reopen this bug if you can provide the information asked for.
Thanks!