gnome-terminal crashed with SIGSEGV in strlen()
@seb128
Submitted by Sébastien Bacher Link to original bug (#450064)
Description
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/121630
"Binary package hint: gnome-terminal
I ran gnome-session-save and all of my gnome-terminals disappeared. gnome-terminal segfaulted. I know I've seen this before and thought I had opened a bug on it but I can't seem to find it. now. Maybe launchpad will find it for me with the new duplicate matching code. :-) ... .
Thread 2 (process 13759):
`#0` 0xffffe410 in ?? ()
`#1` 0xb6468398 in ?? ()
`#2` 0x00000014 in ?? ()
`#3` 0xb6468374 in ?? ()
`#4` 0xb759c19b in ?? () from /lib/tls/i686/cmov/libpthread.so.0
`#5` 0xb76d10ad in child_watch_helper_thread (data=0x0)
at /build/buildd/glib2.0-2.13.5/glib/gmain.c:3898
b = "t�u�\230\203F�\001\000\000\000\000\000\000\000\034�u�"
list = (GSList *) 0x834b850
`#6` 0xb76f370f in g_thread_create_proxy (data=0x834b850)
at /build/buildd/glib2.0-2.13.5/glib/gthread.c:594
__PRETTY_FUNCTION__ = "g_thread_create_proxy"
`#7` 0xb759531b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
`#8` 0xb751b97e in clone () from /lib/tls/i686/cmov/libc.so.6
.
Thread 1 (process 13751):
`#0` 0xb74b935b in strlen () from /lib/tls/i686/cmov/libc.so.6
`#1` 0xb748b5c7 in vfprintf () from /lib/tls/i686/cmov/libc.so.6
`#2` 0xb74a9f9c in vasprintf () from /lib/tls/i686/cmov/libc.so.6
`#3` 0xb76ff297 in IA__g_vasprintf (string=0xbfd553e4, format=0x80856b0 "%s ",
args=0xbfd55434 "\031") at /build/buildd/glib2.0-2.13.5/glib/gprintf.c:313
len = <value optimized out>
__PRETTY_FUNCTION__ = "IA__g_vasprintf"
`#4` 0xb76f0386 in IA__g_strdup_vprintf (format=0x80856b0 "%s ",
args=0xbfd55434 "\031")
at /build/buildd/glib2.0-2.13.5/glib/gstrfuncs.c:217
string = (gchar *) 0x0
`#5` 0xb76d9707 in IA__g_print (
format=0xb74882d9 "\213u\020\213M\020\213>\203�\004\211\215p���\205�\017\204\"+") at /build/buildd/glib2.0-2.13.5/glib/gmessages.c:957
args = 0xbfd55434 "\031"
string = <value optimized out>
local_glib_print_func = <value optimized out>
__PRETTY_FUNCTION__ = "IA__g_print"
`#6` 0x080648b0 in save_yourself_callback (client=0x80baaa0, phase=1,
save_style=GNOME_SAVE_BOTH, shutdown=0,
interact_style=GNOME_INTERACT_ANY, fast=0, data=0x80edc70)
at terminal.c:3489
screen = (TerminalScreen *) 0x83a1da0
override_command = <value optimized out>
profile_id = <value optimized out>
title = <value optimized out>
zoom = 63
clone_command = (char **) 0x8485800
argc = 83
`#7` 0xb7edec81 in _gnome_marshal_BOOLEAN__INT_ENUM_BOOLEAN_ENUM_BOOLEAN (
closure=0x810a5e8, return_value=0xbfd5591c, n_param_values=6,
param_values=0xbfd5575c, invocation_hint=0xbfd5563c,
marshal_data=0x8064480) at gnome-marshal.c:86
data1 = (gpointer) 0x80baaa0
data2 = <value optimized out>
v_return = <value optimized out>
__PRETTY_FUNCTION__ = "_gnome_marshal_BOOLEAN__INT_ENUM_BOOLEAN_ENUM_BOOLEAN"
`#8` 0xb7765742 in IA__g_closure_invoke (closure=0x810a5e8,
return_value=0xbfd5591c, n_param_values=6, param_values=0xbfd5575c,
invocation_hint=0xbfd5563c)
at /build/buildd/glib2.0-2.13.5/gobject/gclosure.c:490
marshal = (
GClosureMarshal) 0xb7edec00 <_gnome_marshal_BOOLEAN__INT_ENUM_BOOLEAN_ENUM_BOOLEAN>
marshal_data = (gpointer) 0x0
__PRETTY_FUNCTION__ = "IA__g_closure_invoke"
`#9` 0xb7777695 in signal_emit_unlocked_R (node=0x80c7860, detail=0,
instance=0x80baaa0, emission_return=0xbfd5591c,
instance_and_params=0xbfd5575c)
at /build/buildd/glib2.0-2.13.5/gobject/gsignal.c:2440
tmp = <value optimized out>
handler = (Handler *) 0x80fb0c0
accumulator = (SignalAccumulator *) 0x0
emission = {next = 0x0, instance = 0x80baaa0, ihint = {signal_id = 8,
detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN,
chain_type = 4}
class_closure = (GClosure *) 0x80c7818
handler_list = (Handler *) 0x80fb0c0
return_accu = (GValue *) 0xbfd5591c
accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0,
v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0,
v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0,
v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
signal_id = 8
max_sequential_handler_number = 1789
return_value_altered = 0
`#10` 0xb77789a6 in IA__g_signal_emit_valist (instance=0x80baaa0, signal_id=8,
detail=0, var_args=0xbfd559b0 "�Yտ\026")
at /build/buildd/glib2.0-2.13.5/gobject/gsignal.c:2209
_flags = <value optimized out>
_vtable = <value optimized out>
_cvalues = {{v_int = -1223428036, v_long = -1223428036,
v_int64 = -5254583400557971396, v_double = -2.2386781542348503e-43,
v_pointer = 0xb713f83c}, {v_int = 1776, v_long = 1776,
v_int64 = -4623691620250810640, v_double = -0.33355522155771578,
v_pointer = 0x6f0}, {v_int = -1223450504, v_long = -1223450504,
v_int64 = 580053925014773880, v_double = 6.8062208073757914e-270,
v_pointer = 0xb713a078}, {v_int = 1776, v_long = 1776,
v_int64 = 595761132740806384, v_double = 7.7868402467568954e-269,
v_pointer = 0x6f0}, {v_int = -1217400157, v_long = -1217400157,
v_int64 = -4623691496914160989, v_double = -0.33356206811712691,
v_pointer = 0xb76ff2a3}, {v_int = -1208875453, v_long = -1208875453,
v_int64 = 7630948009539, v_double = 3.7701892567138608e-311,
v_pointer = 0xb7f20643}, {v_int = 135054328, v_long = 135054328,
v_int64 = 580059660154618872, v_double = 6.8110418183309248e-270,
v_pointer = 0x80cc3f8}, {v_int = -1218924556, v_long = -1218924556,
v_int64 = -5235222220559044620, v_double = -4.4401037255347261e-42,
v_pointer = 0xb758aff4}}
_lcopy_format = <value optimized out>
_n_values = <value optimized out>
return_value = {g_type = 20, data = {{v_int = 0, v_uint = 0,
v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0,
v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0,
v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0,
v_pointer = 0x0}}}
error = <value optimized out>
instance_and_params = (GValue *) 0xbfd5575c
stack_values = {{g_type = 135033928, data = {{v_int = 134982304,
v_uint = 134982304, v_long = 134982304, v_ulong = 134982304,
v_int64 = 134982304, v_uint64 = 134982304, v_float = 4.20293597e-34,
v_double = 6.6690119202899477e-316, v_pointer = 0x80baaa0}, {
v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0,
v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {
g_type = 24, data = {{v_int = 1, v_uint = 1, v_long = 1, v_ulong = 1,
v_int64 = 1, v_uint64 = 1, v_float = 1.40129846e-45,
v_double = 4.9406564584124654e-324, v_pointer = 0x1}, {v_int = 0,
v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0,
v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 135030496,
data = {{v_int = 2, v_uint = 2, v_long = 2, v_ulong = 2, v_int64 = 2,
v_uint64 = 2, v_float = 2.80259693e-45,
v_double = 9.8813129168249309e-324, v_pointer = 0x2}, {v_int = 0,
v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0,
v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 20, data = {{
v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0,
v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {
v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0,
v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {
g_type = 135027400, data = {{v_int = 2, v_uint = 2, v_long = 2,
v_ulong = 2, v_int64 = 2, v_uint64 = 2, v_float = 2.80259693e-45,
v_double = 9.8813129168249309e-324, v_pointer = 0x2}, {v_int = 0,
v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0,
v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 20, data = {{
v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0,
v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {
v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0,
v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {
g_type = 3075165598, data = {{v_int = -1218920160, v_uint = 3076047136,
v_long = -1218920160, v_ulong = 3076047136, v_int64 = 11665981728,
v_uint64 = 11665981728, v_float = -1.29195687e-05,
v_double = 5.7637607968165014e-314, v_pointer = 0xb758c120}, {
v_int = -1218924556, v_uint = 3076042740, v_long = -1218924556,
v_ulong = 3076042740, v_int64 = 7371010036, v_uint64 = 7371010036,
v_float = -1.29155706e-05, v_double = 3.6417628339386499e-314,
v_pointer = 0xb758aff4}}}, {g_type = 2, data = {{v_int = -1076537160,
v_uint = 3218430136, v_long = -1076537160, v_ulong = 3218430136,
v_int64 = -5239199042305173320, v_uint64 = 13207545031404378296,
v_float = -1.66676998, v_double = -2.3878929790813224e-42,
v_pointer = 0xbfd558b8}, {v_int = 138958488, v_uint = 138958488,
v_long = 138958488, v_ulong = 138958488,
v_int64 = 596822161600566936, v_uint64 = 596822161600566936,
v_float = 6.02871012e-34, v_double = 9.2138971332138182e-269,
v_pointer = 0x8485698}}}, {g_type = 1, data = {{v_int = 138958488,
v_uint = 138958488, v_long = 138958488, v_ulong = 138958488,
v_int64 = 138958488, v_uint64 = 138958488, v_float = 6.02871012e-34,
v_double = 6.8654615118843108e-316, v_pointer = 0x8485698}, {
v_int = 1, v_uint = 1, v_long = 1, v_ulong = 1,
v_int64 = -311452061730340863, v_uint64 = 18135292011979210753,
v_float = 1.40129846e-45, v_double = -5.6149758464121095e+287,
v_pointer = 0x1}}}, {g_type = 138958488, data = {{
v_int = -1076537272, v_uint = 3218430024, v_long = -1076537272,
v_ulong = 3218430024, v_int64 = 37578168392, v_uint64 = 37578168392,
v_float = -1.66675663, v_double = 1.8566082036124597e-313,
v_pointer = 0xbfd55848}, {v_int = 8, v_uint = 8, v_long = 8,
v_ulong = 8, v_int64 = -4623692376165056504,
v_uint64 = 13823051697544495112, v_float = 1.12103877e-44,
v_double = -0.33351325988769576, v_pointer = 0x8}}}, {
g_type = 3076112676, data = {{v_int = 8, v_uint = 8, v_long = 8,
v_ulong = 8, v_int64 = -5254978188433424376,
v_uint64 = 13191765885276127240, v_float = 1.12103877e-44,
v_double = -2.0814448114855232e-43, v_pointer = 0x8}, {v_int = 10,
v_uint = 10, v_long = 10, v_ulong = 10,
v_int64 = -4623692238726103030, v_uint64 = 13823051834983448586,
v_float = 1.40129846e-44, v_double = -0.33352088928222712,
v_pointer = 0xa}}}, {g_type = 1776, data = {{v_int = 1776,
v_uint = 1776, v_long = 1776, v_ulong = 1776,
v_int64 = -4623692238726101264, v_uint64 = 13823051834983450352,
v_float = 2.48870607e-42, v_double = -0.33352088928232515,
v_pointer = 0x6f0}, {v_int = -1218854620, v_uint = 3076112676,
v_long = -1218854620, v_ulong = 3076112676, v_int64 = 7630938030372,
v_uint64 = 7630938030372, v_float = -1.2979177e-05,
v_double = 3.770184326350272e-311, v_pointer = 0xb759c124}}}, {
g_type = 3071447342, data = {{v_int = 10, v_uint = 10, v_long = 10,
v_ulong = 10, v_int64 = 595761132740804618,
v_uint64 = 595761132740804618, v_float = 1.40129846e-44,
v_double = 7.7868402467545202e-269, v_pointer = 0xa}, {v_int = 1776,
v_uint = 1776, v_long = 1776, v_ulong = 1776,
v_int64 = -5235219612294969616, v_uint64 = 13211524461414582000,
v_float = 2.48870607e-42, v_double = -4.4417658072947206e-42,
v_pointer = 0x6f0}}}, {g_type = 3218430167, data = {{
v_int = -1223468008, v_uint = 3071499288, v_long = -1223468008,
v_ulong = 3071499288, v_int64 = -5239050303439676392,
v_uint64 = 13207693770269875224, v_float = -8.78332503e-06,
v_double = -2.4352839157801572e-42, v_pointer = 0xb7135c18}, {
v_int = -1223502991, v_uint = 3071464305, v_long = -1223502991,
v_ulong = 3071464305, v_int64 = 580052859862831985,
v_uint64 = 580052859862831985, v_float = -8.75150818e-06,
v_double = 6.8053254309212414e-270, v_pointer = 0xb712d371}}}, {
g_type = 138711448, data = {{v_int = 1776, v_uint = 1776, v_long = 1776,
v_ulong = 1776, v_int64 = -5254755082062264592,
v_uint64 = 13191988991647287024, v_float = 2.48870607e-42,
v_double = -2.1703020502897148e-43, v_pointer = 0x6f0}, {
v_int = 135054328, v_uint = 135054328, v_long = 135054328,
v_ulong = 135054328, v_int64 = 580053922078311416,
v_uint64 = 580053922078311416, v_float = 4.23600777e-34,
v_double = 6.806218338958614e-270, v_pointer = 0x80cc3f8}}}, {
g_type = 3218430120, data = {{v_int = 16, v_uint = 16, v_long = 16,
v_ulong = 16, v_int64 = 1614907703312, v_uint64 = 1614907703312,
v_float = 2.24207754e-44, v_double = 7.9787041741084744e-312,
v_pointer = 0x10}, {v_int = -1219023012, v_uint = 3075944284,
v_long = -1219023012, v_ulong = 3075944284,
v_int64 = 580059663095508828, v_uint64 = 580059663095508828,
v_float = -1.28260253e-05, v_double = 6.8110442904698925e-270,
v_pointer = 0xb7572f5c}}}}
free_me = (GValue *) 0x0
signal_return_type = 20
param_values = (GValue *) 0xbfd55770
node = (SignalNode *) 0x80c7860
i = 5
n_params = 5
__PRETTY_FUNCTION__ = "IA__g_signal_emit_valist"
`#11` 0xb7778d99 in IA__g_signal_emit (instance=0x80baaa0, signal_id=8,
detail=0) at /build/buildd/glib2.0-2.13.5/gobject/gsignal.c:2243
var_args = 0xbfd5599c "\001"
`#12` 0xb7ec5aa2 in client_save_yourself_callback (smc_conn=0x80cce00,
client_data=0x80baaa0, save_style=2, shutdown=<value optimized out>,
interact_style=2, fast=<value optimized out>) at gnome-client.c:755
client = <value optimized out>
name = (gchar *) 0x8465a50 ""
fd = 25
ret = -1209247797
`#13` 0xb713e21d in _SmcProcessMessage () from /usr/lib/libSM.so.6
`#14` 0xb7131fac in IceProcessMessages () from /usr/lib/libICE.so.6
`#15` 0xb7ede605 in process_ice_messages (source=0x80ccd60, condition=G_IO_IN,
data=0x80cc3f8) at gnome-ice.c:57
status = <value optimized out>
`#16` 0xb76ff66d in g_io_unix_dispatch (source=0x80ccdb8,
callback=0xb7ede5d0 <process_ice_messages>, user_data=0x80cc3f8)
at /build/buildd/glib2.0-2.13.5/glib/giounix.c:162
buffer_condition = 3074982617
`#17` 0xb76d010c in IA__g_main_context_dispatch (context=0x80bdc50)
at /build/buildd/glib2.0-2.13.5/glib/gmain.c:2061
No locals.
`#18` 0xb76d354f in g_main_context_iterate (context=0x80bdc50, block=1,
dispatch=1, self=0x80bf350)
at /build/buildd/glib2.0-2.13.5/glib/gmain.c:2694
got_ownership = <value optimized out>
max_priority = 2147483647
timeout = -1
some_ready = 1
nfds = <value optimized out>
allocated_nfds = <value optimized out>
fds = (GPollFD *) 0x8483520
__PRETTY_FUNCTION__ = "g_main_context_iterate"
`#19` 0xb76d38f9 in IA__g_main_loop_run (loop=0x80bf340)
at /build/buildd/glib2.0-2.13.5/glib/gmain.c:2898
got_ownership = -1218874288
self = (GThread *) 0x80bf350
__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
`#20` 0xb7afebe4 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
`#21` 0x08064384 in main (argc=17, argv=0xbfd55e04) at terminal.c:1773
cwd = <value optimized out>
err = (GError *) 0x0
ctx = (poptContext) 0x80c8a08
i = <value optimized out>
argc_copy = 17
argv_copy = <value optimized out>
args = <value optimized out>
startup_id = <value optimized out>
display_name = <value optimized out>
display = <value optimized out>
reqs = {{required_version = 0x80854f6 "2.0.0",
module_info = 0xb7f28200}, {required_version = 0x0, module_info = 0x0}}
sm_client = (GnomeClient *) 0x80baaa0
results = (OptionParsingResults *) 0x809e2a8
program = <value optimized out>
__PRETTY_FUNCTION__ = "main"
..."
Version: 2.18.x
Resolution: RESOLVED DUPLICATE