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 128291 - The child process isn't killed when a tab or window is closed
The child process isn't killed when a tab or window is closed
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.11.x
Other All
: High major
: ---
Assigned To: VTE Maintainers
Nalin Dahyabhai
: 133690 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-12-01 11:31 UTC by Jean-Yves Lefort
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixes the fix :) (290 bytes, patch)
2003-12-01 11:31 UTC, Jean-Yves Lefort
none Details | Review

Description Jean-Yves Lefort 2003-12-01 11:31:15 UTC
The committed fix for #112505 is broken.
Comment 1 Jean-Yves Lefort 2003-12-01 11:31:55 UTC
Created attachment 21976 [details] [review]
Fixes the fix :)
Comment 2 Elijah Newren 2003-12-08 05:37:01 UTC
Adding PATCH keyword.
Comment 3 Nalin Dahyabhai 2004-04-30 02:02:24 UTC
Fixing in HEAD.  Thanks!
Comment 4 Ivan Noris 2004-06-10 13:28:26 UTC
Are you sure this is fixed?
I have latest release vte and the problem is still appeariong on Solaris 9/SPARC.
GNOME is compiled with Forte (not gcc) compiler.

It look like this:
1) if I run only one terminal, after "exit" it exits
2) if I run multiple terminals, after "exit" in the last window it keeps running
(writing "exit"). Even with this patch applied.
Comment 5 Ivan Noris 2004-06-10 15:07:33 UTC
A nice thing I just found out:

when I run multiple terminals with --disable-factory, they exit just fine.
Comment 6 Ivan Noris 2004-06-17 13:45:23 UTC
This is what I got when vte and GT are compiled with debug.

I opened two gnome-terminals, closed the first and closed the other. The last
one keeps running.

Debugging shows:

(gdb) thread apply all bt
 

Thread 4 (Thread 2 (LWP 2))

  • #0 _read
    from /usr/lib/libc.so.1
  • #1 read
    from /usr/lib/libthread.so.1
  • #2 child_watch_helper_thread
    from /opt/BGSgnome-2.6.1/lib/libglib-2.0.so.0
  • #3 g_thread_create_proxy
    from /opt/BGSgnome-2.6.1/lib/libglib-2.0.so.0
  • #4 _lwp_start
    from /usr/lib/libthread.so.1
  • #5 _lwp_start
    from /usr/lib/libthread.so.1
  • #0 _poll
    from /usr/lib/libc.so.1

Is this of any help?
Comment 7 Mariano Suárez-Alvarez 2004-07-14 02:46:41 UTC
*** Bug 133690 has been marked as a duplicate of this bug. ***
Comment 8 Mariano Suárez-Alvarez 2004-07-14 02:47:07 UTC
Should this be reopened?
Comment 9 vix 2004-07-14 07:48:23 UTC
This seems to happen only on Solaris. I have submited another bug report, as
this is closed. (#144587), please read. The two bugs are prehaps caused by the
same problem, that is typical for solaris.