> On Fri, Nov 16, 2007 at 12:05:17PM +0100, Jonas Häggqvist wrote:
>> During my attempt to do so, I couldn't reproduce the problem with the
>> packages built with debug symbols. After reinstalling the regular
>> packages, I can no longer reproduce. I don't know what to blame, but
>> this bug should be closed at any rate.
>
> The best bugs are the bugs that go away by themselves! :-) Thanks, closing.
Unfortunately, it came back. I have a backtrace now:
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "arm-linux-gnu"...Using host libthread_db library
"/lib/libthread_db.so.1".
(gdb) set pagination 0
(gdb) run -d all -F
Starting program: /usr/sbin/rpc.mountd -d all -F
mountd: MNT3(/mnt/wd) called
Program received signal SIGSEGV, Segmentation fault.
0x400b2e4c in memcpy () from /lib/libc.so.6
(gdb) bt full
#0 0x400b2e4c in memcpy () from /lib/libc.so.6
No symbol table info available.
#1 0x0000e7d8 in hostent_dup (hp=0x4015a9bc) at hostname.c:152
len_ent = <value optimized out>
num_aliases = <value optimized out>
len_aliases = <value optimized out>
num_addr_list = 2
len_addr_list = <value optimized out>
pos = 44
i = <value optimized out>
sp = <value optimized out>
cp = (struct hostent *) 0x2a6a0
#2 0x0000e828 in get_reliable_hostbyaddr (addr=0x24cec "ˬ\001#", len=<value
optimized out>,
type=<value optimized out>) at hostname.c:241
hp = (struct hostent *) 0x24cec
reverse = (struct hostent *) 0x2a6c4
forward = (struct hostent *) 0xbe8a46b0
sp = <value optimized out>
#3 0x0000b96c in auth_authenticate (what=0x0, caller=0x24ce8, path=0xbe8a359f
"/mnt/wd") at auth.c:153
exp = <value optimized out>
epath = "/mnt/wd", '\0' <repeats 4089 times>
p = <value optimized out>
hp = <value optimized out>
addr = {s_addr = 0}
error = <value optimized out>
#4 0x0000a460 in get_rootfh (rqstp=<value optimized out>, path=<value
optimized out>,
error=0xbe8a46b0, v3=1) at mountd.c:384
sin = (struct sockaddr_in *) 0x24ce8
stb = {st_dev = 0, __pad1 = 0, __st_ino = 1074071904, st_mode =
1073848320, st_nlink = 1, st_uid =
36572, st_gid = 148, st_rdev = 36636, __pad2 = 38460, st_size = 35434894908,
st_blksize = 13416,
st_blocks = 7491700436, st_atim = {tv_sec = 151064, tv_nsec = -1098234156},
st_mtim = {tv_sec =
1024, tv_nsec = 1074939704}, st_ctim = {tv_sec = 151064, tv_nsec = 1}, st_ino =
648816014540212}
estb = {st_dev = 13958764120, __pad1 = 41736, __st_ino = 1, st_mode =
0, st_nlink = 1, st_uid = 0,
st_gid = 76, st_rdev = 4612203527626817536, __pad2 = 54528, st_size = 1,
st_blksize = 0, st_blocks =
0, st_atim = {tv_sec = 0, tv_nsec = 0}, st_mtim = {tv_sec = 0, tv_nsec = 0},
st_ctim = {tv_sec = 0,
tv_nsec = 0}, st_ino = 0}
exp = (nfs_export *) 0xbe8a46b0
rpath = "/mnt/wd", '\0' <repeats 738 times>,
"[EMAIL PROTECTED]@[EMAIL PROTECTED],\033}\f:[EMAIL PROTECTED]@",
'\0' <repeats 16 times>,
"[EMAIL PROTECTED]@[EMAIL PROTECTED],\216\000\000([EMAIL PROTECTED]@",
'\0' <repeats 12 times>,
"[EMAIL PROTECTED]@\2149\212¾\000\000\000\000([EMAIL PROTECTED]@[EMAIL
PROTECTED]@[EMAIL PROTECTED]"...
p = 0xbe8a359f "/mnt/wd"
#5 0x0000a784 in mount_mnt_3_svc (rqstp=0xbe8a4bc4, path=0xbe8a46d4,
res=0xbe8a46b0) at mountd.c:349
fh = <value optimized out>
flavors = {0, 1, 390003, 390004, 390005}
#6 0x000120f4 in rpc_dispatch (rqstp=0xbe8a4bc4, transp=0x24cd8, dtable=<value
optimized out>,
nvers=<value optimized out>, argp=0xbe8a46d4, resp=0xbe8a46b0) at
rpcdispatch.c:55
dent = (struct rpc_dentry *) 0x1e5b4
#7 0x0000b86c in mount_dispatch (rqstp=0xbe8a4bc4, transp=0x295ef00) at
mount_dispatch.c:83
argument = {dirpath = 0x24668 "/mnt/wd"}
result = {fstatus = {fhs_status = 0, fhstatus_u = {fhs_fhandle = '\0'
<repeats 16 times>,
"\224K\212¾ L\212¾\000\004\000\000\000\000\000"}}, mountlist = 0x0, exports =
0x0}
#8 0x401215ec in svc_getreq_common () from /lib/libc.so.6
No symbol table info available.
#9 0x40121630 in svc_getreqset () from /lib/libc.so.6
No symbol table info available.
#10 0x0000d2b0 in my_svc_run () at svc_run.c:90
readfds = {fds_bits = {512, 0 <repeats 31 times>}}
selret = 1
#11 0x0000b548 in main (argc=<value optimized out>, argv=<value optimized out>)
at mountd.c:722
fd = 123680
export_file = 0x4001ce14 ""
state_dir = 0xbe8a4d8c ""
foreground = 1
port = 35628
descriptors = 0
c = <value optimized out>
sa = {__sigaction_handler = {sa_handler = 0xa290 <sig_hup>,
sa_sigaction = 0xa290 <sig_hup>},
sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 0, sa_restorer =
0x40052ac0
<nis_clone_result+96660>}
rlim = {rlim_cur = 1024, rlim_max = 1024}
--
Jonas Häggqvist
rasher(at)rasher(dot)dk
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]