Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2007 17:06:58 +0300
From:      sam <samflanker@gmail.com>
To:        Roman Divacky <rdivacky@freebsd.org>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: kern/117010
Message-ID:  <47613C82.80805@gmail.com>
In-Reply-To: <20071210221811.GA51616@freebsd.org>
References:  <4756EBED.6050109@gmail.com> <20071208110538.GA44709@freebsd.org> <475A808D.40005@gmail.com> <20071208113531.GA45695@freebsd.org> <475A887D.20604@gmail.com> <475D6C26.8050204@gmail.com> <20071210221811.GA51616@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Roman Divacky wrote:
> no offence meant but... kdump is not useful much. please provide me
> tar of a dir that exihibits the behavior + source code + makefile.
>
> ie. all I have to do is "make" and then some debugging. I really dont
> have the time (and in fact, these days, motivation) to do something
> more...
>   
source http://cs.udmvt.ru/files/temp/linux_getdents.c.txt
kdump http://cs.udmvt.ru/files/temp/ktrace.out.dump.txt

source compiled on Debian Etch 4.0
# cc linux_getdents.c -o linux_getdents_dynamic

try run on FreeBSD 8.0-CURRENT, linux_base-fc6
# linux_getdents_dynamic ./temp

program crashed on syscall closedir()

...

  1948 linux_getdents_dyna RET   write 1
  1948 linux_getdents_dyna CALL  write(0x1,0x28064000,0xb)
  1948 linux_getdents_dyna GIO   fd 1 wrote 11 bytes
       "Closing...
       "
  1948 linux_getdents_dyna RET   write 11/0xb
  1948 linux_getdents_dyna CALL  linux_open(0x2818af05,0x902,0x28057129)
  1948 linux_getdents_dyna NAMI  "/compat/linux/dev/tty"
  1948 linux_getdents_dyna NAMI  "/dev/tty"
  1948 linux_getdents_dyna RET   linux_open 6
  1948 linux_getdents_dyna CALL  writev(0x6,0xbfbfe5b0,0x7)
  1948 linux_getdents_dyna GIO   fd 6 wrote 99 bytes
       "*** glibc detected *** ./linux_getdents_dynamic: double free or corrup\
	tion (!prev): 0x0804a008 ***
       "
  1948 linux_getdents_dyna RET   writev 99/0x63
  1948 linux_getdents_dyna CALL  linux_open(0x28060d49,0,0)
  1948 linux_getdents_dyna NAMI  "/compat/linux/etc/ld.so.cache"

  1948 linux_getdents_dyna NAMI  "/compat/linux"

...

/Vladimir Ermakov




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47613C82.80805>