POL Crash

Report core bugs regarding the Ultima Online Emulator Core release (version 097). You can attach your Core Dump. One bug per post.

Moderator: POL Developer

Locked
User avatar
Tritan
Grandmaster Poster
Posts: 147
Joined: Sat Feb 04, 2006 8:17 am
Location: Illinois, USA

POL Crash

Post by Tritan »

[09/07 02:02:08] Unhandled Exception! Writing Minidump file.
This file with explanation and last lines from log files should be given to the development team.
Saved dump file to 'POL097-2008-09-01 Coregina-20080906170658-0.dmp'
Last Script: pkg/mobiles/brainAI/brain.ecl PC: 1727
Attachments
POL097-2008-09-01 Coregina-20080906170658-0.dmp
(17.4 KiB) Downloaded 354 times
User avatar
Tritan
Grandmaster Poster
Posts: 147
Joined: Sat Feb 04, 2006 8:17 am
Location: Illinois, USA

Re: POL Crash

Post by Tritan »

This same error keeps popping up. I am running the core on a dedicated machine with nothing other the Windows XP Pro SP2 and some fire wall/anti-virus software.

The logs keep saying that the problem is in the brain.ecl but I do not see anything in any of the AI scripts that could be causing this. Any thoughts on what might be the problem? I just checked the server again and it had 20 crashes from this in the last 2 days.
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: POL Crash

Post by Yukiko »

Tritan,

Have you generated a LST file of brain.ecl and taken a look at what's happening at or near Program Counter (PC) 1727?
Maybe posting the section from, say, ten lines above through ten lines below that program counter might help too.
User avatar
Tritan
Grandmaster Poster
Posts: 147
Joined: Sat Feb 04, 2006 8:17 am
Location: Illinois, USA

Re: POL Crash

Post by Tritan »

Here is the list for brainAI.ecl were the crash keeps happening.

Code: Select all

1716: local #0
1717: makelocal
1718: jmp userfunc @1972
1719: !
1720: if false goto 1709
Set_Priority(old_pri);
1721: local #1
1722: Func(3,2): Set_Priority
1723: #
return 1;
1724: 1L
1725: return
pkg/mobiles/brainAI/include/braincore/movement.inc, Line 124
function MovementWander(ev)
1726: pop param 'ev'
Wander();
1727: Func(4,15): Wander
1728: #
SleepMS(3);
1729: 3L
1730: Func(3,4): Sleepms
1731: #
1732: local #0
1733: makelocal
1734: jmp userfunc @1972
1735: !
1736: if false goto 1727
1737: 0L
1738: return
I have looked at this and it appears to a problem with the Wander() in the npc.em file. Any ideas? I am averaging about 4 crashes a day all pointing to this script and the same point.
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Re: POL Crash

Post by MuadDib »

Do me a favor and try RE-running UOConvert to rebuild that realm. It's pointing to an error in the mapserver readings (also try setting map settings in the realm.cfg for that realm to file instead of memory).

Also, is this an ORIGINAL map file and statics files, or is customized in any way?

Also, there appears to be something going on with the npc around X coordinate 1076, but the Y coordinate doesn't seem to be read correctly. Any idea?
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Re: POL Crash

Post by MuadDib »

Please set MiniDumpType=small to be large (all lower), and if it crashes, report THAT dump file. Will give us more detail. thanks
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Re: POL Crash

Post by MuadDib »

Update: if you upgrade to latest 097 fix core released a few days ago, and instead of setting it to Large like I said in previous post, set it to variable

MiniDumpType=variable
Locked