[ltt-dev] lttv-gui crash

Raghu kumar raghukumar.rags at gmail.com
Wed Jul 29 03:44:25 EDT 2009


Hi Team,

We are using LTT for our project performance tuning.   Recently after
capturing the trace, when we tried opening the captured trace through
lttv-gui tool, we got a crash and its pretty much consistent.  I am not able
to continue further with my investigation, can you please guide me
on this, like if we have any patch for this tool function properly.

Also, the prevous version of the toolkit use to show which system call is
taking time but with the latest release i am not able to fine any such
information with the trace..

The following are the version of tools i am using.

1) LinuxTraceToolkitViewer-0.8.72-06122006
2) ltt-control-0.30-09112006

Can any of you please point me to right direction.

Thank  you in advance.

-- 
Raghu Kumar .  K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20090729/4e127370/attachment-0002.htm>
-------------- next part --------------
System: Linux 2.6.24-smpdev #1 SMP Thu Oct 16 18:44:59 IST 2008 i686
X Vendor: The X.Org Foundation
X Vendor Release: 70200000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Glossy
Icon Theme: gnome

Memory status: size: 71372800 vsize: 71372800 resident: 3547136 share: 10117120 rss: 13664256 rss_rlim: 1777356800
CPU usage: start_time: 1248760405 rtime: 433 utime: 409 stime: 24 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/root/local/bin/lttv.real'

[?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb7d2d6c0 (LWP 3238)]
0xffffe410 in __kernel_vsyscall ()
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7dc0123 in waitpid () from /lib/libc.so.6
#2  0xb7f23357 in IA__g_spawn_sync (working_directory=0x0, argv=0x81fded8, 
    envp=0x0, flags=<value optimized out>, child_setup=0, user_data=0x0, 
    standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x809e4a8)
    at gspawn.c:382
#3  0xb7f2368c in IA__g_spawn_command_line_sync (
    command_line=0x81f74a0 "bug-buddy --appname=\"lttv.real\" --pid=3238", 
    standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x809e4a8)
    at gspawn.c:694
#4  0xb73a5700 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#5  0xb73a5bf2 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#6  0xb73a5e43 in google_breakpad::ExceptionHandler::InternalWriteMinidump ()
   from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#7  0xb73a642e in google_breakpad::ExceptionHandler::HandleException ()
   from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#8  <signal handler called>
#9  0xffffe410 in __kernel_vsyscall ()
#10 0xb7d5b8f5 in raise () from /lib/libc.so.6
#11 0xb7d5d1e1 in abort () from /lib/libc.so.6
#12 0xb7f117b7 in IA__g_assertion_message (domain=0xb7f69ade "", 
    file=0x80676b3 "state.c", line=2237, func=0x8067fd0 "process_fork", 
    message=0x8201750 "assertion failed: (0)") at gtestutils.c:1301
#13 0xb7f11c6d in IA__g_assertion_message_expr (domain=0x0, 
    file=0x80676b3 "state.c", line=2237, func=0x8067fd0 "process_fork", 
    expr=0x806771d "0") at gtestutils.c:1312
#14 0x0805a7e2 in process_fork (hook_data=0x82dfef8, call_data=0x813c968)
    at state.c:2237
#15 0x08054def in lttv_hooks_call_merge (h1=0x82acd00, call_data1=0x813c968, 
    h2=0x82ece98, call_data2=0x813c968) at hook.c:333
#16 0x08060a49 in lttv_process_traceset_middle (self=0x8265120, end=
      {tv_sec = 4294967295, tv_nsec = 1000000000}, nb_events=4294967295, 
    end_position=0x81466d0) at tracecontext.c:775
#17 0xb7fb3289 in get_events (new_value=0, event_viewer_data=0x80ad300)
    at events.c:1472
#18 0xb7fb4cd0 in traceset_changed (hook_data=0x80ad300, call_data=0x812e728)
    at events.c:1824
#19 0x08054ea6 in lttv_hooks_call (h=0x80e9448, call_data=0x812e728)
    at hook.c:272
#20 0xb78396af in SetTraceset (tab=0x8135820, traceset=0x812e728)
    at callbacks.c:562
