Selecting "copy" from edit causes crash
Submitted by jro..@..rs.com
Description
Package: gnome-core Severity: normal Version: 1.4.0.6 Synopsis: Selecting "copy" from edit causes crash Bugzilla-Product: gnome-core Bugzilla-Component: gnome-terminal
Description: Selecting text in the window with the mouse and then choosing Edit->Copy causes this crash.
Debugging Information:
(no debugging symbols found)...0x40621ca9 in __wait4 () from /lib/i686/libc.so.6
`#0` 0x40621ca9 in __wait4 () from /lib/i686/libc.so.6
`#1` 0x4069d6b4 in __DTOR_END__ () from /lib/i686/libc.so.6
`#2` 0x402e37ae in gnome_segv_handle (signum=11) at gnome-init.c:664
`#3` <signal handler called>
`#4` strncpy (s1=0x40748008 "", s2=0x1 <Address 0x1 out of bounds>, n=135097704)
at ../sysdeps/generic/strncpy.c:41
`#5` 0x4055df52 in g_strndup (str=0x1 <Address 0x1 out of bounds>, n=135097704)
at gstrfuncs.c:122
`#6` 0x08051379 in toggle_menubar_cmd ()
`#7` 0x40424a6b in gtk_marshal_NONE__NONE (object=0x80b15f8,
func=0x8051310 <toggle_menubar_cmd+840>, func_data=0x808d8f0,
args=0xbffff170) at gtkmarshal.c:312
`#8` 0x404540be in gtk_handlers_run (handlers=0x8064e88, signal=0xbffff110,
object=0x80b15f8, params=0xbffff170, after=0) at gtksignal.c:1917
`#9` 0x4045351f in gtk_signal_real_emit (object=0x80b15f8, signal_id=75,
params=0xbffff170) at gtksignal.c:1477
`#10` 0x40451594 in gtk_signal_emit (object=0x80b15f8, signal_id=75)
at gtksignal.c:552
`#11` 0x404889a8 in gtk_widget_activate (widget=0x80b15f8) at gtkwidget.c:2890
`#12` 0x4042cdb1 in gtk_menu_shell_activate_item (menu_shell=0x80b1500,
menu_item=0x80b15f8, force_deactivate=1) at gtkmenushell.c:859
`#13` 0x4042c041 in gtk_menu_shell_button_release (widget=0x80b1500,
event=0x80cbe58) at gtkmenushell.c:486
`#14` 0x40424841 in gtk_marshal_BOOL__POINTER (object=0x80b1500,
func=0x4042beb4 <gtk_menu_shell_button_release>, func_data=0x0,
args=0xbffff540) at gtkmarshal.c:28
`#15` 0x4045355f in gtk_signal_real_emit (object=0x80b1500, signal_id=27,
params=0xbffff540) at gtksignal.c:1492
`#16` 0x40451594 in gtk_signal_emit (object=0x80b1500, signal_id=27)
at gtksignal.c:552
`#17` 0x40488874 in gtk_widget_event (widget=0x80b1500, event=0x80cbe58)
at gtkwidget.c:2864
`#18` 0x404247b8 in gtk_propagate_event (widget=0x80b15f8, event=0x80cbe58)
at gtkmain.c:1378
`#19` 0x40423975 in gtk_main_do_event (event=0x80cbe58) at gtkmain.c:818
`#20` 0x404d710f in gdk_event_dispatch (source_data=0x0,
current_time=0xbffff910, user_data=0x0) at gdkevents.c:2139
`#21` 0x40555055 in g_main_dispatch (dispatch_time=0xbffff910) at gmain.c:656
`#22` 0x40555659 in g_main_iterate (block=1, dispatch=1) at gmain.c:877
`#23` 0x405557e8 in g_main_run (loop=0x80799d0) at gmain.c:935
`#24` 0x4042327b in gtk_main () at gtkmain.c:524
`#25` 0x08053e75 in new_terminal_for_client ()
`#26` 0x08053ea7 in main ()
`#27` 0x40583627 in __libc_start_main (main=0x8053e80 <main>, argc=3,
ubp_av=0xbffffa64, init=0x804c6e0 <_init>, fini=0x8054960 <_fini>,
rtld_fini=0x4000dcc4 <_dl_fini>, stack_end=0xbffffa5c)
at ../sysdeps/generic/libc-start.c:129
`#0` 0x40621ca9 in __wait4 () from /lib/i686/libc.so.6
No locals.
`#1` 0x4069d6b4 in __DTOR_END__ () from /lib/i686/libc.so.6
No symbol table info available.
`#2` 0x402e37ae 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=0x40748008 "", s2=0x1 <Address 0x1 out of bounds>, n=135097704)
at ../sysdeps/generic/strncpy.c:41
in ../sysdeps/generic/strncpy.c
n4 = 33774426
s1 = 0x0
s2 = 0xbfffed00 ""
n = 135097704
c = 0 '\000'
s = 0x40748008 ""
s = 0x40748008 ""
`#5` 0x4055df52 in g_strndup (str=0x1 <Address 0x1 out of bounds>, n=135097704)
at gstrfuncs.c:122
in gstrfuncs.c
n = 135097704
new_str = (gchar *) 0x40748008 ""
`#6` 0x08051379 in toggle_menubar_cmd ()
No symbol table info available.
`#7` 0x40424a6b in gtk_marshal_NONE__NONE (object=0x80b15f8,
func=0x8051310 <toggle_menubar_cmd+840>, func_data=0x808d8f0,
args=0xbffff170) at gtkmarshal.c:312
in gtkmarshal.c
No locals.
------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-04-02 13:05 -------
The original reporter (jrogers@mjrogers.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, gnome-core-maint@bugzilla.gnome.org.
Resolution: RESOLVED DUPLICATE