Page 1 of 1

Filedumps... Core updated 04-11-2014

Posted: Tue Nov 25, 2014 1:54 am
by Harley
Hello again...
So guys, another dump and bugs with core. When I use my /boat/ (expand it, or give some commands), client (7.0.3.0 patch 33) hangs and sometimes POL crushes.
What we have:

Code: Select all

[11/24 19:29:26] 
##########################################################
Current StackBackTrace
(function-name not available) - 0x14020ca24
  (filename not available)
(function-name not available) - 0x140200c4f
  (filename not available)
(function-name not available) - 0x1402008b3
  (filename not available)
UnhandledExceptionFilter - 0x7fffa1a6ce8a
  (filename not available)
memset - 0x7fffa4631137
  (filename not available)
_C_specific_handler - 0x7fffa461340f
  (filename not available)
_chkstk - 0x7fffa462431d
  (filename not available)
RtlRaiseException - 0x7fffa45e3057
  (filename not available)
KiUserExceptionDispatcher - 0x7fffa46234de
  (filename not available)
(function-name not available) - 0x1401c50f2
  (filename not available)
(function-name not available) - 0x1401c4ab8
  (filename not available)
(function-name not available) - 0x140152b98
  (filename not available)
(function-name not available) - 0x1401c2a77
  (filename not available)
(function-name not available) - 0x1401c9713
  (filename not available)
(function-name not available) - 0x1401c2f58
  (filename not available)
(function-name not available) - 0x14009f265
  (filename not available)
(function-name not available) - 0x1400a1f05
  (filename not available)
(function-name not available) - 0x14006d65b
  (filename not available)
(function-name not available) - 0x1401ff632
  (filename not available)
(function-name not available) - 0x1401ff8bd
  (filename not available)
(function-name not available) - 0x14023829b
  (filename not available)
(function-name not available) - 0x140238442
  (filename not available)
BaseThreadInitThunk - 0x7fffa26516ad
  (filename not available)
RtlUserThreadStart - 0x7fffa45e4409
  (filename not available)
##########################################################
[11/24 19:29:26] ##########################################################
Unhandled Exception! Writing Minidump file. 
Post this file with explanation and last lines from log files on http://forums.polserver.com/tracker.php for the development team.
Saved dump file to 'POL099-2013-09-03 Break Everything Even Rudder-20141123224253-0.dmp'

Last Script: pkg/player/possess/multi/boat/boat.ecl PC: 323
##########################################################
This occurs when using some "left, right, forward, etc." commands, and after client hangs...
1boat.png

Re: Filedumps... Core updated 04-11-2014

Posted: Thu Nov 27, 2014 2:25 am
by Harley
Nobody can't help me?

Re: Filedumps... Core updated 04-11-2014

Posted: Thu Nov 27, 2014 8:51 am
by Turley
The dmp file is senseless if you compiled by your self. The exact git revision is required and at least the pdb files generated during you build.
This weekend I could try to reproduce it.

Re: Filedumps... Core updated 04-11-2014

Posted: Tue Dec 02, 2014 5:24 am
by Harley
Turley, can u tell me anything about core revision?

Re: Filedumps... Core updated 04-11-2014

Posted: Wed Dec 03, 2014 5:57 am
by Harley
And another one... Guys, what did u done with core?)

Code: Select all

[12/03 15:08:08] 
##########################################################
Current StackBackTrace
(function-name not available) - 0x14020ca24
  (filename not available)
(function-name not available) - 0x140200c4f
  (filename not available)
(function-name not available) - 0x1402008b3
  (filename not available)
UnhandledExceptionFilter - 0x7fffa1a6ce8a
  (filename not available)
memset - 0x7fffa4631137
  (filename not available)
_C_specific_handler - 0x7fffa461340f
  (filename not available)
_chkstk - 0x7fffa462431d
  (filename not available)
RtlRaiseException - 0x7fffa45e3057
  (filename not available)
KiUserExceptionDispatcher - 0x7fffa46234de
  (filename not available)
(function-name not available) - 0x14014157e
  (filename not available)
(function-name not available) - 0x14013fa90
  (filename not available)
(function-name not available) - 0x14004b39d
  (filename not available)
(function-name not available) - 0x1401ff632
  (filename not available)
(function-name not available) - 0x1401ff8bd
  (filename not available)
(function-name not available) - 0x14023829b
  (filename not available)
