View Single Post
taansari
Member
Join Date: Nov 2011
Old 12-30-2011 , 13:46   Re: My plugin does not load in linux
Reply With Quote #11

For the record, posting more info:

I run Half Life I server with following command:

sudo ./hlds_run -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27016

Which throws following log on console:

Auto detecting CPU
Using Pentium II Optimised binary.
Enabling debug mode
Auto-restarting the server on crash
Could not locate steam binary:./steam, ignoring.

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(10)/version(5408)
scandir failed:/home/taha/Users/taha/VALVe/HLServer/cstrike/SAVE
scandir failed:/home/taha/Users/taha/VALVe/HLServer/cstrike/./valve/SAVE
scandir failed:/home/taha/Users/taha/VALVe/HLServer/cstrike/./platform/SAVE
Console initialized.
Base networking initialized.
"sv_cheats" changed to "1"
Initializing deltas
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 22:54:48 Aug 15 2011 (5408)
40.0 Mb heap
STEAM Auth Server
execing valve.rc
execing language.cfg
execing autoexec.cfg
execing violence.cfg
Server IP address 127.0.1.1:27016

Adding: cstrike/addons/metamod/dlls/metamod_i386.so

Metamod version 1.19 Copyright (c) 2001-2006 Will Day <[email protected]>
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.

Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20111230161132_1.dmp
success = yes
response: CrashID=bp-4bb0aa2b-b5ff-48ee-96db-559012111230

Segmentation fault (core dumped)
BFD: Warning: /home/taha/Users/taha/VALVe/HLServer/cstrike/core is truncated: expected core file size >= 78344192, found: 1196032.
Failed to read a valid object file image from memory.
email debug.log to [email protected]
Fri Dec 30 16:11:34 PKT 2011: Server restart in 10 seconds
Could not locate steam binary:./steam, ignoring.

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(10)/version(5408)
scandir failed:/home/taha/Users/taha/VALVe/HLServer/cstrike/SAVE
scandir failed:/home/taha/Users/taha/VALVe/HLServer/cstrike/./valve/SAVE
scandir failed:/home/taha/Users/taha/VALVe/HLServer/cstrike/./platform/SAVE
Console initialized.
Base networking initialized.
"sv_cheats" changed to "1"
Initializing deltas
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 22:54:48 Aug 15 2011 (5408)
40.0 Mb heap
STEAM Auth Server
execing valve.rc
execing language.cfg
execing autoexec.cfg
execing violence.cfg
Server IP address 127.0.1.1:27016

Adding: cstrike/addons/metamod/dlls/metamod_i386.so

Metamod version 1.19 Copyright (c) 2001-2006 Will Day <[email protected]>
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.

Dll loaded for mod Counter-Strike
execing server.cfg
"sv_aim" changed to "0"
"pausable" changed to "0"
"mp_timelimit" changed to "20"
"sv_cheats" changed to "0"
couldn't exec listip.cfg
couldn't exec banned.cfg
scandir failed:/home/taha/Users/taha/VALVe/HLServer/cstrike/SAVE
scandir failed:/home/taha/Users/taha/VALVe/HLServer/cstrike/./valve/SAVE
scandir failed:/home/taha/Users/taha/VALVe/HLServer/cstrike/./platform/SAVE
Spawn Server de_dust
Clearing memory
Using WAD File: halflife.wad
Using WAD File: decals.wad
Using WAD File: cs_dust.wad
Texture load: 180.8ms
Building PAS...
Average leaves visible / audible / total: 139 / 403 / 1298
"sv_maxspeed" changed to "900"
Cvar_Set: variable room_type not found

GAME SKILL LEVEL:1
Cvar_Set: variable cl_himodels not found
Cvar_Set: variable v_dark not found
0 entities inhibited
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
"sv_region" changed to "255"
"sv_accelerate" changed to "5"
"sv_stopspeed" changed to "75"
20 player server started

Could not establish connection to Steam servers.
Reconnected to Steam servers.
VAC secure mode is activated.

----------x-----------x-----------x-----------x-----------x-----------x-----------x-
After typing following command:

meta list

Gives us:

Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] stub badf load antiaim_mm_i386. v - ini - -
1 plugins, 0 running

