pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/45942: glib 2.30.2 package broken under NetBSD/amd64 5.1_STABLE
>Number: 45942
>Category: pkg
>Synopsis: glib 2.30.2 package broken under NetBSD/amd64 5.1_STABLE
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 07 08:40:00 +0000 2012
>Originator: Matthias Scheler
>Release: NetBSD 5.1_STABLE pkgsrc HEAD of 2012-02-07
>Organization:
Matthias Scheler http://zhadum.org.uk/
>Environment:
System: NetBSD colwyn.zhadum.org.uk 5.1_STABLE NetBSD 5.1_STABLE (COLWYN.64)
#0: Sun Jan 22 01:14:36 GMT 2012
tron%colwyn.zhadum.org.uk@localhost:/src/sys/compile/COLWYN.64 amd64
Architecture: x86_64
Machine: amd64
>Description:
The latest "glib2" package doesn't work properly under NetBSD/amd64 5.1_STABLE.
The "gio-querymodules"program which is run by "pkgsrc/devel/glib2/INSTALL"
crashes with a segmentation fault. Here is a stack trace:
(gdb) where
#0 0x00007f7ffc9069e6 in pollts () from /usr/lib/libpthread.so.0
#1 0x00000000001ec868 in ?? ()
#2 0x00000000000001b6 in ?? ()
#3 0x0000000000000015 in ?? ()
#4 0x0101010101010101 in ?? ()
#5 0x8080808080808080 in ?? ()
#6 0x00007f7ffde03e0d in _rtld_bind () from /usr/libexec/ld.elf_so
#7 0x00007f7ffde03a91 in _rtld_bind_start () from /usr/libexec/ld.elf_so
#8 0x00007f7ffc5035f0 in ?? ()
#9 0x00007f7ffc503000 in ?? ()
#10 0x0000000000000020 in ?? ()
#11 0x00007f7ffc500130 in ?? ()
#12 0x00007f7ffc5035f0 in ?? ()
#13 0x00007f7ffdc8e9a2 in ?? ()
from
/objdir/tron/devel/glib2/work.colwyn/glib-2.30.2/glib/.libs/libglib-2.0.so.0
#14 0x0000000000000a02 in ?? ()
#15 0x00000000000001b6 in ?? ()
#16 0x00007f7ffdc47237 in g_get_current_time (result=0x0) at gmain.c:1967
#17 0x00007f7ffdc35eae in get_tmp_file (
tmpl=0x7f7ffc5035f0 "/usr/pkg/lib/gio/modules/giomodule.cache.T2XS9V",
f=0x7f7ffc906ac0 <open>, flags=2562, mode=438) at gfileutils.c:1232
#18 0x00007f7ffdc36408 in g_file_set_contents (
filename=0x7f7ffc501180 "/usr/pkg/lib/gio/modules/giomodule.cache",
contents=0x7f7ffc5050cc "", length=0, error=0x7f7fffffd298)
at gfileutils.c:894
#19 0x000000000040125d in main (argc=2, argv=<value optimized out>)
at gio-querymodules.c:105
The crash is here:
void
g_get_current_time (GTimeVal *result)
{
#ifndef G_OS_WIN32
struct timeval r;
g_return_if_fail (result != NULL);
/*this is required on alpha, there the timeval structs are int's
not longs and a cast only would fail horribly*/
gettimeofday (&r, NULL); <-----
result->tv_sec = r.tv_sec;
result->tv_usec = r.tv_usec;
#else
[...]
#endif
}
I have no idea who this call to gettimeofday(2) can cause a segmentation fault.
>How-To-Repeat:
cd pkgsrc/devel/glib2
make install
>Fix:
Not known.
Home |
Main Index |
Thread Index |
Old Index