#21 0xb783be57 in add_trace (widget=0x809ee68, user_data=0x0)
    at callbacks.c:1840
#22 0xb783bfa4 in on_button_add_trace_clicked (button=0x809ee68, user_data=0x0)
    at callbacks.c:3184
#23 0xb7e8fd3f in IA__g_cclosure_marshal_VOID__VOID (closure=0x80daa30, 
    return_value=0x0, n_param_values=1, param_values=0x81ab9c8, 
    invocation_hint=0xbf8b0f7c, marshal_data=0xb783bf80) at gmarshal.c:77
#24 0xb7e829c9 in IA__g_closure_invoke (closure=0x80daa30, return_value=0x0, 
    n_param_values=1, param_values=0x81ab9c8, invocation_hint=0xbf8b0f7c)
    at gclosure.c:767
#25 0xb7e9718b in signal_emit_unlocked_R (node=0x80cb9b0, detail=0, 
    instance=0x809ee68, emission_return=0x0, instance_and_params=0x81ab9c8)
    at gsignal.c:3244
#26 0xb7e98dbf in IA__g_signal_emit_valist (instance=0xca6, signal_id=112, 
    detail=0, var_args=0xbf8b119c "Ü]ê·ô?ë·hî\t\b¸\021\213¿>ª ·hî\t\b")
    at gsignal.c:2977
#27 0xb7e99119 in IA__g_signal_emit (instance=0x809ee68, signal_id=112, 
    detail=0) at gsignal.c:3034
#28 0xb7a08eda in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#29 0xb7a0aa3e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x0809ee68 in ?? ()
#31 0xb7a0aa00 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#32 0xbf8b11d8 in ?? ()
#33 0xb7e8fd3f in IA__g_cclosure_marshal_VOID__VOID (closure=0x809ee68, 
    return_value=0x80c57e8, n_param_values=134974616, param_values=0xb7eb3ff4, 
    invocation_hint=0x81ab798, marshal_data=0x809ee68) at gmarshal.c:77
Backtrace stopped: frame did not save the PC

Thread 1 (Thread 0xb7d2d6c0 (LWP 3238)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7dc0123 in waitpid () from /lib/libc.so.6
No symbol table info available.
#2  0xb7f23357 in IA__g_spawn_sync (working_directory=0x0, argv=0x81fded8, 
    envp=0x0, flags=<value optimized out>, child_setup=0, user_data=0x0, 
    standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x809e4a8)
    at gspawn.c:382
	outpipe = -1
	errpipe = -1
	pid = 3262
	fds = {__fds_bits = {-1208463372, 0, 136010136, 134865848, 
    -1208962303, 8, 136010136, 4, -1208463372, 0, 136010136, 134865960, 
    -1208974566, 136010136, -1209054384, 0, 134786560, -1220925387, 
    1959892117, 0, 0, -1209660672, 10, 9, 134865944, 134865940, 136306392, 3, 
    0, 648276, 941761024, 136010136}}
	ret = <value optimized out>
	outstr = (GString *) 0x0
	errstr = (GString *) 0x0
	failed = 0
	status = <value optimized out>
	__PRETTY_FUNCTION__ = "IA__g_spawn_sync"
#3  0xb7f2368c in IA__g_spawn_command_line_sync (
    command_line=0x81f74a0 "bug-buddy --appname=\"lttv.real\" --pid=3238", 
    standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x809e4a8)
    at gspawn.c:694
	retval = 0
	argv = (gchar **) 0x81fded8
	__PRETTY_FUNCTION__ = "IA__g_spawn_command_line_sync"
#4  0xb73a5700 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#5  0xb73a5bf2 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#6  0xb73a5e43 in google_breakpad::ExceptionHandler::InternalWriteMinidump ()
   from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#7  0xb73a642e in google_breakpad::ExceptionHandler::HandleException ()
   from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#8  <signal handler called>
