ArcEmu: World.exe Under Vs - ArcEmu

Jump to content

Toggle shoutbox Lastest Announcements

dfighter  : (07 December 2014 - 12:06 PM) Arcemu is in hibernation mode, please read http://arcemu.org/fo...showtopic=26903
dfighter  : (01 January 2013 - 05:56 PM) Arcemu wishes you all a happy new year!
Hasbro  : (12 September 2012 - 10:01 AM) Please excuse our outage from the web! Our web host had a major malfunction!
dfighter  : (01 September 2012 - 04:05 PM) Since the spam bots just don't want to stop, I've enabled admin verification when registering.
dfighter  : (23 January 2012 - 09:56 PM) Please note that from now on you will need to confirm your email on the wiki in order to edit it!
Hasbro  : (31 December 2011 - 12:50 PM) Happy New Years all!
Navid  : (26 December 2011 - 04:09 AM) Merry Christmas !!!!!! Happy holidays all :)
WAmadeus  : (24 December 2011 - 03:54 PM) Merry Christmas to all!
dfighter  : (24 December 2011 - 11:05 AM) The Arcemu team wishes y'all a Merry Christmukkah!
Hasbro  : (05 October 2011 - 12:53 PM) Looking for web designers for upcoming web related project. If you're interested in designing user interfaces contact me
dfighter  : (02 September 2011 - 03:47 PM) So who here wants vehicles in Arcemu? :P http://arcemu.org/fo...showtopic=25440
Hasbro  : (14 August 2011 - 03:25 PM) Join us on irc, grab an irc client and connect to irc.freenode.net join channel #arcemu /server irc.freenode.net:6667 /join #arcemu
jackpoz  : (03 August 2011 - 05:33 AM) to all Lua Engine (old one) users: please check http://arcemu.org/fo...showtopic=25274
Hasbro  : (20 May 2011 - 05:27 PM) Looking for people experienced with CMake configuration and setup! Contact me asap
Hasbro  : (15 May 2011 - 05:03 PM) ArcEmu is recruiting C++ programmers, contact Hasbro if interested.
paroxysm  : (03 May 2011 - 06:26 PM) Updated luabridge gossip example to describe the whole gossip creation process rather than just how to create menu. Gossip tutorial
paroxysm  : (23 April 2011 - 11:35 AM) Lua writers can refer to the Luabridge Tutorials section in the Wiki to learn how to write gossip code correctly.
Hasbro  : (20 April 2011 - 05:22 PM) Thank you for your continuous contribution of bug reports, we are working on them.
Hasbro  : (17 April 2011 - 03:20 AM) Please consider donating to support our bills. Donations can be sent using PayPal to donations@arcemu.org - Thank you for your support.
paroxysm  : (10 April 2011 - 12:43 AM) Refer to the Luabridge Tutorials section in the Wiki to learn the new syntax of luabridge.
Resize Shouts Area

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

World.exe Under Vs

#1 User is offline   Muffler 

  • Interested
  • PipPipPipPip
  • Group: Members
  • Posts: 366
  • Joined: 17-June 08
  • Gender:Male
  • Location:CCCP

Posted 01 October 2011 - 03:11 AM

I try run world under VS 10 and i all time have this crash
Windows 2008 r2 x64

....
[11:08][Arcemu]ObjectMgr: 775 trainers loaded.
[11:08][Arcemu]ObjectMgr: 202085 waypoints cached.
[11:08][Arcemu]ObjectMgr: BCSystem Disabled.
[11:08][Arcemu]Server has crashed. Creating crash dump file CrashDumps\dump-worl
d.exe-4610-2011-10-1-11-8-49-5004.dmp
[11:08][Arcemu]ObjectMgr: 3282 NPC Gossip TextIds loaded.
[11:08][Arcemu]Crash Handler: Advanced crash handler initialized.
[11:08][Arcemu]sql: Waiting for all database queries to finish...
[11:08][Arcemu]QuestMgr: Point Of Interest (POI) data loaded for 37592 quests.
[11:08][Arcemu]sql: All pending database operations cleared.
[11:08][Arcemu]Saving all players to database...
[11:08][Arcemu]Saved 0 players.
[11:08][Arcemu]sql: Data saved.
[11:08][Arcemu]Server: Closing

