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 : https://git.gnome.org/browse/gnome-system-log/commit/src /logview-manager.c?id=ad9153b8bcd8a2556d7a1f5fcca890680c4677de Patch file: >From ad9153b8bcd8a2556d7a1f5fcca890680c4677de Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi <[email protected]> Date: Thu, 11 Apr 2013 21:25:20 +0000 Subject: manager: add some safety NULL-checks https://bugzilla.gnome.org/show_bug.cgi?id=697790 --- (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 ** Bug watch added: GNOME Bug Tracker #697790 https://bugzilla.gnome.org/show_bug.cgi?id=697790 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-utils in Ubuntu. https://bugs.launchpad.net/bugs/486380 Title: gnome-system-log assert failure: gnome-system-log:ERROR:logview- log.c:910:logview_log_get_uri: assertion failed: (LOGVIEW_IS_LOG (log)) Status in gnome-utils - GNOME Desktop Utilities: New Status in “gnome-utils” package in Ubuntu: Triaged 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 ProcEnviron: SHELL=/bin/bash PATH=(custom, user) LANG=sv_SE.UTF-8 ProcVersionSignature: Ubuntu 2.6.31-15.50-generic Signal: 6 SourcePackage: gnome-utils StacktraceTop: *__GI_raise (sig=<value optimized out>) *__GI_abort () at abort.c:92 g_assertion_message () from /lib/libglib-2.0.so.0 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 To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-utils/+bug/486380/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