No symbol table info available.
#9  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#10 0xb7d5b8f5 in raise () from /lib/libc.so.6
No symbol table info available.
#11 0xb7d5d1e1 in abort () from /lib/libc.so.6
No symbol table info available.
#12 0xb7f117b7 in IA__g_assertion_message (domain=0xb7f69ade "", 
    file=0x80676b3 "state.c", line=2237, func=0x8067fd0 "process_fork", 
    message=0x8201750 "assertion failed: (0)") at gtestutils.c:1301
	lstr = "2237\000\027 \b+\213ô·(ú\212¿\001\000\000\000\000\000\000\000éÁ\004\b0ú\212¿"
	s = <value optimized out>
#13 0xb7f11c6d in IA__g_assertion_message_expr (domain=0x0, 
    file=0x80676b3 "state.c", line=2237, func=0x8067fd0 "process_fork", 
    expr=0x806771d "0") at gtestutils.c:1312
No locals.
#14 0x0805a7e2 in process_fork (hook_data=0x82dfef8, call_data=0x813c968)
    at state.c:2237
	e = (LttEvent *) 0x82772e4
	child_pid = 1078
	child_tgid = 0
	cpu = 0
	ts = (LttvTraceState *) 0x81c7430
	process = (LttvProcessState *) 0x8205720
	child_process = (LttvProcessState *) 0x0
	__PRETTY_FUNCTION__ = "process_fork"
#15 0x08054def in lttv_hooks_call_merge (h1=0x82acd00, call_data1=0x813c968, 
    h2=0x82ece98, call_data2=0x813c968) at hook.c:333
	ret = <value optimized out>
	sum_ret = 0
	c1 = <value optimized out>
	c2 = (LttvHookClosure *) 0x0
	i = 0
	j = 1
#16 0x08060a49 in lttv_process_traceset_middle (self=0x8265120, end=
      {tv_sec = 4294967295, tv_nsec = 1000000000}, nb_events=4294967295, 
    end_position=0x81466d0) at tracecontext.c:775
	pqueue = (GTree *) 0x8135278
	fac_id = <value optimized out>
	id = 3238
	tfc = (LttvTracefileContext *) 0x813c968
	e = (LttEvent *) 0x82772e4
	count = 5680634
	last_ret = 0
	__PRETTY_FUNCTION__ = "lttv_process_traceset_middle"
#17 0xb7fb3289 in get_events (new_value=0, event_viewer_data=0x80ad300)
    at events.c:1472
	pos = (LttvTracesetContextPosition *) 0x81861d8
	tss = (LttvTracesetStats *) 0x8265120
	i = <value optimized out>
	seek_by_time = 0
	value = 0
	relative_position = 0
	time = {tv_sec = 4, tv_nsec = 910413361}
	__PRETTY_FUNCTION__ = "get_events"
#18 0xb7fb4cd0 in traceset_changed (hook_data=0x80ad300, call_data=0x812e728)
    at events.c:1824
	event_viewer_data = (EventViewerData *) 0x0
	tsc = (LttvTracesetContext *) 0x8265120
#19 0x08054ea6 in lttv_hooks_call (h=0x80e9448, call_data=0x812e728)
    at hook.c:272
	ret = <value optimized out>
	sum_ret = 0
	c = (LttvHookClosure *) 0x0
	i = 0
#20 0xb78396af in SetTraceset (tab=0x8135820, traceset=0x812e728)
    at callbacks.c:562
	new_time_window = {start_time = {tv_sec = 0, tv_nsec = 0}, 
  time_width = {tv_sec = 1, tv_nsec = 0}, time_width_double = 1000000000, 
  end_time = {tv_sec = 1, tv_nsec = 0}}
	new_current_time = {tv_sec = 0, tv_nsec = 0}
	value = {v_int = 0x816cff0, v_uint = 0x816cff0, v_long = 0x816cff0, 
  v_ulong = 0x816cff0, v_float = 0x816cff0, v_double = 0x816cff0, 
  v_time = 0x816cff0, v_pointer = 0x816cff0, v_string = 0x816cff0, 
  v_gobject = 0x816cff0}
	retval = 1
	__PRETTY_FUNCTION__ = "SetTraceset"