Stop in this line

c = *p++; /* read char */

> MSVCR100D.dll!strtoxl(localeinfo_struct * plocinfo, const char * nptr, const char * * endptr, int ibase, int flags) Line 100 + 0x3 bytes C++


If run without VS all works and no crash

Wath i make wrong ?

0

#2 User is offline   dfighter 

  • Titles are overrated
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Administrator
  • Posts: 5,189
  • Joined: 14-June 08
  • IRC:dfighter
  • Gender:Male
  • Server OS:Linux

Posted 01 October 2011 - 12:05 PM

http://arcemu.org/fo...showtopic=20147
"The demand for free goods is infinite."
0

#3 User is offline   Muffler 

  • Interested
  • PipPipPipPip
  • Group: Members
  • Posts: 366
  • Joined: 17-June 08
  • Gender:Male
  • Location:CCCP

Posted 02 October 2011 - 03:12 AM

Ok this all wath i see

Posted Image

Uploaded with ImageShack.us

Posted Image

Uploaded with ImageShack.us

0

#4 User is offline   jackpoz 

  • ArcEmu Lemon Priest
  • PipPipPipPipPipPipPipPip
  • Group: Developers
  • Posts: 2,153
  • Joined: 19-June 08
  • Gender:Male
  • Location:Italy
  • Server OS:Windows

Posted 02 October 2011 - 03:55 AM

looking at the callstack, it didn't even load the symbols. Did you set the Working Directory in the Debug preferences of world project to the output dir where binaries are copied by the INSTALL project? (Command should be set to $(TargetFileName) )
Posted Image
Posted Image We develop dreams. Your dreams ;)
Posted ImagePosted Image
0

#5 User is offline   Muffler 

  • Interested
  • PipPipPipPip
  • Group: Members
  • Posts: 366
  • Joined: 17-June 08
  • Gender:Male
  • Location:CCCP

Posted 02 October 2011 - 05:59 AM

Not help :)

i set all wath you say

Posted Image

Uploaded with ImageShack.us

Posted Image

Uploaded with ImageShack.us


Posted Image

Uploaded with ImageShack.us

0

#6 User is offline   jackpoz 

  • ArcEmu Lemon Priest
  • PipPipPipPipPipPipPipPip
  • Group: Developers
  • Posts: 2,153
  • Joined: 19-June 08
  • Gender:Male
  • Location:Italy
  • Server OS:Windows

Posted 02 October 2011 - 08:00 AM

now it's much better, the callstack shows the function names.
Check autos and locals of ObjectMgr::LoadExtraCreatureProtoStuff() (just the callstack isn't enough to debug a crashdump, as specified in the tutorial linked on the wiki or our issue tracker).
could you also post the structure of your ai_agents table or your World Database?
Posted Image We develop dreams. Your dreams ;)
Posted ImagePosted Image
0

#7 User is offline   Muffler 

  • Interested
  • PipPipPipPip
  • Group: Members
  • Posts: 366
  • Joined: 17-June 08
  • Gender:Male
  • Location:CCCP

Posted 03 October 2011 - 12:08 AM

View Postjackpoz, on 02 October 2011 - 08:00 AM, said:

