gnome-system-log assert failure: gnome-system-log:ERROR:logview-log.c:910:logview_log_get_uri: assertion failed: (LOGVIEW_IS_LOG (log))

Bug #486380 reported by Daniel Hermansson on 2009-11-21
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-utils (Ubuntu)
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-utils

to reproduce crash:
close all files in gnome-system-log fast one by one

ProblemType: Crash
Architecture: amd64
AssertionMessage: gnome-system-log:ERROR:logview-log.c:910:logview_log_get_uri: assertion failed: (LOGVIEW_IS_LOG (log))
CrashCounter: 1
Date: Sat Nov 21 18:23:10 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/gnome-system-log
Package: gnome-utils 2.28.1-0ubuntu1
ProcCmdline: gnome-system-log --sync
 PATH=(custom, user)
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
Signal: 6
SourcePackage: gnome-utils
 *__GI_raise (sig=<value optimized out>)
 *__GI_abort () at abort.c:92
 g_assertion_message () from /lib/
 g_assertion_message_expr ()
 ?? ()
Title: gnome-system-log assert failure: gnome-system-log:ERROR:logview-log.c:910:logview_log_get_uri: assertion failed: (LOGVIEW_IS_LOG (log))
Uname: Linux 2.6.31-15-generic x86_64
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse kvm libvirtd lpadmin netdev plugdev sambashare scanner tape vboxusers video

Daniel Hermansson (daniel.h) wrote :

StacktraceTop:*__GI_raise (sig=<value optimized out>)
*__GI_abort () at abort.c:92
g_assertion_message () from /lib/
g_assertion_message_expr ()
logview_log_get_uri (log=0x7f96880012c0)

Changed in gnome-utils (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Pedro Villavicencio (pedro) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at:

visibility: private → public
Changed in gnome-utils (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
status: New → Triaged
Changed in gnome-utils:
importance: Unknown → Critical
status: Unknown → New
Artem Kuskis (artem-kuskis) wrote :

This bug stay in Centos 6.4 and Ubuntu 12.10 ... found this bug yesterday, fix it on my home pc, and today found that Cosimo Cecchi did it in April but current versions of gnome-system-log are old.

Bug: When you press Ctrl+W and there is no log file selected in the right list widget...

Patch info :

Patch file:

From ad9153b8bcd8a2556d7a1f5fcca890680c4677de Mon Sep 17 00:00:00 2001
From: Cosimo Cecchi <email address hidden>
Date: Thu, 11 Apr 2013 21:25:20 +0000
Subject: manager: add some safety NULL-checks
(limited to 'src/logview-manager.c')

diff --git a/src/logview-manager.c b/src/logview-manager.c
index 29dcba9..b948bfa 100644
--- a/src/logview-manager.c
+++ b/src/logview-manager.c
@@ -398,6 +398,10 @@ logview_manager_close_active_log (LogviewManager *manager)
   g_assert (LOGVIEW_IS_MANAGER (manager));

   active_log = manager->priv->active_log;
+ if (active_log == NULL) {
+ return;
+ }
   log_uri = logview_log_get_uri (active_log);
   file = logview_log_get_gfile (active_log);

cgit v0.9.2

Artem Kuskis (artem-kuskis) wrote :

PS: not right.. left widget with file names

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.