#21 0xb783be57 in add_trace (widget=0x809ee68, user_data=0x0)
    at callbacks.c:1840
	trace = <value optimized out>
	trace_v = (LttvTrace *) 0x81f1f90
	dir = 0x81f1f90 "\bV&\b`\b)\b\002"
	abs_path = "/root/ISSUE/traceWitG2S-5reels-subscriptions-dropCache1\0008\\\n\b\230ý\212¿ÎÓÕ·\230Sø·ÀSø·Lþ\212¿\fþ\212¿hÝ\006\b\214þ\212¿ð\004\036\b(\000\000\000\001ý\212¿\210Ï%\b)\000\000\000\034\000\000\000Ðgµ·ÀP \b\024\000\000\000\004\005\036\b(%\n\b\001\000\000\000\001\000\000\000\000\000\000\b\200%\n\b¸%\n\bØ%\n\b\000\000\000\000Hå\006\bjå\006\b\030þ\212¿)\000\000\000\005\000\000\000\001\000\000\000\001", '\0' <repeats 15 times>, "D"...
	id = <value optimized out>
	mw_data = (MainWindow *) 0x809ea60
	notebook = (GtkWidget *) 0x80d9000
	page = <value optimized out>
	ptab = <value optimized out>
	tab = (Tab *) 0x8135820
#22 0xb783bfa4 in on_button_add_trace_clicked (button=0x809ee68, user_data=0x0)
    at callbacks.c:3184
No locals.
#23 0xb7e8fd3f in IA__g_cclosure_marshal_VOID__VOID (closure=0x80daa30, 
    return_value=0x0, n_param_values=1, param_values=0x81ab9c8, 
    invocation_hint=0xbf8b0f7c, marshal_data=0xb783bf80) at gmarshal.c:77
	data1 = (gpointer) 0x809ee68
	data2 = (gpointer) 0x0
	__PRETTY_FUNCTION__ = "IA__g_cclosure_marshal_VOID__VOID"
#24 0xb7e829c9 in IA__g_closure_invoke (closure=0x80daa30, return_value=0x0, 
    n_param_values=1, param_values=0x81ab9c8, invocation_hint=0xbf8b0f7c)
    at gclosure.c:767
	marshal = (
    GClosureMarshal) 0xb7e8fcf0 <IA__g_cclosure_marshal_VOID__VOID>
	marshal_data = (gpointer) 0x0
	__PRETTY_FUNCTION__ = "IA__g_closure_invoke"
