Page 1 of 1

Shopmenu crashes War3FT Version 3RC10

Posted: Mon Apr 14, 2008 4:51 pm
by pswarl0k
Everything else appears to be working, XP is saving (using SQLite), but whenever someone types /shopmenu it crashes the server.

Console says:

Segmentation fault (core dumped)
Cannot access memory at address 0xb7f726d0
Cannot access memory at address 0xbfef531c
/var/www/hlservers/hlds/debug.cmds:3: Error in sourced command file:
Cannot access memory at address 0xb7f726d0
email debug.log to [email protected]
Mon Apr 14 15:48:36 MST 2008: Server restart in 10 seconds

Debug.log says:

----------------------------------------------
CRASH: Mon Apr 14 15:48:49 MST 2008
Start Line: ./hlds_i686 -game dod +ip 208.77.221.189 +map dod_avalanche +maxplayers 16 -debug -pidfile hlds.26378.pid
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
#0 0x00000000 in ?? ()
No symbol table info available.
End of crash report
----------------------------------------------

Nothing in wc3_error.log other than mapchanges.
Nothing in L2008*.log other than me becoming an admin.

--- Please enter the following information for support ---
War3ft Version: 3.0 RC10

Amxmodx Version:
amxx version
AMX Mod X 1.8.0.3660 (http://www.amxmodx.org)
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
Borja "faluco" Ferrer, Scott "Damaged Soul" Ehlert
Compiled: Oct 25 2007, 22:03:37
Core mode: JIT+ASM32


Metamod Version:
Metamod v1.19 2006-04-17 (5:13)
by Will Day <[email protected]>
http://www.metamod.org/
compiled: Apr 17 2006, 19:08:34 +0200 (optimized)


amxx list:
amxx list
Currently loaded plugins:
name version author file status
[ 1] AmxBans Admin Base 1.76 AMXX Dev Team admin_amxbans.a running
[ 2] AMXBans 5.0 YoMama/Lux & lan amxbans.amxx running
[ 3] Admin Commands 1.8.0.3660 AMXX Dev Team admincmd.amxx running
[ 4] Admin Help 1.8.0.3660 AMXX Dev Team adminhelp.amxx running
[ 5] Slots Reservation 1.8.0.3660 AMXX Dev Team adminslots.amxx running
[ 6] Menus Front-End 1.8.0.3660 AMXX Dev Team menufront.amxx running
[ 7] Commands Menu 1.8.0.3660 AMXX Dev Team cmdmenu.amxx running
[ 8] Players Menu 1.8.0.3660 AMXX Dev Team plmenu.amxx running
[ 9] Maps Menu 1.8.0.3660 AMXX Dev Team mapsmenu.amxx running
[ 10] Admin Chat 1.8.0.3660 AMXX Dev Team adminchat.amxx running
[ 11] Anti Flood 1.8.0.3660 AMXX Dev Team antiflood.amxx running
[ 12] Scrolling Message 1.8.0.3660 AMXX Dev Team scrollmsg.amxx running
[ 13] Info. Messages 1.8.0.3660 AMXX Dev Team imessage.amxx running
[ 14] Admin Votes 1.8.0.3660 AMXX Dev Team adminvote.amxx running
[ 15] NextMap 1.8.0.3660 AMXX Dev Team nextmap.amxx running
[ 16] Nextmap Chooser 1.8.0.3660 AMXX Dev Team mapchooser.amxx running
[ 17] TimeLeft 1.8.0.3660 AMXX Dev Team timeleft.amxx running
[ 18] Pause Plugins 1.8.0.3660 AMXX Dev Team pausecfg.amxx running
[ 19] Stats Configuration 1.8.0.3660 AMXX Dev Team statscfg.amxx running
[ 20] DoD Stats 1.8.0.3660 AMXX Dev Team stats.amxx running
[ 21] DoD Sounds Precache 1.8.0.3660 AMXX Dev Team statssounds.amx running
[ 22] Stats Logging 1.8.0.3660 AMXX Dev Team stats_logging.a running
[ 23] Warcraft 3 Frozen Thro 3.0 RC10 Geesu & Avanderi war3ft.amxx running
23 plugins, 23 running

amxx modules:
amxx modules
Currently loaded modules:
name version author status
[ 1] Fun 1.8.0.3660 AMX Mod X Dev Team running
[ 2] DoD Fun 1.8.0.3660 AMX Mod X Dev Team running
[ 3] DoDX 1.8.0.3660 AMX Mod X Dev Team running
[ 4] MySQL 1.8.0.3660 AMX Mod X Dev Team running
[ 5] SQLite 1.8.0.3660 AMX Mod X Dev Team running
[ 6] Engine 1.8.0.3660 AMX Mod X Dev Team running
[ 7] FakeMeta 1.8.0.3660 AMX Mod X Dev Team running
7 modules, 7 correct

meta list:
meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.8.0.3 ini Start ANY
[ 2] Fun RUN - fun_amxx_i386.so v1.8.0.3 pl1 ANY ANY
[ 3] DoD Fun RUN - dodfun_amxx_i386 v1.8.0.3 pl1 ANY ANY
[ 4] DoDX RUN - dodx_amxx_i386.s v1.8.0.3 pl1 ANY ANY
[ 5] MySQL RUN - mysql_amxx_i386. v1.8.0.3 pl1 ANY ANY
[ 6] SQLite RUN - sqlite_amxx_i386 v1.8.0.3 pl1 ANY ANY
[ 7] Engine RUN - engine_amxx_i386 v1.8.0.3 pl1 ANY ANY
[ 8] FakeMeta RUN - fakemeta_amxx_i3 v1.8.0.3 pl1 ANY ANY
8 plugins, 8 running

Posted: Tue Apr 15, 2008 10:12 am
by Geesu
Does it ever actually appear (the menu)?

Posted: Sun Apr 20, 2008 9:30 am
by pswarl0k
No the menu never shows up. The second you type it in and hit enter the server crashes.

Going to try upgrading to a nightly build of amxmodx and see if that fixes it up.

Posted: Sun Apr 20, 2008 9:41 am
by pswarl0k
Upgraded to the latest nightly build of amxmodx and no dice.

Posted: Sun Apr 20, 2008 10:26 pm
by pswarl0k
Also, tried disabling everything except what is explicitly required to run war3ft, and it still crashes whenever someone types in /shopmenu.

(This includes disabling admin access, stats, etc)

Posted: Mon Apr 21, 2008 8:57 am
by pswarl0k
Nope. This server was completely rolled by hand, by me. I own the machine it runs on. I followed the documents at amxmodx's site to install amxmodx.

It should be noted this is a DoD server, not CS (though some may have guessed that already from the plugins loadout..).

However I think your suggestion is valid, so I'll be installing a brand-new server tonight and installing everything by hand. Just to see if something in my current hlds setup is causing the server to hork.

Posted: Tue Apr 22, 2008 9:12 am
by Geesu
Does it work if you type shopmenu into the console?

Posted: Wed Apr 23, 2008 8:08 am
by pswarl0k
Geesu wrote:Does it work if you type shopmenu into the console?
Nope, still crashes. Is there some sort of debugger for war3ft, or amxx?

Posted: Wed Apr 23, 2008 10:44 am
by YamiKaitou
Currently no. I can attempt to see if sawce or Bail will create a binlogging binary for 1.8, but that is about all we can do.


I do have 1 clarification question though. Is this server a Steam server or a No-Steam server?

Posted: Wed Apr 23, 2008 12:37 pm
by Geesu
Yea binary logging would point to the problem IMMEDIATELY - as we'd see the last line of code which caused the crash

Posted: Wed Apr 23, 2008 8:35 pm
by YamiKaitou
Feature Request for binlogging binary of 1.8.0: http://bugs.alliedmods.net/index.php?do ... sk_id=1639

Posted: Wed Apr 23, 2008 8:47 pm
by YamiKaitou
pswarl0k: Please follow what Bail said in his last comment in this bug report ( http://bugs.alliedmods.net/index.php?do ... sk_id=1639 )

Posted: Fri May 02, 2008 9:06 am
by pswarl0k
I will perform the requested action tonight and put the files on my webserver.

Thanks!

Posted: Thu May 15, 2008 9:56 am
by IKIP
Did u ever get a fix on this? I'm running a dod server and using RC11 with same problem.

Posted: Thu May 15, 2008 11:08 am
by YamiKaitou
I don't have DoD, so I can not confirm this or attempt to debug it.

Posted: Fri May 23, 2008 8:16 am
by Geesu
Try the attached amxx file - then post back the war3ft error log - I basically just inserted debug code so you could let me know where it dies.

Thanks!!

Posted: Thu Jun 12, 2008 6:46 pm
by YamiKaitou
Geesu, using rev 536, I get this when I typed shopmenu

L 06/12/2008 - 19:44:30: [war3ft.amxx] MENU_Shopmenu 1

Posted: Fri Jun 13, 2008 6:11 am
by YamiKaitou
Please try SVN rev 537. Geesu had it calling a CS function for DoD.

Posted: Fri Jun 13, 2008 2:05 pm
by Geesu
YamiKaitou wrote:Please try SVN rev 537. Geesu had it calling a CS function for DoD.
== i is smart

Posted: Fri Jun 13, 2008 8:54 pm
by YamiKaitou
Strange, the web svn thingy isn't showing rev 537, but the svn:// is. Just in case you can't download it from the svn, I have attached it here.