Copy from gedit2 segfault
Submitted by Luca Barbato
Assigned to Havoc Pennington
Description
Subject: gnome-terminal crash
Package: gnome-terminal Severity: normal Version: 1.9.6 Synopsis: gnome-terminal crash Bugzilla-Product: gnome-terminal Bugzilla-Component: general BugBuddy-GnomeVersion: 2.0 (1.117.2)
Description: Description of Problem: If you try to copy from gedit2 and then paste to gnome-terminal you get a crash
Steps to reproduce the problem:
- make / edit a text on gedit
- select it
- try to paste it on Mozilla, it may work or may not
- try to do the same on gnome-terminal (using the mouse middlebutton)
Actual Results: crash
Expected Results: ...
How often does this happen? reproducible.
Additional Information: probably it is triggered by the lenght of the buffer or by the different passages from the mouse selection -> middleclick to paste and the ctr+C copy .. I tried to reproduce it using other gtk2 apps (like another gedit) it doesn't occur
Debugging Information:
Backtrace was generated from '/usr/bin/gnome-terminal'
0x40aedc79 in wait4 () from /lib/libc.so.6
`#0` 0x40aedc79 in wait4 () from /lib/libc.so.6
`#1` 0x40b69858 in __check_rhosts_file () from /lib/libc.so.6
`#2` 0x40904392 in waitpid () from /lib/libpthread.so.0
`#3` 0x401a8c23 in libgnomeui_segv_handle (signum=11) at
gnome-ui-init.c:592
`#4` 0x409020c4 in pthread_kill () from /lib/libpthread.so.0
`#5` 0x40a74768 in sigaction () from /lib/libc.so.6
`#6` 0x40338fa8 in request_text_received_func (clipboard=0x81e6308,
selection_data=0xbffff284, data=0x81e2d20) at gtkclipboard.c:685
`#7` 0x40338dc1 in selection_received (widget=0x80cced8,
selection_data=0xbffff284, time=856865187) at gtkclipboard.c:598
`#8` 0x403ad04c in _gtk_marshal_VOID__BOXED_UINT (closure=0x81e6428,
return_value=0x0, n_param_values=3, param_values=0xbffff0bc,
invocation_hint=0xbfffefa8, marshal_data=0x0) at
gtkmarshalers.c:969
`#9` 0x408c404e in g_closure_invoke (closure=0x81e6428, return_value=0x0,
n_param_values=3, param_values=0xbffff0bc,
invocation_hint=0xbfffefa8) at gclosure.c:437
`#10` 0x408d8a14 in signal_emit_unlocked_R (node=0x80aca90, detail=0,
instance=0x80cced8, emission_return=0x0,
instance_and_params=0xbffff0bc)
at gsignal.c:2341
`#11` 0x408d71f1 in g_signal_emit_valist (instance=0x80cced8,
signal_id=58,
detail=0, var_args=0xbffff264) at gsignal.c:2100
`#12` 0x403eb02b in gtk_signal_emit_by_name (object=0x80cced8,
name=0x404e6347 "selection_received") at gtksignal.c:374
`#13` 0x403e7924 in gtk_selection_retrieval_report (info=0x81e61d0,
type=0x57,
format=8,
buffer=0x81ee9c8 "Problema: PERCH
Version: 1.9.x
Resolution: RESOLVED FIXED