linuxolator problem on i386

sam samflanker at gmail.com
Thu Aug 23 10:13:24 PDT 2007


# uname -a
FreeBSD localhost 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Thu Aug 23 
15:51:18 SAMST 2007     root at localhost:/usr/obj/usr/src/sys/CS2  i386

# pkg_info|grep linux
linux_base-fc6-6_2  Base set of packages needed in Linux mode (for 
i386/amd64)

# mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1d on /tmp (ufs, local, soft-updates)
/dev/ad0s1e on /usr (ufs, local, soft-updates)
/dev/ad0s1f on /var (ufs, local, soft-updates)
linsysfs on /usr/compat/linux/sys (linsysfs, local)
linprocfs on /usr/compat/linux/proc (linprocfs, local)

# kldstat
Id Refs Address    Size     Name
 1   14 0xc0400000 3e6458   kernel
 2    1 0xc07e7000 69514    acpi.ko
 6    1 0xc3eba000 3000     linsysfs.ko
 7    2 0xc3ebd000 21000    linux.ko
 8    1 0xc445f000 7000     linprocfs.ko

# sysctl compat
compat.linux.oss_version: 198144
compat.linux.osrelease: 2.6.16
compat.linux.osname: Linux


*******************************************************************
]# su -l hlds -c "cd /home/hlds/1.6 && ./hlds_run -binary ./hlds_i486 
-game cstrike +port 27015 +map de_piranesi +maxplayers 20 -nojoy 
-heapsize 256000 -pingboost 3 -pidfile hlds.pid"
Auto-restarting the server on crash

Console initialized.
scandir failed:/usr/home/hlds/1.6/./platform/SAVE
Protocol version 47
Exe version 1.1.2.5/Stdio (cstrike)
Exe build: 16:14:38 Oct 24 2006 (3651)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 81.176.175.14:27015

   Metamod version 1.19  Copyright (c) 2001-2006 Will Day 
<willday at metamod.org>
   Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
   This is free software, and you are welcome to redistribute it
   under certain conditions; type `meta gpl' for details.


   AMX Mod X version 1.76 Copyright (c) 2004-2006 AMX Mod X Development Team
   AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
   This is free software and you are welcome to redistribute it under
   certain conditions; type 'amxx gpl' for details.

scandir failed:/usr/home/hlds/1.6/./platform/SAVE
L 08/23/2007 - 22:04:13: -------- Mapchange to de_piranesi --------
L 08/23/2007 - 22:04:14: Nextmap Chooser: maps.ini succesfully loaded.
*** glibc detected *** ./hlds_i486: double free or corruption (!prev): 
0x090c3bc8 ***
======= Backtrace: =========
/lib/libc.so.6[0x2811a2ee]
/lib/libc.so.6(cfree+0x90)[0x2811d9b0]
/lib/libc.so.6(closedir+0x28)[0x2813e068]
/lib/libc.so.6(scandir+0x14b)[0x2813e58b]
/usr/home/hlds/1.6/filesystem_stdio_i386.so(findFileInDirCaseInsensitive__FPCc+0xe4)[0x28af61d8]
/usr/home/hlds/1.6/filesystem_stdio_i386.so(FS_stat__17CFileSystem_StdioPCcP4stat+0x40)[0x28afa61c]
/usr/home/hlds/1.6/filesystem_stdio_i386.so(FastFindFileSize__15CBaseFileSystemPCQ215CBaseFileSystem11CSearchPathPCc+0x17e)[0x28af772a]
/usr/home/hlds/1.6/filesystem_stdio_i386.so(Size__15CBaseFileSystemPCc+0x5b)[0x28af757b]
/usr/home/hlds/1.6/engine_i486.so(FS_FileSize+0x2d)[0x282857bd]
/usr/home/hlds/1.6/engine_i486.so(SV_CreateResourceList+0x179)[0x282c25f9]
/usr/home/hlds/1.6/engine_i486.so(SV_ActivateServer+0x235)[0x282c34a5]
/usr/home/hlds/1.6/engine_i486.so(Host_Map+0xff)[0x2828fcff]
/usr/home/hlds/1.6/engine_i486.so(Host_Map_f+0x37a)[0x282901ca]
/usr/home/hlds/1.6/engine_i486.so(Cmd_ExecuteString+0x7f)[0x28274a6f]
/usr/home/hlds/1.6/engine_i486.so(Cbuf_Execute+0x103)[0x28273b93]
/usr/home/hlds/1.6/engine_i486.so(Host_InitializeGameDLL+0x42)[0x2828e592]
/usr/home/hlds/1.6/engine_i486.so(Sys_InitGame__FPcT0Pvi+0x18d)[0x282b439d]
/usr/home/hlds/1.6/engine_i486.so(Load__7CEnginebPcT2+0x50)[0x282b6d00]
/usr/home/hlds/1.6/engine_i486.so(Init__19CDedicatedServerAPIPcT1PFPCcPi_P14IBaseInterfaceT3+0x12a)[0x282b491a]
./hlds_i486(vfprintf+0x343)[0x804ab37]
./hlds_i486(vfprintf+0xb08)[0x804b2fc]
./hlds_i486(_start+0x3a)[0x804a88a]
======= Memory map: ========
08048000-08054000 r-xp 0003a000 00:00 1931337     
/usr/home/hlds/1.6/hlds_i486
08054000-0805b000 rw-p 0003a000 00:00 1931337     
/usr/home/hlds/1.6/hlds_i486
0805b000-0805f000 rw-p 01081000 00:00 0
0805f000-090dc000 rwxp 01081000 00:00 0
28054000-2806d000 r-xp 0001e000 00:00 1719473     
/usr/compat/linux/lib/ld-2.5.so
2806d000-2806e000 r-xp 0001e000 00:00 1719473     
/usr/compat/linux/lib/ld-2.5.so
2806e000-2806f000 rw-p 00002000 00:00 0
2806f000-28070000 rwxp 00002000 00:00 0
28071000-28073000 r-xp 00004000 00:00 1719486     
/usr/compat/linux/lib/libdl-2.5.so
28073000-28074000 r-xp 00004000 00:00 1719486     
/usr/compat/linux/lib/libdl-2.5.so
28074000-28075000 rwxp 00004000 00:00 1719486     
/usr/compat/linux/lib/libdl-2.5.so
28075000-28076000 rwxp 00001000 00:00 0
28076000-28088000 r-xp 0001e000 00:00 1719504     
/usr/compat/linux/lib/libpthread-2.5.so
28088000-28089000 r-xp 0001e000 00:00 1719504     
/usr/compat/linux/lib/libpthread-2.5.so
28089000-2808a000 rwxp 0001e000 00:00 1719504     /usr/compat/linuxAbort 
trap (core dumped)
Add "-debug" to the ./hlds_run command line to generate a debug.log to 
help with solving this problem
Thu Aug 23 22:04:23 SAMST 2007: Server restart in 10 seconds
Thu Aug 23 22:04:31 SAMST 2007: Server Quit


any solutions (no problem on 6.2-STABLE & linux_base-fc4)?


More information about the freebsd-emulation mailing list