Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2007 10:21:19 +0200
From:      Roman Divacky <rdivacky@freebsd.org>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        freebsd-emulation@freebsd.org, sam <samflanker@gmail.com>
Subject:   Re: linuxolator problem on i386
Message-ID:  <20070918082119.GA30932@freebsd.org>
In-Reply-To: <88000019@srv.sem.ipt.ru>
References:  <20070916171044.GA89893@freebsd.org> <66582704@bs1.sp34.ru> <20070916205434.GA70997@freebsd.org> <20070917152625.GA507@freebsd.org> <64815375@srv.sem.ipt.ru> <46EF62C5.5090704@gmail.com> <00483937@srv.sem.ipt.ru> <46EF7E05.5040405@gmail.com> <20070918074332.GA30053@freebsd.org> <88000019@srv.sem.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 18, 2007 at 12:10:20PM +0400, Boris Samorodov wrote:
> On Tue, 18 Sep 2007 09:43:32 +0200 Roman Divacky wrote:
> 
> 
> > sorry for my brainfarted patch I posted last...
> 
> We are eager for testing your patches. Give us more, MORE... ;-)
> 
> > try this one: www.vlakno.cz/~rdivacky/linux_bsamX.patch
> 
> :-( The same:
> -----
>   1076 hlds_i686 NAMI  "/usr/home/bsam/hlds_l/./cstrike/sound/weapons/reload1.wav"
>   1076 hlds_i686 RET   linux_stat64 JUSTRETURN
>   1076 hlds_i686 CALL  linux_open(0xbfbece08,0x18800,0xbfbecd34)
>   1076 hlds_i686 NAMI  "/compat/linux/usr/home/bsam/hlds_l/./cstrike/sound/weapons"
>   1076 hlds_i686 NAMI  "/usr/home/bsam/hlds_l/./cstrike/sound/weapons"
>   1076 hlds_i686 RET   linux_open 6
>   1076 hlds_i686 CALL  linux_fstat64(0x6,0xbfbecd34,0x281f0ff4)
>   1076 hlds_i686 RET   linux_fstat64 0
>   1076 hlds_i686 CALL  linux_fcntl64(0x6,0x2,0x1)
>   1076 hlds_i686 RET   linux_fcntl64 0
>   1076 hlds_i686 CALL  linux_getdents(0x6,0x8da5334,0x1000)
>   1076 hlds_i686 RET   linux_getdents 4096/0x1000
>   1076 hlds_i686 CALL  linux_getdents(0x6,0x8da5334,0x1000)
>   1076 hlds_i686 RET   linux_getdents 444/0x1bc
>   1076 hlds_i686 CALL  linux_getdents(0x6,0x8da5334,0x1000)
>   1076 hlds_i686 RET   linux_getdents 0
>   1076 hlds_i686 CALL  linux_open(0x281d6f05,0x902,0)
>   1076 hlds_i686 NAMI  "/compat/linux/dev/tty"
>   1076 hlds_i686 NAMI  "/dev/tty"
>   1076 hlds_i686 RET   linux_open 7
>   1076 hlds_i686 CALL  writev(0x7,0xbfbec6b0,0x7)
>   1076 hlds_i686 GIO   fd 7 wrote 86 bytes
>        "*** glibc detected *** ./hlds_i686: double free or corruption (!prev):\
>          0x08da5318 ***

so.. to restate facts...

1) the program works ok with fc4 but not with fc6

2) when the directory is moved it works ok

3) when my bad patch made getdents() return error the program works ok

is all of this true?



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