linuxolator problem on i386

Roman Divacky rdivacky at freebsd.org
Tue Sep 18 01:29:39 PDT 2007


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?


More information about the freebsd-emulation mailing list