----------x-----------x-----------x-----------x-----------x-----------x-----------x-

Debug.log is as follows:

----------------------------------------------
CRASH: Thu Dec 22 11:24:57 PKT 2011
Start Line: ./hlds_i686 -game cstrike -autoupdate +maxplayers 20 +map de_aztec
----------------------------------------------
CRASH: Thu Dec 22 11:27:10 PKT 2011
Start Line: ./hlds_i686 -game cstrike -autoupdate +maxplayers 20 +map de_aztec
----------------------------------------------
CRASH: Thu Dec 22 11:27:20 PKT 2011
Start Line: ./hlds_i686 -game cstrike -autoupdate +maxplayers 20 +map de_aztec
----------------------------------------------
CRASH: Thu Dec 22 11:36:21 PKT 2011
Start Line: ./hlds_i686 -game cstrike
End of crash report
----------------------------------------------
----------------------------------------------
CRASH: Thu Dec 22 19:00:53 PKT 2011
Start Line: ./hlds_i686 -game cstrike +map de_dust2 +maxplayers 18
End of crash report
----------------------------------------------
----------------------------------------------
CRASH: Thu Dec 22 19:01:01 PKT 2011
Start Line: ./hlds_i686 -game cstrike
End of crash report
----------------------------------------------
----------------------------------------------
CRASH: Thu Dec 22 19:01:03 PKT 2011
Start Line: ./hlds_i686 -game cstrike +map de_dust2 +maxplayers 18
End of crash report
----------------------------------------------
----------------------------------------------
CRASH: Mon Dec 26 16:57:20 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -autoupdate +maxplayers 20 -port 27017
----------------------------------------------
CRASH: Mon Dec 26 17:00:24 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -autoupdate +maxplayers 20 -port 27015
----------------------------------------------
CRASH: Mon Dec 26 17:07:10 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -autoupdate +maxplayers 20 -port 27017
----------------------------------------------
CRASH: Mon Dec 26 17:47:02 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -autoupdate +maxplayers 20 -port 27016
----------------------------------------------
CRASH: Mon Dec 26 18:34:47 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -autoupdate +maxplayers 20 -port 27016
----------------------------------------------
CRASH: Tue Dec 27 11:43:22 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -autoupdate +maxplayers 20 -port 27016
----------------------------------------------
CRASH: Tue Dec 27 14:35:02 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -autoupdate +maxplayers 20 -port 27016
----------------------------------------------
CRASH: Tue Dec 27 16:02:13 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -autoupdate +maxplayers 20 -port 27016
----------------------------------------------
CRASH: Tue Dec 27 16:10:50 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -autoupdate +maxplayers 20 -port 27016
----------------------------------------------
CRASH: Tue Dec 27 17:13:30 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -autoupdate +maxplayers 20 -port 27016
----------------------------------------------
CRASH: Tue Dec 27 17:48:51 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -autoupdate +maxplayers 20 -port 27016
----------------------------------------------
CRASH: Wed Dec 28 14:38:44 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -autoupdate +maxplayers 20 -port 27016
----------------------------------------------
CRASH: Wed Dec 28 14:39:54 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -autoupdate +maxplayers 20 -port 27016
----------------------------------------------
CRASH: Wed Dec 28 14:49:22 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -autoupdate +maxplayers 20 -port 27016
----------------------------------------------
CRASH: Wed Dec 28 15:09:20 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -autoupdate +maxplayers 20 -port 27016
----------------------------------------------
CRASH: Fri Dec 30 15:20:54 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27016 -pidfile hlds.26369.pid
[New LWP 26384]
Core was generated by `./hlds_i686 -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27016 -p'.
Program terminated with signal 11, Segmentation fault.
#0 0x002b4b32 in ?? ()
#0 0x002b4b32 in ?? ()
No symbol table info available.
No shared libraries loaded at this time.
Stack level 0, frame at 0xbfcd5ef4:
eip = 0x2b4b32; saved eip End of crash report
----------------------------------------------
----------------------------------------------
CRASH: Fri Dec 30 15:21:15 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27016 -pidfile hlds.26369.pid
[New LWP 26394]
Core was generated by `./hlds_i686 -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27016 -p'.
Program terminated with signal 11, Segmentation fault.
#0 0x0026587d in ?? ()
#0 0x0026587d in ?? ()
No symbol table info available.
No shared libraries loaded at this time.
Stack level 0, frame at 0x44dbc0:
eip = 0x26587d; saved eip End of crash report
----------------------------------------------
----------------------------------------------
CRASH: Fri Dec 30 15:21:54 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27016 -pidfile hlds.26480.pid
[New LWP 26495]
Core was generated by `./hlds_i686 -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27016 -p'.
Program terminated with signal 11, Segmentation fault.
#0 0x00a49b14 in ?? ()
#0 0x00a49b14 in ?? ()
No symbol table info available.
No shared libraries loaded at this time.
Stack level 0, frame at 0xbfba9f44:
eip = 0xa49b14; saved eip End of crash report
----------------------------------------------
----------------------------------------------
CRASH: Fri Dec 30 15:25:14 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27015 -pidfile hlds.26616.pid
[New LWP 26631]
Core was generated by `./hlds_i686 -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27015 -p'.
Program terminated with signal 11, Segmentation fault.
#0 0x00171b14 in ?? ()
#0 0x00171b14 in ?? ()
No symbol table info available.
No shared libraries loaded at this time.
Stack level 0, frame at 0xbf858a84:
eip = 0x171b14; saved eip End of crash report
----------------------------------------------
----------------------------------------------
CRASH: Fri Dec 30 15:27:41 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27016 -pidfile hlds.26769.pid
[New LWP 26784]
Core was generated by `./hlds_i686 -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27016 -p'.
Program terminated with signal 11, Segmentation fault.
#0 0x0046d9fe in ?? ()
#0 0x0046d9fe in ?? ()
#1 0x003b4400 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
No symbol table info available.
No shared libraries loaded at this time.
Stack level 0, frame at 0x3b4358:
eip = 0x46d9fe; saved eip 0x3b4400
called by frame at 0x3b3c08
Arglist at 0x3b4350, args:
Locals at 0x3b4350, Previous frame's sp is 0x3b4358
Saved registers:
eip at 0x3b4354
End of crash report
----------------------------------------------
----------------------------------------------
CRASH: Fri Dec 30 16:00:17 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27016 -pidfile hlds.27378.pid
[New LWP 27393]
Core was generated by `./hlds_i686 -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27016 -p'.
Program terminated with signal 11, Segmentation fault.
#0 0x0033b87d in ?? ()
#0 0x0033b87d in ?? ()
No symbol table info available.
No shared libraries loaded at this time.
Stack level 0, frame at 0x920bc0:
eip = 0x33b87d; saved eip End of crash report
----------------------------------------------
----------------------------------------------
CRASH: Fri Dec 30 16:00:40 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27016 -pidfile hlds.27378.pid
[New LWP 27404]
Core was generated by `./hlds_i686 -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27016 -p'.
Program terminated with signal 11, Segmentation fault.
#0 0x004d27ea in ?? ()
#0 0x004d27ea in ?? ()
No symbol table info available.
No shared libraries loaded at this time.
Stack level 0, frame at 0xbfdfc4b8:
eip = 0x4d27ea; saved eip End of crash report
----------------------------------------------
----------------------------------------------
CRASH: Fri Dec 30 16:11:34 PKT 2011
Start Line: ./hlds_i686 -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27016 -pidfile hlds.1933.pid
[New LWP 1948]
Core was generated by `./hlds_i686 -game cstrike -dev -debug -autoupdate +maxplayers 20 -port 27016 -p'.
Program terminated with signal 11, Segmentation fault.
#0 0x00208b32 in ?? ()
#0 0x00208b32 in ?? ()
Backtrace stopped: Not enough registers or memory available to unwind further
No symbol table info available.
No shared libraries loaded at this time.
Stack level 0, frame at 0x0:
eip = 0x208b32; saved eip 0x208b32
Outermost frame: Not enough registers or memory available to unwind further
Arglist at unknown address.
Locals at unknown address, Previous frame's sp in esp
End of crash report
----------------------------------------------

Total choas. smile. Guidance anyone, please?
taansari is offline