pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/38518: GLib-CRITICAL assertion from Nautilus
>Number: 38518
>Category: pkg
>Synopsis: GLib-CRITICAL assertion from Nautilus
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 26 20:40:00 +0000 2008
>Originator: Jared D. McNeill
>Release: NetBSD 4.99.60
>Organization:
>Environment:
System: NetBSD black.invisible.ca 4.99.60 NetBSD 4.99.60 (GENERIC) #59: Thu Apr
24 17:37:18 EDT 2008
jmcneill%black.invisible.ca@localhost:/export/home/jmcneill/branches/HEAD/src/sys/arch/amd64/compile/GENERIC
amd64
Architecture: x86_64
Machine: amd64
>Description:
Launching Nautilus causes the following message to be printed:
(nautilus:543): GLib-CRITICAL **: g_once_init_leave: assertion
`initialization_value != 0' failed
Looking in the source code for glib2-2.16.3, in the file
gio/glocalfile.c and function _g_local_file_has_trash_dir(), we see:
if (g_once_init_enter (&home_dev))
{
gsize setup_value = 0;
struct stat home_stat;
g_stat (g_get_home_dir (), &home_stat);
setup_value = home_stat.st_dev;
g_once_init_leave (&home_dev, setup_value);
}
g_once_init_leave triggers this assertion if the second arg
(`initialization_value') is 0, and a stat of a file on the root
directory on NetBSD will result in st_dev being 0.
>How-To-Repeat:
Start Nautilus, code inspection.
>Fix:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index