[OLSR-users] CVS ipkg updated (minus dyn_gw)

John Gorkos (spam-protected)
Sat Feb 26 04:17:18 CET 2005


Strace is attached.  Hope it tells you something, it told me nothing.




On Friday 25 February 2005 03:33 pm, Andreas T√łnnesen wrote:
> John,
>
> Cool :)
> Regarding the segfault it's not reproduceable on the x86 version.
> You are 100% sure you cleaned all object files before compiling?
> the dependency checking in plugin makefiles is pretty much none-existent
> and there has been a lot of changes, mostly restructuring, in plugin
> code recently.
> If you did a clean build we should try to trace the segfault. Is there
> any debuggin tools available for the WRT system(gdb or stuff like
> strace)?
>
> - Andreas
>
> John Gorkos wrote:
> > OLSR'ers -
> >
> >   Just put another MIPS (wrt54g) ipkg up on my package server of today's
> > snapshot, for those of you that like to live on the bleeding edge.
> > http://www.wildcatwireless.net/wrt54g/olsrd_0.4.9-cvs-wrt2_mipsel.ipk
> >
> >
> > Andreas:  I'm getting this when I try to load the dyn_gw:
> >
> > ---------- Plugin loader ----------
> > Library: olsrd_dyn_gw.so.0.3
> > Segmentation fault
> >
> > This is both stripped and unstripped.  Let me know if I need to dig
> > deeper.  I know, this is the price for living on the bleeding edge.  It's
> > not going into production today (not until Monday, anyway... :)
> >
> > John Gorkos
> > _______________________________________________
> > olsr-users mailing list
> > (spam-protected)
> > https://www.olsr.org/mailman/listinfo/olsr-users
-------------- next part --------------
execve("/bin/olsrd", ["olsrd", "-f", "/etc/olsrd.conf", "-d"], [/* 7 vars */]) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x2aaa8000
readlink("/lib/ld-uClibc.so.0", "/rom/lib/ld-uClibc.so.0", 1024) = 23
open("/rom/lib/libm.so.0", O_RDONLY)    = 3
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x2aaa9000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\20\23"..., 4096) = 4096
old_mmap(NULL, 335872, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab06000
old_mmap(0x2ab06000, 70308, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab06000
old_mmap(0x2ab57000, 972, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11000) = 0x2ab57000
close(3)                                = 0
munmap(0x2aaa9000, 4096)                = 0
open("/rom/lib/libdl.so.0", O_RDONLY)   = 3
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x2aaa9000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\20\t\0"..., 4096) = 4096
old_mmap(NULL, 270336, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab58000
old_mmap(0x2ab58000, 6372, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab58000
old_mmap(0x2ab99000, 2456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x2ab99000
close(3)                                = 0
munmap(0x2aaa9000, 4096)                = 0
open("/rom/lib/libc.so.0", O_RDONLY)    = 3
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x2aaa9000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0`\264\0"..., 4096) = 4096
old_mmap(NULL, 712704, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab9a000
old_mmap(0x2ab9a000, 404100, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab9a000
old_mmap(0x2ac3c000, 7144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x62000) = 0x2ac3c000
old_mmap(0x2ac3e000, 38840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ac3e000
close(3)                                = 0
munmap(0x2aaa9000, 4096)                = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, 0x7fff7878)          = -1 ENOTTY (Inappropriate ioctl for device)
getuid()                                = 0
getgid()                                = 0
times({tms_utime=1, tms_stime=2, tms_cutime=0, tms_cstime=0}) = 2941692
write(1, "\n *** ", 6
 *** )                  = 6
write(1, "olsr.org - 0.4.9-pre", 20olsr.org - 0.4.9-pre)    = 20
write(1, " ***\n Build date: ", 18 ***
 Build date: )     = 18
write(1, "Feb 25 2005", 11Feb 25 2005)             = 11
write(1, "\n http://www.olsr.org\n\n", 23
 http://www.olsr.org

) = 23
getpid()                                = 2620
stat("/etc/olsrd.conf", {st_mode=S_IFREG|0644, st_size=5065, ...}) = 0
brk(0x10007a90)                         = 0x10007a90
brk(0x10008000)                         = 0x10008000
write(1, "Parsing file: \"", 15Parsing file: ")        = 15
write(1, "/etc/olsrd.conf", 15/etc/olsrd.conf)         = 15
write(1, "\"\n", 2"
)                     = 2
open("/etc/olsrd.conf", O_RDONLY)       = 3
ioctl(3, TIOCNXCL, 0x7fff6c70)          = -1 EINVAL (Invalid argument)
brk(0x1000c000)                         = 0x1000c000
ioctl(3, TIOCNXCL, 0x7fff66e0)          = -1 EINVAL (Invalid argument)
read(3, "#\n# olsr.org OLSR daemon config "..., 8192) = 5065
read(3, "", 4096)                       = 0
write(1, "setting ifs_in_curr_cfg = 0", 27setting ifs_in_curr_cfg = 0) = 27
write(1, "\n", 1
)                       = 1
ioctl(3, TIOCNXCL, 0x7fff66b0)          = -1 EINVAL (Invalid argument)
close(3)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


More information about the Olsr-users mailing list