Shopmenu crashes War3FT Version 3RC10

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Post Reply
pswarl0k
Peon
Posts: 7
Joined: Mon Apr 14, 2008 4:42 pm

Shopmenu crashes War3FT Version 3RC10

Post by pswarl0k » Mon Apr 14, 2008 4:51 pm

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

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Tue Apr 15, 2008 10:12 am

Does it ever actually appear (the menu)?
No Support via PM

pswarl0k
Peon
Posts: 7
Joined: Mon Apr 14, 2008 4:42 pm

Post by pswarl0k » Sun Apr 20, 2008 9:30 am

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.

pswarl0k
Peon
Posts: 7
Joined: Mon Apr 14, 2008 4:42 pm

Post by pswarl0k » Sun Apr 20, 2008 9:41 am

Upgraded to the latest nightly build of amxmodx and no dice.

pswarl0k
Peon
Posts: 7
Joined: Mon Apr 14, 2008 4:42 pm

Post by pswarl0k » Sun Apr 20, 2008 10:26 pm

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)

pswarl0k
Peon
Posts: 7
Joined: Mon Apr 14, 2008 4:42 pm

Post by pswarl0k » Mon Apr 21, 2008 8:57 am

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.

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Tue Apr 22, 2008 9:12 am

Does it work if you type shopmenu into the console?
No Support via PM

pswarl0k
Peon
Posts: 7
Joined: Mon Apr 14, 2008 4:42 pm

Post by pswarl0k » Wed Apr 23, 2008 8:08 am

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?

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Wed Apr 23, 2008 10:44 am

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?
Image

No support via PM or Email

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Wed Apr 23, 2008 12:37 pm

Yea binary logging would point to the problem IMMEDIATELY - as we'd see the last line of code which caused the crash
No Support via PM

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Wed Apr 23, 2008 8:35 pm

Feature Request for binlogging binary of 1.8.0: http://bugs.alliedmods.net/index.php?do ... sk_id=1639
Image

No support via PM or Email

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Wed Apr 23, 2008 8:47 pm

pswarl0k: Please follow what Bail said in his last comment in this bug report ( http://bugs.alliedmods.net/index.php?do ... sk_id=1639 )
Image

No support via PM or Email

pswarl0k
Peon
Posts: 7
Joined: Mon Apr 14, 2008 4:42 pm

Post by pswarl0k » Fri May 02, 2008 9:06 am

I will perform the requested action tonight and put the files on my webserver.

Thanks!

User avatar
IKIP
Peon
Posts: 17
Joined: Sat Sep 08, 2007 8:33 am
Location: USA
Contact:

Post by IKIP » Thu May 15, 2008 9:56 am

Did u ever get a fix on this? I'm running a dod server and using RC11 with same problem.
[IKIP] IKumInPeaceKlan.....WeKumInPeace

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Thu May 15, 2008 11:08 am

I don't have DoD, so I can not confirm this or attempt to debug it.
Image

No support via PM or Email

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Fri May 23, 2008 8:16 am

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!!
Attachments
war3ft.amxx
(259.79 KiB) Downloaded 444 times
No Support via PM

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Thu Jun 12, 2008 6:46 pm

Geesu, using rev 536, I get this when I typed shopmenu

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

No support via PM or Email

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Fri Jun 13, 2008 6:11 am

Please try SVN rev 537. Geesu had it calling a CS function for DoD.
Image

No support via PM or Email

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Fri Jun 13, 2008 2:05 pm

YamiKaitou wrote:Please try SVN rev 537. Geesu had it calling a CS function for DoD.
== i is smart
No Support via PM

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Fri Jun 13, 2008 8:54 pm

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.
Attachments
war3ft.zip
Rev 537
(514.57 KiB) Downloaded 389 times
Image

No support via PM or Email

Post Reply