#25 0xb7e9718b in signal_emit_unlocked_R (node=0x80cb9b0, detail=0, 
    instance=0x809ee68, emission_return=0x0, instance_and_params=0x81ab9c8)
    at gsignal.c:3244
	tmp = <value optimized out>
	handler = (Handler *) 0x80da6e0
	accumulator = (SignalAccumulator *) 0x0
	emission = {next = 0xbf8b13f4, instance = 0x809ee68, ihint = {
    signal_id = 112, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, 
  state = EMISSION_RUN, chain_type = 4}
	class_closure = (GClosure *) 0x80cb988
	handler_list = (Handler *) 0x80da6e0
	return_accu = (GValue *) 0x0
	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 = 112
	max_sequential_handler_number = 1567
	return_value_altered = 1
#26 0xb7e98dbf in IA__g_signal_emit_valist (instance=0xca6, signal_id=112, 
    detail=0, var_args=0xbf8b119c "Ü]ê·ô?ë·hî\t\b¸\021\213¿>ª ·hî\t\b")
    at gsignal.c:2977
	_flags = <value optimized out>
	_vtable = <value optimized out>
	_cvalues = {{v_int = -1209319436, v_long = -1209319436, 
    v_int64 = -4644598521529679884, v_double = -0.013218408215294609, 
    v_pointer = 0xb7eb3ff4}, {v_int = 0, v_long = 0, 
    v_int64 = -4644600139523031040, v_double = -0.013215601444244385, 
    v_pointer = 0x0}, {v_int = -1209377184, v_long = -1209377184, 
    v_int64 = 88984936032, v_double = 4.3964399890792091e-313, 
    v_pointer = 0xb7ea5e60}, {v_int = 0, v_long = 0, 
    v_int64 = 578401699564093440, v_double = 5.4173449973053328e-270, 
    v_pointer = 0x0}, {v_int = -1209319436, v_long = -1209319436, 
    v_int64 = -5193987424951517196, v_double = -2.502501461463277e-39, 
    v_pointer = 0xb7eb3ff4}, {v_int = 134888496, v_long = 134888496, 
    v_int64 = -4644598283962270672, v_double = -0.013218820329056497, 
    v_pointer = 0x80a3c30}, {v_int = -1209436495, v_long = -1209436495, 
    v_int64 = -4644598521529796943, v_double = -0.013218408215091544, 
    v_pointer = 0xb7e976b1}, {v_int = -1081404468, v_long = -1081404468, 
    v_int64 = -4644598521401764916, v_double = -0.013218408437191707, 
    v_pointer = 0xbf8b13cc}}
	_lcopy_format = <value optimized out>
	_n_values = <value optimized out>
	return_value = {g_type = 134888496, data = {{v_int = 17618716, 
      v_uint = 17618716, v_long = 17618716, v_ulong = 17618716, 
      v_int64 = 8607553308, v_uint64 = 8607553308, v_float = 2.58682723e-38, 
      v_double = 4.2526963842299781e-314, v_pointer = 0x10cd71c}, {v_int = 1, 
      v_uint = 1, v_long = 1, v_ulong = 1, v_int64 = 579340476335783937, 
      v_uint64 = 579340476335783937, v_float = 1.40129846e-45, 
      v_double = 6.2064893291033956e-270, v_pointer = 0x1}}}
	error = <value optimized out>
	signal_return_type = 4
	param_values = (GValue *) 0x81ab9dc
	node = (SignalNode *) 0x80cb9b0
	i = 200
	n_params = 0
	__PRETTY_FUNCTION__ = "IA__g_signal_emit_valist"
#27 0xb7e99119 in IA__g_signal_emit (instance=0x809ee68, signal_id=112, 
    detail=0) at gsignal.c:3034
	var_args = 0xbf8b119c "Ü]ê·ô?ë·hî\t\b¸\021\213¿>ª ·hî\t\b"
#28 0xb7a08eda in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#29 0xb7a0aa3e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#30 0x0809ee68 in ?? ()
No symbol table info available.
#31 0xb7a0aa00 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#32 0xbf8b11d8 in ?? ()
No symbol table info available.
#33 0xb7e8fd3f in IA__g_cclosure_marshal_VOID__VOID (closure=0x809ee68, 
    return_value=0x80c57e8, n_param_values=134974616, param_values=0xb7eb3ff4, 
    invocation_hint=0x81ab798, marshal_data=0x809ee68) at gmarshal.c:77
	data1 = (gpointer) 0x809ee68
	data2 = (gpointer) 0x0
	__PRETTY_FUNCTION__ = "IA__g_cclosure_marshal_VOID__VOID"
Backtrace stopped: frame did not save the PC
#0  0xffffe410 in __kernel_vsyscall ()
The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]


----------- .xsession-errors ---------------------
Window manager warning: Log level 8: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed
(gnome-panel:27597): libgnomevfs-CRITICAL **: gnome_vfs_get_uri_from_local_path: assertion `g_path_is_absolute (local_full_path)' failed
(gnome-panel:27597): libgnomevfs-CRITICAL **: gnome_vfs_monitor_add: assertion `text_uri != NULL' failed
(gnome-panel:27597): libgnomevfs-CRITICAL **: gnome_vfs_get_uri_from_local_path: assertion `g_path_is_absolute (local_full_path)' failed
(gnome-panel:27597): libgnomevfs-CRITICAL **: gnome_vfs_monitor_add: assertion `text_uri != NULL' failed
Window manager warning: Log level 8: gtk_menu_shell_insert: assertion `GTK_IS_MENU_ITEM (child)' failed
Window manager warning: Log level 8: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed
** (lttv.real:3238): WARNING **: cannot open trace /root/ISSUE
**
ERROR:state.c:2237:process_fork: assertion failed: (0)
--------------------------------------------------


More information about the lttng-dev mailing list