Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

strange assert failure on today's -current



Hi,

On one of my -current boxes with -current from today pkgin fails as
follows (via ktrust):
....
8831   8831 pkgin    __statvfs190("/var/db/pkgin/cache",
0x7f7fff18a300, 0x1) = 0
  8831   8831 pkgin    __statvfs190("/usr/pkg", 0x7f7fff18a300, 0x1) = 0
  8831   8831 pkgin    ioctl(0x1, TIOCGWINSZ, 0x7f7fff18afb8) = 0
       "%\0\M->\0:\^B\M-<\^A"
  8831   8831 pkgin    ioctl(0x1, TIOCGWINSZ, 0x7f7fff18afb8) = 0
       "%\0\M->\0:\^B\M-<\^A"
  8831   8831 pkgin    ioctl(0x1, TIOCGWINSZ, 0x7f7fff18afb8) = 0
       "%\0\M->\0:\^B\M-<\^A"
  8831   8831 pkgin    ioctl(0x1, TIOCGWINSZ, 0x7f7fff18afb8) = 0
       "%\0\M->\0:\^B\M-<\^A"
  8831   8831 pkgin    ioctl(0x1, TIOCGWINSZ, 0x7f7fff18afb8) = 0
       "%\0\M->\0:\^B\M-<\^A"
  8831   8831 pkgin    __sysctl(0x7f7fff188fd8, 0x2, 0x7f7fff18a760,
0x7f7fff188fd0, 0, 0) = 0
  8831   8831 pkgin    __socket30(0x1, 0x10000002, 0) = 4
  8831   8831 pkgin    connect(0x4, 0x7716ec7a4de0, 0x6a) = 0
  8831   8831 pkgin    sendto(0x4, 0x7f7fff1899c0, 0x95, 0, 0, 0) = 149
       "<15>1 - marge.lorien.lan pkgin - - - assertion "str != NULL"
failed: file "/home/sysbuild/src/lib/libc/string/strdup.c", line 58,
function "_strdup"\n"
  8831   8831 pkgin    close(0x4)                  = 0
  8831   8831 pkgin    SIGSEGV SIG_DFL
.....

Under gdb (perhaps not very useful):
..
(gdb) run upgrade
Starting program: /usr/pkg/bin/pkgin upgrade
[Detaching after vfork from child process 10654]
calculating dependencies...done.

Program received signal SIGSEGV, Segmentation fault.
0x0000795505584870 in strlen () from /usr/lib/libc.so.12
(gdb) bt
#0  0x0000795505584870 in strlen () from /usr/lib/libc.so.12
#1  0x00007955054b17be in strdup () from /usr/lib/libc.so.12
#2  0x000000000040d352 in ?? ()
#3  0x00000000004078b5 in ?? ()
#4  0x0000000000404d27 in ?? ()
#5  0x0000000000405829 in ?? ()
#6  0x0000000000414d71 in ?? ()
#7  0x000000000040413b in ?? ()
#8  0x00007f7fbce0c840 in ?? () from /usr/libexec/ld.elf_so
#9  0x0000000000000002 in ?? ()
#10 0x00007f7ffffdc690 in ?? ()
#11 0x00007f7ffffdc6a3 in ?? ()
#12 0x0000000000000000 in ?? ()
....

I've rebuilt pkgin itself, it doesn't do that on the build host, only
on one which normally receives its packages via pkgin.

Chavdar


-- 
----


Home | Main Index | Thread Index | Old Index