another one pol lag

Bug reports and feature requests. New features can only be added to the current development version. Bug-fixes may be back-ported.

Current release: 099 / Current development: 100
Post Reply
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

another one pol lag

Post by RusseL »

Code: Select all

[11/18 22:40:13] Client#857 connected from 188.73.162.31 (31 connections) on interface 82.193.149.52
Client#856 (188.73.162.31): disconnected (account impulse1)
[11/18 22:40:14] Account impulse1 logged in from 188.73.162.31
[11/18 22:40:34] sysload=6 (0) cputime=0
*Thread Info*
Semaphore PID: 27823
  ("kill -SIGUSR2 27823" to output backtrace)
Scripts Thread Checkpoint: 112
Last Script: pkg/systems/attack/hitsequence.ecl PC: 1458
Escript Instruction Cycles: 4123378653
Tasks Thread Checkpoint: 1
Active Client Thread Checkpoint: 116
Current Threads:
Child threads (child_threads): 43
Registered threads (ThreadMap): 0
*Thread Info*
Semaphore PID: 27823
  ("kill -SIGUSR2 27823" to output backtrace)
Scripts Thread Checkpoint: 112
Last Script: pkg/systems/attack/hitsequence.ecl PC: 1458
Escript Instruction Cycles: 4123378653
Tasks Thread Checkpoint: 1
Active Client Thread Checkpoint: 116
Current Threads:
Child threads (child_threads): 43
Registered threads (ThreadMap): 0
*Thread Info*
Semaphore PID: 27823
  ("kill -SIGUSR2 27823" to output backtrace)
Scripts Thread Checkpoint: 112
Last Script: pkg/systems/attack/hitsequence.ecl PC: 1458
Escript Instruction Cycles: 4123378653
Tasks Thread Checkpoint: 1
Active Client Thread Checkpoint: 116
Current Threads:
27823 - SocketClientThread
Child threads (child_threads): 46
Registered threads (ThreadMap): 1
*Thread Info*
Semaphore PID: 27823
.....................................

Code: Select all

1439: init{}
1440: Func(3,3): Start_Script
1441: #
start_script(":combat:mainhitscript", array{attacker,defender,attweap,defarmor,
1442: ":combat:mainhitscript"
1443: array
1444: local #1
1445: init{}
1446: local #2
1447: init{}
1448: local #14
1449: init{}
1450: local #16
1451: init{}
1452: local #7
1453: init{}
1454: local #9
1455: init{}
1456: local #8
1457: init{}
1458: Func(3,3): Start_Script
1459: #
if(attmessage)
1460: local #21
1461: if false goto 1468
sendsysmessage(attacker,attmessage);
1462: local #1
1463: local #21
1464: 3L
1465: 1000L
1466: Func(2,4): SendSysMessage
1467: #
if(!defender.isa(POLCLASS_NPC) and defmessage)

Code: Select all

     /////////////////////////////////////////////////////////////
     // skillgain for attacker and defender on hit////////////////
     /////////////////////////////////////////////////////////////
     start_script ( "attack_skillgain", array{attacker, attskillid});
     start_script ( "tactic_skillgain", array{attacker});
     start_script ( "tactic_skillgain", array{defender});
     /////////////////////////////////////////////////////////////

     start_script(":combat:mainhitscript", array{attacker,defender,attweap,defarmor,basedamage,rawdamage, poordamage});
     if(attmessage)
            sendsysmessage(attacker,attmessage);
     endif
     if(!defender.isa(POLCLASS_NPC) and defmessage)
            sendsysmessage(defender,defmessage);
     endif
:x :x :x :x
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: another one pol lag

Post by Turley »

Can you send the back trace with gdb output? Last script line doesn't mean that the core really hangs there.
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: another one pol lag

Post by RusseL »

and another crash again. i got 5 different crashes in 2 days.
going back to rev572.
I cant place an output, because i can not run dynamic unstripped binary on my ooold fedora....

Turley, i don't like your cleanups(( everytime server is more and more unstable :(
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: another one pol lag

Post by RusseL »

Question:
Can i take a backtrace from standart pol binary, and search this adresses in a dynamic with gdb?
or adresses are different?

Code: Select all

[11/19 18:47:31] Caught SIGSEGV (Segfault).  Please post the following on http://forums.polserver.com/tracker.php :
=== CUT ===
Build: POL099-2011-05-02 Break Everything Even Rudder (ubuntu)
Last Script: scripts/ai/goodcaster.ecl PC: 4198
Stack Backtrace:
[0x82b1e6c]
[0x110420]
[0x827853d]
[0x80e5018]
[0x828500e]
[0x8285393]
[0x8282bb1]
[0x818944a]
[0x8189dfa]
[0x81436f4]
[0x82b93fc]
[0x82b9a5b]
[0x831c8e8]
[0x836852e]
=== CUT ===
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: another one pol lag

Post by Turley »

I think they are different but why don't you run the stripped one and get the source lines with the unstripped and gdb

Or I compile the stuff for you so I have the debug information's.
Post Reply