Crash when copying text out of terminal
Submitted by rdk..@..oo.com
Assigned to Havoc Pennington
Description
Package: gnome-terminal Severity: normal Version: 1.4.0.6 Synopsis: Crash when copying text out of terminal Bugzilla-Product: gnome-terminal Bugzilla-Component: general
Description: When I select text out of a terminal window and select edit->copy, the application crashes
Debugging Information:
(no debugging symbols found)...0x40632e29 in __wait4 () from /lib/libc.so.6
`#0` 0x40632e29 in __wait4 () from /lib/libc.so.6
`#1` 0x406af050 in __DTOR_END__ () from /lib/libc.so.6
`#2` 0x402fc7ae in gnome_segv_handle (signum=11) at gnome-init.c:664
`#3` <signal handler called>
`#4` strncpy (s1=0x40763008 "", s2=0x1 <Address 0x1 out of bounds>, n=135213400)
at ../sysdeps/generic/strncpy.c:41
`#5` 0x40575f52 in g_strndup (str=0x1 <Address 0x1 out of bounds>, n=135213400)
at gstrfuncs.c:122
`#6` 0x08051379 in toggle_menubar_cmd ()
`#7` 0x4043ca6b in gtk_marshal_NONE__NONE (object=0x80eb030,
func=0x8051310 <toggle_menubar_cmd+840>, func_data=0x80e0a78,
args=0xbfffe200) at gtkmarshal.c:312
`#8` 0x4046c0be in gtk_handlers_run (handlers=0x8063de8, signal=0xbfffe1a0,
object=0x80eb030, params=0xbfffe200, after=0) at gtksignal.c:1917
`#9` 0x4046b51f in gtk_signal_real_emit (object=0x80eb030, signal_id=75,
params=0xbfffe200) at gtksignal.c:1477
`#10` 0x40469594 in gtk_signal_emit (object=0x80eb030, signal_id=75)
at gtksignal.c:552
`#11` 0x404a09a8 in gtk_widget_activate (widget=0x80eb030) at gtkwidget.c:2890
`#12` 0x40444db1 in gtk_menu_shell_activate_item (menu_shell=0x80eb510,
menu_item=0x80eb030, force_deactivate=1) at gtkmenushell.c:859
`#13` 0x40444041 in gtk_menu_shell_button_release (widget=0x80eb510,
event=0x80dcb60) at gtkmenushell.c:486
`#14` 0x4043c841 in gtk_marshal_BOOL__POINTER (object=0x80eb510,
func=0x40443eb4 <gtk_menu_shell_button_release>, func_data=0x0,
args=0xbfffe5d0) at gtkmarshal.c:28
`#15` 0x4046b55f in gtk_signal_real_emit (object=0x80eb510, signal_id=27,
params=0xbfffe5d0) at gtksignal.c:1492
`#16` 0x40469594 in gtk_signal_emit (object=0x80eb510, signal_id=27)
at gtksignal.c:552
`#17` 0x404a0874 in gtk_widget_event (widget=0x80eb510, event=0x80dcb60)
at gtkwidget.c:2864
`#18` 0x4043c7b8 in gtk_propagate_event (widget=0x80eb030, event=0x80dcb60)
at gtkmain.c:1378
`#19` 0x4043b975 in gtk_main_do_event (event=0x80dcb60) at gtkmain.c:818
`#20` 0x404f010f in gdk_event_dispatch (source_data=0x0,
current_time=0xbfffe9a0, user_data=0x0) at gdkevents.c:2139
`#21` 0x4056d055 in g_main_dispatch (dispatch_time=0xbfffe9a0) at gmain.c:656
`#22` 0x4056d659 in g_main_iterate (block=1, dispatch=1) at gmain.c:877
`#23` 0x4056d7e8 in g_main_run (loop=0x80a1220) at gmain.c:935
`#24` 0x4043b27b in gtk_main () at gtkmain.c:524
`#25` 0x08053e75 in new_terminal_for_client ()
`#26` 0x08053ea7 in main ()
`#27` 0x4059b306 in __libc_start_main (main=0x8053e80 <main>, argc=3,
ubp_av=0xbfffeaf4, init=0x804c6e0 <_init>, fini=0x8054960 <_fini>,
rtld_fini=0x4000d2dc <_dl_fini>, stack_end=0xbfffeaec)
at ../sysdeps/generic/libc-start.c:129
`#0` 0x40632e29 in __wait4 () from /lib/libc.so.6
No locals.
`#1` 0x406af050 in __DTOR_END__ () from /lib/libc.so.6
No symbol table info available.
`#2` 0x402fc7ae in gnome_segv_handle (signum=11) at gnome-init.c:664
in gnome-init.c
estatus = 0
in_segv = 1
pid = 0
`#3` <signal handler called>
No locals.
`#4` strncpy (s1=0x40763008 "", s2=0x1 <Address 0x1 out of bounds>, n=135213400)
at ../sysdeps/generic/strncpy.c:41
in ../sysdeps/generic/strncpy.c
n4 = 33803350
s1 = 0x0
s2 = 0xbfffdd90 ""
n = 135213400
c = 0 '\000'
s = 0x40763008 ""
s = 0x40763008 ""
`#5` 0x40575f52 in g_strndup (str=0x1 <Address 0x1 out of bounds>, n=135213400)
at gstrfuncs.c:122
in gstrfuncs.c
n = 135213400
new_str = (gchar *) 0x40763008 ""
`#6` 0x08051379 in toggle_menubar_cmd ()
No symbol table info available.
`#7` 0x4043ca6b in gtk_marshal_NONE__NONE (object=0x80eb030,
func=0x8051310 <toggle_menubar_cmd+840>, func_data=0x80e0a78,
args=0xbfffe200) at gtkmarshal.c:312
in gtkmarshal.c
No locals.
------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-03-28 12:41 -------
The original reporter (rdkuhnke@yahoo.com) of this bug does not have an account here. Reassigning to the exporter, unknown@bugzilla.gnome.org. Reassigning to the default owner of the component, hp@redhat.com.
Resolution: RESOLVED DUPLICATE