now it's much better, the callstack shows the function names.
Check autos and locals of ObjectMgr::LoadExtraCreatureProtoStuff() (just the callstack isn't enough to debug a crashdump, as specified in the tutorial linked on the wiki or our issue tracker).
could you also post the structure of your ai_agents table or your World Database?


CREATE TABLE `arcemu`.`ai_agents` (
`entry` int(10) unsigned NOT NULL,
`difficulty` tinyint(2) unsigned NOT NULL DEFAULT '0',
`agent_type` tinyint(2) unsigned NOT NULL DEFAULT '2',
`creature_event` tinyint(2) unsigned NOT NULL,
`chance` tinyint(3) unsigned NOT NULL DEFAULT '100',
`maxcount` tinyint(3) unsigned NOT NULL DEFAULT '0',
`spell_id` int(6) unsigned NOT NULL,
`spelltype` tinyint(1) unsigned NOT NULL DEFAULT '0',
`targettype` tinyint(2) unsigned NOT NULL DEFAULT '3',
`interval` int(11) unsigned NOT NULL,
`attributes` varchar(255) DEFAULT NULL,
KEY `entry` (`entry`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

Tnx a lot after clean ai_agents all started
But after entre to world i have crash again

Posted Image

Uploaded with ImageShack.us

0

#8 User is offline   jackpoz 

  • ArcEmu Lemon Priest
  • PipPipPipPipPipPipPipPip
  • Group: Developers
  • Posts: 2,153
  • Joined: 19-June 08
  • Gender:Male
  • Location:Italy
  • Server OS:Windows

Posted 03 October 2011 - 06:02 AM

according to https://sourceforge....d_structure.sql the structure of ai_agent table is
CREATE TABLE `ai_agents` (
  `entry` int(11) unsigned NOT NULL DEFAULT '0',
  `instance_mode` int(10) unsigned NOT NULL DEFAULT '4',
  `type` smallint(5) unsigned NOT NULL DEFAULT '0',
  `event` int(11) unsigned NOT NULL DEFAULT '0',
  `chance` int(11) unsigned NOT NULL DEFAULT '0',
  `maxcount` int(11) unsigned NOT NULL DEFAULT '0',
  `spell` int(11) unsigned NOT NULL DEFAULT '0',
  `spelltype` int(11) unsigned NOT NULL DEFAULT '0',
  `targettype_overwrite` int(11) NOT NULL DEFAULT '-1',
  `cooldown_overwrite` int(11) NOT NULL DEFAULT '-1',
  `floatMisc1` float NOT NULL DEFAULT '0',
  `Misc2` int(11) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`entry`,`spell`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='AI System';

and comparing this to yours it looks like you are missing Misc2, so your world database has a wrong structure. What database are you using? try to reimport it.
Posted Image We develop dreams. Your dreams ;)
Posted ImagePosted Image
0

#9 User is offline   Muffler 

  • Interested
  • PipPipPipPip
  • Group: Members
  • Posts: 366
  • Joined: 17-June 08
  • Gender:Male
  • Location:CCCP

Posted 03 October 2011 - 06:06 AM

Yep i see. Tnx a lot
But some help about second crash ?
Its happen after one char use taxi master for flight to Storm Wind, and now if this char enter to world server crash :(

0

#10 User is offline   jackpoz 

  • ArcEmu Lemon Priest
  • PipPipPipPipPipPipPipPip
  • Group: Developers
  • Posts: 2,153
  • Joined: 19-June 08
  • Gender:Male
  • Location:Italy
  • Server OS:Windows

Posted 03 October 2011 - 06:34 AM

View Postjackpoz, on 03 October 2011 - 06:02 AM, said:

so your world database has a wrong structure

there's no point in trying to fix crashes that are (or may be) caused by your wrong World Database structure. Fix it and only after that report your crashes (and you even keep posting screenshots of jsut the callstack, meaning that you didn't read yet the tutorial about how to properly report a crash dump, since locals and autos are missing).

Edit: even if in that case it's because there's a missing NULL check.
Posted Image We develop dreams. Your dreams ;)
Posted ImagePosted Image
0

#11 User is offline   Muffler 

  • Interested
  • PipPipPipPip
  • Group: Members
  • Posts: 366
  • Joined: 17-June 08
  • Gender:Male
  • Location:CCCP

Posted 03 October 2011 - 01:11 PM

I check my db strukure and all fine. Only ai_agents have wrong structure

0

#12 User is offline   dfighter 

  • Titles are overrated
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Administrator
  • Posts: 5,189
  • Joined: 14-June 08
  • IRC:dfighter
  • Gender:Male
  • Server OS:Linux

Posted 04 October 2011 - 10:50 AM

View PostMuffler, on 03 October 2011 - 12:08 AM, said:

But after entre to world i have crash again

Posted Image


Basically what happens is you have some spawn that has an entry in creature_names, but not creature_proto, and when adding that code I missed a NULL check for whatever reason.
This is my fault, I will commit the fix soon.

Fixed in r4621
"The demand for free goods is infinite."
0

#13 User is offline   Muffler 

  • Interested
  • PipPipPipPip
  • Group: Members
  • Posts: 366
  • Joined: 17-June 08
  • Gender:Male
  • Location:CCCP

Posted 04 October 2011 - 02:22 PM

All works
Tnx

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users