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 135799 - Funny escape characters seemed to kill off gnome-terminal
Funny escape characters seemed to kill off gnome-terminal
Status: RESOLVED DUPLICATE of bug 107262
Product: gnome-terminal
Classification: Core
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-03-01 00:51 UTC by reuven
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description reuven 2004-03-01 00:51:37 UTC
Distribution: Fedora Core release 1 (Yarrow)
Package: gnome-terminal
Severity: major
Version: GNOME2.4.0 unspecified
Gnome-Distributor: GNOME.Org
Synopsis: Funny escape characters seemed to kill off gnome-terminal
Bugzilla-Product: gnome-terminal
Bugzilla-Component: general
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.4.0.1)
Description:
Description of the crash:

I use qpsmtpd on my mail server, server.lerner.co.il.  I was running
"tail -f" on the logging output from my qpsmtpd installation.  I heard a
"beep," switched back to that terminal to see what was happening, and
discovered that I had gotten into VT1xx escape mode, where lowercase
characters can be used for drawing lines.  Moments after I saw this,
gnome-terminal crashed on me.

I was also running "tail -f" on the output from another (local) program,
and two other tabs, for a total of four terminal sessions.  But I've
used four tabs in the past without any trouble, so I doubt that's the
problem.

Steps to reproduce the crash:
1. Run "tail -f" on qpsmtpd output
2. Wait for someone to send you mail that switches into VT1xx escape
mode
3. Boom!

Expected Results:

I expect that gnome-terminal will show the characters, weird as they
are.

How often does this happen?

This the first time gnome-terminal has ever crashed on me.

Additional Information:

I'm running Fedora Core 1, kept up-to-date with apt-rpm.



Debugging Information:

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

(no debugging symbols found)...Using host libthread_db library
"/lib/tls/libthread_db.so.1".
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[Thread
debugging using libthread_db enabled]
[New Thread -1085250912 (LWP 3915)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...0x0027fc32 in _dl_sysinfo_int80 ()
   from /lib/ld-linux.so.2

Thread 1 (Thread -1085250912 (LWP 3915))

  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 pango_layout_iter_get_char_extents
    from /usr/lib/libpango-1.0.so.0
  • #5 eel_pango_layout_set_font_desc_from_string
  • #6 eel_pango_layout_set_font_desc_from_string
  • #7 eel_pango_layout_set_text_ellipsized
  • #8 eel_ellipsizing_label_set_text
  • #9 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-02-29 19:51 -------

Reassigning to the default owner of the component, gnome-terminal-maint@bugzilla.gnome.org.

Comment 1 Mariano Suárez-Alvarez 2004-03-01 01:24:33 UTC
This has been fixed a while ago.

Note that running tail -f on logs which contain unchecked data is very
insecure. Terminals should of course not segfault, but you do not
really want to send stuff to terminals which you don't know about.
You can use less -F, iirc, because less escapes control characters...

*** This bug has been marked as a duplicate of 107262 ***