0.8.20
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 15 Feb 2006 19:27:20 +0000 (19:27 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 15 Feb 2006 19:27:20 +0000 (19:27 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1549 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ChangeLog
ltt/branches/poly/configure.in
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c

index 0c9e04969dddc1c0370416fb21d603044f582e84..4487761a9384d1035a7b05bcd3303c5fecf07dac 100644 (file)
@@ -1,5 +1,8 @@
 LinuxTraceToolkit ChangeLog
 
+15/02/2006     LTTV 0.8.20
+                                               Fix end of trace NULL pointer problem in debug output of
+                                               lttvwindow.
 11/02/2006     LTTV 0.8.19
                                                Copy process names upon fork.
                                                Put statedump to "unknown" mode until ltt-statedump is fixed.
index aa85f9e2c4e123560f85cd4c540ca3a7561722c6..9d0ca79328d8e4c51dc9ac3fdcede81af36bebdf 100644 (file)
@@ -23,7 +23,7 @@
 AC_PREREQ(2.57)
 AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
 #AC_WITH_LTDL  # not needed ?
-AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.19-11022006)
+AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.20-15022006)
 AM_CONFIG_HEADER(config.h)
 AM_PROG_LIBTOOL
 
index 03b8afb5d4df0809e324ab16c35a494f16c40fae..e07f7f168ebba9934c839798520c4fb4742ed75a 100644 (file)
@@ -1090,6 +1090,8 @@ gboolean lttvwindow_process_pending_requests(Tab *tab)
 
         } else {
           LttTime pos_time;
+                                       LttvTracefileContext *tfc =
+                                               lttv_traceset_context_get_current_tfc(tsc);
           /* Else, the first request in list_in is a position request */
           /* If first req in list_in pos != current pos */
           g_assert(events_request->start_position != NULL);
@@ -1098,10 +1100,16 @@ gboolean lttvwindow_process_pending_requests(Tab *tab)
                       events_request->start_position).tv_sec,
                  lttv_traceset_context_position_get_time(
                       events_request->start_position).tv_nsec);
-
-          g_debug("SEEK POS context time : %lu, %lu", 
-               lttv_traceset_context_get_current_tfc(tsc)->timestamp.tv_sec,
-               lttv_traceset_context_get_current_tfc(tsc)->timestamp.tv_nsec);
+                                       
+                                       if(tfc) {
+                                               g_debug("SEEK POS context time : %lu, %lu", 
+                                                        tfc->timestamp.tv_sec,
+                                                        tfc->timestamp.tv_nsec);
+                                       } else {
+                                               g_debug("SEEK POS context time : %lu, %lu", 
+                                                        ltt_time_infinite.tv_sec,
+                                                        ltt_time_infinite.tv_nsec);
+                                       }
           g_assert(events_request->start_position != NULL);
           if(lttv_traceset_context_ctx_pos_compare(tsc,
                      events_request->start_position) != 0) {
This page took 0.026879 seconds and 4 git commands to generate.