From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 23 17:13:24 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26A3816A418 for ; Thu, 23 Aug 2007 17:13:24 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id A17FA13C458 for ; Thu, 23 Aug 2007 17:13:23 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so499516nfb for ; Thu, 23 Aug 2007 10:13:22 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=LSO8swC1IVStZey0AKvBqdTv98L+zBPLWV2T6xoYxitCFBAD2dxkyjZIUlM2T32PBFp+3cewqyXPTZ9dZVp9Yw58SM5GdKuCumcKsfMlOwURE01IfwJUcqanr2zA+En67TkSOZ4xFJS2SXyhzTcOrKmT9sMwDzKvpwrk64iq29M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=HPwvKcV62WO6Ld3MeY0iX2gpO7nrqjC4egOaTEkTqm63jd4h+ovXVSHR9YLq656qej3yPuQNwMP/rGkzB8cpF2N1iHxnD0yfkTXkg8HTkhJ1KJqBUVgupazEH62O0v43TwoFxfsY9BcC/8Vlfd6NElQAwlKIWjBm3ydao/RDtl4= Received: by 10.86.74.15 with SMTP id w15mr1506048fga.1187889202617; Thu, 23 Aug 2007 10:13:22 -0700 (PDT) Received: from ?192.168.1.185? ( [213.152.137.35]) by mx.google.com with ESMTPS id f19sm4014067fka.2007.08.23.10.13.19 (version=SSLv3 cipher=RC4-MD5); Thu, 23 Aug 2007 10:13:19 -0700 (PDT) Message-ID: <46CDC02F.3060504@gmail.com> Date: Thu, 23 Aug 2007 21:13:19 +0400 From: sam User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <46CB0EBF.9000601@gmail.com> <200708220136.20703.pieter@degoeje.nl> <20070822081020.GA16860@freebsd.org> <46CBF03C.4060301@gmail.com> <20070822102906.GB1181@turion.vk2pj.dyndns.org> <46CC123A.3090406@moneybookers.com> <46CDA27F.1080501@gmail.com> In-Reply-To: <46CDA27F.1080501@gmail.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: linuxolator problem on i386 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2007 17:13:24 -0000 # uname -a FreeBSD localhost 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Thu Aug 23 15:51:18 SAMST 2007 root@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 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)?