Bug 525719 - "reset" causes crash of gnome-terminal
Summary: "reset" causes crash of gnome-terminal
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: vte
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Behdad Esfahbod
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F12Blocker, F12FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2009-09-25 11:41 UTC by Zdenek Kabelac
Modified: 2009-09-26 01:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-26 01:15:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Zdenek Kabelac 2009-09-25 11:41:48 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Zdenek Kabelac 2009-09-25 11:45:12 UTC
Ooops - sorre about missing comment - some unpredictable enter...


When I run reset - sometimes I experience complete abort of g-t app.

Here is backtrace from coredump:


Program terminated with signal 6, Aborted.
#0  0x00007f1bece40575 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	  return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
Missing separate debuginfos, use: debuginfo-install gnome-terminal-2.28.0-1.fc12.x86_64
(gdb) bt
#0  0x00007f1bece40575 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f1bece41d55 in abort () at abort.c:92
#2  0x00007f1bed818b2f in IA__g_assertion_message (domain=<value optimized out>, file=
    0x7f1bf09b83ec "vtestream-file.h", line=-1, func=0x7f1bf09b8435 "_xread", message=
    0x2261860 "assertion failed: (fd || !len)") at gtestutils.c:1302
#3  0x00007f1bed8190d0 in IA__g_assertion_message_expr (domain=0x7f1bf0969dda "Vte", file=
    0x7f1bf09b83ec "vtestream-file.h", line=30, func=0x7f1bf09b8435 "_xread", expr=<value optimized out>)
    at gtestutils.c:1313
#4  0x00007f1bf0968096 in _xread (fd=0, data=0x7fffd1223f10 "", len=16) at vtestream-file.h:30
#5  0x00007f1bf0968153 in _vte_file_stream_read (astream=0x2128200 [VteFileStream], 
    offset=<value optimized out>, data=0x7fffd1223f10 "", len=16) at vtestream-file.h:185
#6  0x00007f1bf093f958 in _vte_ring_read_row_record (position=0, record=<value optimized out>, ring=
    0x2113838) at ring.c:104
#7  _vte_ring_thaw_row (position=0, record=<value optimized out>, ring=0x2113838) at ring.c:194
#8  0x00007f1bf093fcc8 in _vte_ring_index (ring=0x2113838, position=2271) at ring.c:308
#9  0x00007f1bf0950704 in _vte_terminal_find_row_data (row=<value optimized out>, terminal=
    0x2113680 [TerminalScreen]) at vte.c:491
#10 vte_terminal_draw_rows (row=<value optimized out>, terminal=0x2113680 [TerminalScreen]) at vte.c:9932
#11 0x00007f1bf0951376 in vte_terminal_paint_area (terminal=0x2113680 [TerminalScreen], 
    area=<value optimized out>) at vte.c:10379
#12 0x00007f1bf0951706 in vte_terminal_paint (region=<value optimized out>, widget=<value optimized out>)
    at vte.c:10678
#13 vte_terminal_expose (region=<value optimized out>, widget=<value optimized out>) at vte.c:10724
#14 0x00007f1bf0244b38 in _gtk_marshal_BOOLEAN__BOXED (closure=0x1e8f100, return_value=0x7fffd1230450, 
    n_param_values=<value optimized out>, param_values=0x20d1670, invocation_hint=<value optimized out>, 
    marshal_data=<value optimized out>) at gtkmarshalers.c:84
#15 0x00007f1bedaabace in IA__g_closure_invoke (closure=0x1e8f100, return_value=0x7fffd1230450, 
    n_param_values=2, param_values=0x20d1670, invocation_hint=0x7fffd1230410) at gclosure.c:767
#16 0x00007f1bedac0aed in signal_emit_unlocked_R (node=<value optimized out>, detail=<value optimized out>, 
    instance=<value optimized out>, emission_return=<value optimized out>, 
    instance_and_params=<value optimized out>) at gsignal.c:3285
#17 0x00007f1bedac204c in IA__g_signal_emit_valist (instance=<value optimized out>, 
    signal_id=<value optimized out>, detail=<value optimized out>, var_args=0x7fffd1230600) at gsignal.c:2990
#18 0x00007f1bedac2703 in IA__g_signal_emit (instance=<value optimized out>, 
    signal_id=<value optimized out>, detail=<value optimized out>) at gsignal.c:3037
#19 0x00007f1bf034b3cf in gtk_widget_event_internal (widget=0x2113680 [TerminalScreen], event=0x7fffd1230780)
    at gtkwidget.c:4767
#20 0x00007f1bf023e3a3 in IA__gtk_main_do_event (event=0x7fffd1230780) at gtkmain.c:1558
#21 0x00007f1befea752a in _gdk_window_process_updates_recurse (window=0x211c5c0 [GdkWindow], expose_region=
    0x2182c60) at gdkwindow.c:5022
#22 0x00007f1befea74d7 in _gdk_window_process_updates_recurse (window=0x1f7f280 [GdkWindow], expose_region=
    0x21280a0) at gdkwindow.c:4995
---Type <return> to continue, or q <return> to quit--- 
#23 0x00007f1befe9ee65 in gdk_window_process_updates_internal (window=0x1f7f280 [GdkWindow])
    at gdkwindow.c:5177
#24 0x00007f1befea2d4d in IA__gdk_window_process_updates (window=0x211c5c0 [GdkWindow], update_children=0)
    at gdkwindow.c:5351
#25 0x00007f1bf0943cc1 in update_regions (terminal=0x2113680 [TerminalScreen]) at vte.c:14071
#26 0x00007f1bf0956749 in update_timeout (data=<value optimized out>) at vte.c:14229
#27 0x00007f1bed7f393b in g_timeout_dispatch (source=0x22d7100, callback=<value optimized out>, 
    user_data=<value optimized out>) at gmain.c:3396
#28 0x00007f1bed7f322e in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#29 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#30 0x00007f1bed7f6c18 in g_main_context_iterate (context=0x1e5d0c0, block=<value optimized out>, 
    dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#31 0x00007f1bed7f7065 in IA__g_main_loop_run (loop=0x1e278b0) at gmain.c:2799
#32 0x00007f1bf023e5b7 in IA__gtk_main () at gtkmain.c:1205
#33 0x00000000004159a3 in SmcSetProperties ()
#34 0x00007f1bece2bb4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, 
    ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fffd1230d98) at libc-start.c:220
#35 0x00000000004122f9 in SmcSetProperties ()




gnome-terminal-2.28.0-1.fc12.x86_64
vte-0.22.0-1.fc12.x86_64

Comment 2 Zdenek Kabelac 2009-09-25 11:51:41 UTC
Downgrade to vte-0.21.5-1.fc12 fixes the problem. Later versions are broken.

Comment 3 Matthias Clasen 2009-09-25 12:41:50 UTC
Confirmed, happens as soon as history is non-empt

Comment 4 Matthias Clasen 2009-09-26 01:15:44 UTC
Fixed in vte-0.22.1


Note You need to log in before you can comment on or make changes to this bug.