(function-name not available) - 0x140238442
  (filename not available)
BaseThreadInitThunk - 0x7fffa26516ad
  (filename not available)
RtlUserThreadStart - 0x7fffa45e4409
  (filename not available)
##########################################################
[12/03 15:08:08] ##########################################################
Unhandled Exception! Writing Minidump file. 
Post this file with explanation and last lines from log files on http://forums.polserver.com/tracker.php for the development team.
Saved dump file to 'POL099-2013-09-03 Break Everything Even Rudder-20141129181345-0.dmp'

Last Script: pkg/www/UOGStatus/packethook.ecl PC: 8
##########################################################
The similar situation...
http://forums.polserver.com/viewtopic.p ... tus#p21692

Re: Filedumps... Core updated 04-11-2014

Posted: Wed Dec 03, 2014 7:05 am
by RusseL
Harley wrote:And another one... Guys, what did u done with core?)
they completely rewrite the core, just for fun, without testing it >_<
it will be never stable again.

Re: Filedumps... Core updated 04-11-2014

Posted: Wed Dec 03, 2014 10:29 am
by Harley
RusseL wrote:
Harley wrote:And another one... Guys, what did u done with core?)
they completely rewrite the core, just for fun, without testing it >_<
it will be never stable again.
RusseL, tell me please, what core you use?

Re: Filedumps... Core updated 04-11-2014

Posted: Thu Dec 04, 2014 5:08 am
by RusseL
Harley wrote: RusseL, tell me please, what core you use?
my own custom kernel, based on official svn revision ~550

Re: Filedumps... Core updated 04-11-2014

