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 160759 - crashes when resizing window with minicom running
crashes when resizing window with minicom running
Status: RESOLVED DUPLICATE of bug 163814
Product: vte
Classification: Core
Component: general
0.10.x
Other other
: High critical
: ---
Assigned To: VTE Maintainers
Nalin Dahyabhai
Depends on:
Blocks:
 
 
Reported: 2004-12-08 10:02 UTC by Kaj J. Niemi
Modified: 2005-03-02 22:43 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
relax the assertion (1.15 KB, patch)
2005-03-02 13:11 UTC, Kjartan Maraas
none Details | Review

Description Kaj J. Niemi 2004-12-08 10:03:01 UTC
Distribution: Red Hat Linux release 9 (Shrike)
Package: gnome-terminal
Severity: normal
Version: GNOME2.8.0 unspecified
Gnome-Distributor: Red Hat, Inc
Synopsis: crashes when resizing window with minicom running
Bugzilla-Product: gnome-terminal
Bugzilla-Component: general
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.8.0)
Description:
Description of the crash:


Steps to reproduce the crash:
1. open window
2. open minicom
3. resize window

Expected Results:


How often does this happen?
every time one does it

Additional Information:



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 -1208099968 (LWP 3112)]
[New Thread 113810352 (LWP 3128)]
[Thread debugging using libthread_db enabled]
[New Thread -1208099968 (LWP 3112)]
[New Thread 113810352 (LWP 3128)]
[Thread debugging using libthread_db enabled]
[New Thread -1208099968 (LWP 3112)]
[New Thread 113810352 (LWP 3128)]
(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)...0x00c097a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2

Thread 1 (Thread -1208099968 (LWP 3112))

  • #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 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #5 raise
    from /lib/tls/libc.so.6
  • #6 abort
    from /lib/tls/libc.so.6
  • #7 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #8 g_log
    from /usr/lib/libglib-2.0.so.0
  • #9 vte_terminal_get_text_range
    from /usr/lib/libvte.so.4
  • #10 vte_terminal_feed
    from /usr/lib/libvte.so.4
  • #11 g_main_context_wakeup
    from /usr/lib/libglib-2.0.so.0
  • #12 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #13 g_main_context_acquire
    from /usr/lib/libglib-2.0.so.0
  • #14 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #15 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 main




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-12-08 05:03 -------


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 2004-12-08 16:06:42 UTC
Appears to be a unique stack trace, according to the simple-dup-finder.  Some
questions: It looks like you're running on Red Hat 9, which ships with Gnome
2.2, but the report says you're running Gnome 2.8 which means that you must have
compiled it yourself.  However, the stack trace shows libraries are pulled from
/usr/lib which means that when you compiled you may have not set up things
correctly.  What version of Gnome, and in particular gnome-terminal, are you
running?  Did you compile Gnome 2.8 yourself?  Where did you install it to?
Comment 2 Kaj J. Niemi 2004-12-08 19:41:46 UTC
I'm really running daily rawhide, please disregard the contents of
/etc/redhat-release (it's just being used by the packaging system to decide what
branch to serve files off)
Comment 3 Elijah Newren 2004-12-08 19:49:00 UTC
Ah, ok.  That's Gnome 2.9.x, right?
Comment 4 Kaj J. Niemi 2004-12-08 20:05:54 UTC
It's 2.8.x still :)

% rpm -q gnome-terminal
gnome-terminal-2.8.0-2

Sorry for the confusion.
Comment 5 Elijah Newren 2004-12-08 20:55:51 UTC
Okay, I'll drop the version back down.  Also, due to the stack trace, I should
have reassigned this to vte; I'm doing so now.
Comment 6 Kjartan Maraas 2005-03-02 13:11:14 UTC
Created attachment 38148 [details] [review]
relax the assertion

This patch makes the assertion a bit more relaxed. (Allow pending->len to be 0)


Also removes some stale debugging code using a struct member that has been
removed . Please test and see if this breaks in any other cases - it fixes the
crash for me at least.
Comment 7 Kjartan Maraas 2005-03-02 13:12:25 UTC
I guess this is nothing more than a band aid though. Maybe there's some off by
one when setting terminal->pvt->pending->len or something that's causing it to
be 0 when it shouldn't be?
Comment 8 Kjartan Maraas 2005-03-02 22:43:46 UTC
There's a patch to fix this in bug #163814. Marking this as duplicate of that.

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