Posted: Thu Dec 04, 2014 7:33 am
by Harley
RusseL wrote:
Harley wrote: RusseL, tell me please, what core you use?
my own custom kernel, based on official svn revision ~550
Can u help me with core? Can u upload in private message? Because we have really problems with it now..(((
And nobody helps me...

Re: Filedumps... Core updated 04-11-2014

Posted: Thu Dec 04, 2014 3:59 pm
by RusseL
Harley wrote: Can u help me with core? Can u upload in private message? Because we have really problems with it now..(((
And nobody helps me...
it wouldnt help you.
I have so many changes there, so half of your scripts wouldnt work with my core - many functions have another parameters, names etc. And no docs for it :D

but it's pretty stable... 50 days uptime, sysload < 10%
just take some revision from svn and apply patches that you need.

Re: Filedumps... Core updated 04-11-2014

Posted: Thu Dec 04, 2014 5:14 pm
by Harley
RusseL wrote:
Harley wrote: Can u help me with core? Can u upload in private message? Because we have really problems with it now..(((
And nobody helps me...
it wouldnt help you.
I have so many changes there, so half of your scripts wouldnt work with my core - many functions have another parameters, names etc. And no docs for it :D

but it's pretty stable... 50 days uptime, sysload < 10%
just take some revision from svn and apply patches that you need.
Give me please instructions how to use it all. And apply some patches, what I need.

Re: Filedumps... Core updated 04-11-2014

Posted: Thu Dec 04, 2014 10:04 pm
by Turley
I could not reproduce your crash, the easiest thing is if you zip your compilation folder, pol should be enough, and upload it somewhere.
And some general comments: we rewrite not for fun we do it to fix bugs, improve speed, memory usage. Pol has a very old codebase so many things have to be rewritten. On the shard I work for we always try to keep the core up to date to test and use the new features. No current problems found. But since every shard has its own script base which behaves completely different there can of cause still be bugs.
And nice to know how some people here define community and open source...

Re: Filedumps... Core updated 04-11-2014

Posted: Fri Dec 05, 2014 1:18 am
by RusseL
Turley wrote:we rewrite not for fun we do it to fix bugs, improve speed, memory usage. Pol has a very old codebase so many things have to be rewritten. On the shard I work for we always try to keep the core up to date to test and use the new features. No current problems found. But since every shard has its own script base which behaves completely different there can of cause still be bugs.
And nice to know how some people here define community and open source...
:) didn't knew that pol devs have shards too. But you know, pol is very very unstable now, it's just impossible to use it live atm... i do my best to report about new crashes everytime ;)

I think, POL must be entered into 'testing' phase as soon as possible. Without any big changes, only for bug and crash fixes... I hope you will make it soon. Because its just unusable, and impossible to trace those 'mega-commits' everyday and get server working stable for many peoples of our community :)

Re: Filedumps... Core updated 04-11-2014

Posted: Mon Dec 08, 2014 12:11 pm
by Harley
So... I have made core compilation and compared 2 cores (Distro and last revision https://github.com/polserver/polserver 2 hours ago).
What I have: With newer core - the same problem with boats link at screenshot.
With old core - boat works wonderful, but still the problem with '.locked'.

So, what suggestions from the developers?

Re: Filedumps... Core updated 04-11-2014

Posted: Mon Dec 08, 2014 1:27 pm
by Harley
Another dump! I tryied to connect from else client (4.0.11c) and UOGStatus packet hook maked me .dmp

Code: Select all

##########################################################
Current StackBackTrace
StackWalker::ShowCallstack - 0x14022bac4
  j:\not_games\!pol compiller\polserver-master\lib\stackwalker\stackwalker.cpp : 1047
Pol::Clib::HiddenMiniDumper::print_backtrace - 0x14021ffcf
  j:\not_games\!pol compiller\polserver-master\pol-core\clib\mdump.cpp : 267
Pol::Clib::HiddenMiniDumper::TopLevelFilter - 0x14021fc33
  j:\not_games\!pol compiller\polserver-master\pol-core\clib\mdump.cpp : 183
UnhandledExceptionFilter - 0x7ffbd4dbce8a
  (filename not available)
memset - 0x7ffbd76a1137
  (filename not available)
_C_specific_handler - 0x7ffbd768340f
  (filename not available)
_chkstk - 0x7ffbd769431d
  (filename not available)
RtlRaiseException - 0x7ffbd7653057
  (filename not available)
KiUserExceptionDispatcher - 0x7ffbd76934de
  (filename not available)
Pol::Network::CallOutgoingPacketExportedFunction - 0x14015bf2e
  j:\not_games\!pol compiller\polserver-master\pol-core\pol\network\packethooks.cpp : 213
Pol::Network::Client::transmit - 0x140154fa0
  j:\not_games\!pol compiller\polserver-master\pol-core\pol\network\clientio.cpp : 209
Pol::Network::ClientTransmitThread - 0x14005136d
  j:\not_games\!pol compiller\polserver-master\pol-core\pol\network\clienttransmit.cpp : 65
Pol::threadhelp::run_thread - 0x14021e9b2
  j:\not_games\!pol compiller\polserver-master\pol-core\clib\threadhelp.cpp : 227
Pol::threadhelp::thread_stub2 - 0x14021ec3d
  j:\not_games\!pol compiller\polserver-master\pol-core\clib\threadhelp.cpp : 287
_callthreadstartex - 0x14025721b
  f:\dd\vctools\crt\crtw32\startup\threadex.c : 376
_threadstartex - 0x1402573c2
  f:\dd\vctools\crt\crtw32\startup\threadex.c : 354
BaseThreadInitThunk - 0x7ffbd74616ad
  (filename not available)
RtlUserThreadStart - 0x7ffbd7654409
  (filename not available)
##########################################################
[12/08 23:24:00] ##########################################################
Unhandled Exception! Writing Minidump file. 
Post this file with explanation and last lines from log files on http://forums.polserver.com/tracker.php for the development team.
Saved dump file to 'POL099-2013-09-03 Break Everything Even Rudder-20141208232240-0.dmp'

Last Script: pkg/www/UOGStatus/packethook.ecl PC: 8
##########################################################
And this is from pol-core\pol\Release\x64
https://www.sendspace.com/file/fip4zh

Re: Filedumps... Core updated 04-11-2014

Posted: Tue Dec 09, 2014 12:31 am
by Nando
Just to be clear for those who read afterwards: there are three bugs described in here.

1) Crash with his boat script (which was apparently fixed by using the newest core from github)
2) New boat packet for 7.0.0.0-7.0.9.0 (pre-HSA) had a typo and was generating the wrong packet size. The client didn't expect the wrong size and crashed. (Fixed on commit 4a99af3932)
3) His UOG packethook is crashing (which I don't know why yet).

As a remark for the future, it would be helpful to describe ALL the symptoms that you get and your steps before that crash. Otherwise, it's really hard for us to imagine what could be causing it. ;)

If you're interested in learning what makes good bug reports: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

Re: Filedumps... Core updated 04-11-2014

Posted: Tue Dec 09, 2014 8:59 am
by Harley
Thank u guys for fixing boats! Now they are work!