Page 1 of 5

World Bugs and Crashes List

Posted: Fri Aug 01, 2014 7:58 am
by John Adams
Devs, let's work from this list for a while.


The Linux World seems to be crashing a lot more lately than before, though it also has had a lot of visitors in the last 24h. I will post backtraces I find this weekend here to keep things focused.

My first complaint is that just shutting down the world (with a killall) seems to have new results I haven't seen before:
[quote]Killing old current_world loop...
pure virtual method called
terminate called without an active exception[/quote]

New Telon will be in DEBUG the next few days to try and catch these crashes. I urge people to continually TRY to crash it, because that's what Alpha is all about.


Applying Foof's FragPacket fix today.

Re: World Bugs and Crashes List

Posted: Fri Aug 01, 2014 9:39 am
by John Adams
Crash in /who command:

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
0x000000000044ddf8 in ChunkServer::GetCoordX (this=0x0) at ChunkServer.h:65
65              int32_t GetCoordX() { return coord_x; }
(gdb) bt
#0  0x000000000044ddf8 in ChunkServer::GetCoordX (this=0x0) at ChunkServer.h:65
#1  0x0000000000459f99 in Net::HandleWhoRequest (this=0x729b80 <net>, sender=..., packet_struct=0x831970)
    at Net.cpp:896
#2  0x000000000045614e in Net::Process (this=0x729b80 <net>) at Net.cpp:182
#3  0x0000000000455488 in main (argc=1, argv=0x7fffffffe678) at Main.cpp:137
Guess who? That pesky Gnome again...

Re: World Bugs and Crashes List

Posted: Fri Aug 01, 2014 11:14 am
by John Adams
Another crash... is Dirty?

Code: Select all

11:09:10.965 I Chunk     control_text='HELLO REVISION=0 MINVER=3151 VER=3186'
11:09:11.052 I Chunk     control_text='LOGIN'
11:09:15.145 I Chunk     control_text='JOIN'
11:09:15.151 D Rules    Rule: R_Player:DefaultMovementSpeed, Value: 750.0
11:09:16.387 I Chunk     control_text='JOIN'
11:09:16.393 D Rules    Rule: R_Player:DefaultMovementSpeed, Value: 750.0
11:09:21.332 I UDP      Client from 70.36.58.221 has been removed
11:09:21.352 I Chunk    Starting chunk shutdown timer for Dahknarg.
11:09:52.495 I Chunk    Shutdown timer expired. Shutting down Kaon's Rush.
[Thread 0x7fffc37fe700 (LWP 25866) exited]
[Thread 0x7fffc2ffd700 (LWP 25865) exited]
[Thread 0x7fffdcff9700 (LWP 25867) exited]
[Thread 0x7fffc3fff700 (LWP 25868) exited]
11:10:35.212 I Chunk    Shutdown timer expired. Shutting down Wardship of the Sleeping Moon.
[Thread 0x7fffef7fe700 (LWP 25902) exited]
[Thread 0x7fffedffb700 (LWP 25904) exited]
[Thread 0x7fffeeffd700 (LWP 25901) exited]
[Thread 0x7fffee7fc700 (LWP 25903) exited]

Program received signal SIGSEGV, Segmentation fault.
0x000000000041b27a in PacketStruct::GetSize (this=0x0) at ../common/PacketStruct.cpp:638
638         if (dirty) {
(gdb) bt
#0  0x000000000041b27a in PacketStruct::GetSize (this=0x0) at ../common/PacketStruct.cpp:638
#1  0x000000000041b5d9 in PacketStruct::SerializeIntoBuffer (this=0x0) at ../common/PacketStruct.cpp:692
#2  0x0000000000426c70 in SOEProtocolData::SetData (this=0x98ebe0, packet_struct=0x0)
    at ../common/SOEProtocolData.cpp:85
#3  0x000000000041b823 in PacketStruct::Serialize (this=0x0) at ../common/PacketStruct.cpp:724
#4  0x0000000000459160 in Net::HandleShoutRequest (this=0x729b80 <net>, sender=..., character=...,
    message=0x803856 "GET ON THE CAD TRAIN") at Net.cpp:735
#5  0x0000000000458592 in Net::HandleWorldChatPacket (this=0x729b80 <net>, client=..., packet_struct=0x98ec40)
    at Net.cpp:603
#6  0x0000000000456314 in Net::Process (this=0x729b80 <net>) at Net.cpp:202
#7  0x0000000000455488 in main (argc=1, argv=0x7fffffffe678) at Main.cpp:137

Re: World Bugs and Crashes List

Posted: Fri Aug 01, 2014 1:03 pm
by John Adams
New crash (I think this is the 3rd kind?)

Code: Select all

12:29:32.488 I UDP      New client connected from 68.2.68.77
12:29:32.489 I UDP      Received session request from 68.2.68.77 with connection ID 1026150550
12:29:32.597 I Chunk    New Session: Account ID: 60  Session ID: 
12:29:32.725 I Chunk     control_text='HELLO REVISION=0 MINVER=3151 VER=3186'
12:29:32.913 I Chunk     control_text='LOGIN'
12:30:12.821 I UDP      Client from 68.2.68.77 set to disconnect : Timeout
12:30:21.060 I UDP      Client from 68.2.68.77 set to disconnect : Timeout
12:30:22.823 I UDP      Client from 68.2.68.77 has been removed
12:30:31.061 I UDP      Client from 68.2.68.77 has been removed
12:30:31.092 I Chunk    Starting chunk shutdown timer for Jharru Flats.
12:30:42.454 I UDP      New client connected from 68.2.68.77
12:30:42.454 I UDP      New client connected from 68.2.68.77
12:30:42.465 I Chunk     control_text='JOIN'
12:30:42.465 E Unreal   Could not find unreal channel list for account id 0!
12:30:42.465 E Chunk    ChunkServer::HandleClientJoin: Error getting control channel for account id 0
12:30:42.466 I Chunk    Chunk shutdown cancelled for Jharru Flats.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffed7fa700 (LWP 26397)]
0x0000000000411264 in Client::GetServerSequence (this=0x0) at ../common/Client.cpp:281
281         return server_sequence;
(gdb) bt
#0  0x0000000000411264 in Client::GetServerSequence (this=0x0) at ../common/Client.cpp:281
#1  0x000000000041154b in Client::PushOutgoing (this=0x0, data=0x7fffd00042c0, dump_packet=false)
    at ../common/Client.cpp:352
#2  0x000000000041129b in Client::QueuePacket (this=0x0, data=0x7fffd00042c0, dump_packet=false)
    at ../common/Client.cpp:295
#3  0x0000000000497483 in WorldCharacter::JoinChatChannel (this=0x8409c8, channel=..., client=..., send_packet=true)
    at Chat.cpp:227
#4  0x000000000043ef1f in ChunkServer::HandleClientAuthConfirm (this=0x933008, client=...,
    packet_struct=0x7fffd0003ea0) at ChunkServer.cpp:639
#5  0x000000000043b583 in ChunkServer::ProcessPackets (this=0x933008) at ChunkServer.cpp:278
#6  0x000000000043a7fa in ChunkPacketThread (data=0x933008) at ChunkServer.cpp:107
#7  0x00000000004296e2 in ThreadRun (arg=0x941cc0) at ../common/Thread.cpp:77
#8  0x00007ffff768e182 in start_thread (arg=0x7fffed7fa700) at pthread_create.c:312
#9  0x00007ffff6b9b30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Re: World Bugs and Crashes List

Posted: Fri Aug 01, 2014 3:51 pm
by John Adams
Okay, now I'm thinking Foof just put there here to annoy me

Code: Select all

15:48:13.429 I UDP      New client connected from 68.98.218.5
15:48:13.430 I UDP      Received session request from 68.98.218.5 with connection ID 2085109422
15:48:13.560 I Net      New Session: Account ID: 2  Session ID: '00befgnntpbc937fonqi5880v3'

Program received signal SIGSEGV, Segmentation fault.
0x00000000004567c8 in Net::SendCharacterInfo (this=0x729b80 <net>, client=..., characters=0x7fffffff99a0, count=2)
    at Net.cpp:253
253             out->SetInt32("Coord_x", info->coord_x);
(gdb) bt
#0  0x00000000004567c8 in Net::SendCharacterInfo (this=0x729b80 <net>, client=..., characters=0x7fffffff99a0,
    count=2) at Net.cpp:253
#1  0x0000000000456ed0 in Net::HandleCharacterSelected (this=0x729b80 <net>, client=..., packet_struct=0x9bff40)
    at Net.cpp:353
#2  0x0000000000455eb2 in Net::Process (this=0x729b80 <net>) at Net.cpp:145
#3  0x0000000000455488 in main (argc=1, argv=0x7fffffffe678) at Main.cpp:137
This was me, on a 2nd acct, connecting to char select but my toon wasn't found or something (Tweaker). Even though he exists.

Re: World Bugs and Crashes List

Posted: Fri Aug 01, 2014 3:58 pm
by theFoof
Should all be fixed..just null pointers

Re: World Bugs and Crashes List

Posted: Fri Aug 01, 2014 4:10 pm
by John Adams
Latest chat-related crash (might be same as above).

Code: Select all

638         if (dirty) {
(gdb) bt
#0  0x000000000041b27a in PacketStruct::GetSize (this=0x0) at ../common/PacketStruct.cpp:638
#1  0x000000000041b5d9 in PacketStruct::SerializeIntoBuffer (this=0x0) at ../common/PacketStruct.cpp:692
#2  0x0000000000426c70 in SOEProtocolData::SetData (this=0x7572b0, packet_struct=0x0)
    at ../common/SOEProtocolData.cpp:85
#3  0x000000000041b823 in PacketStruct::Serialize (this=0x0) at ../common/PacketStruct.cpp:724
#4  0x0000000000459160 in Net::HandleShoutRequest (this=0x729b80 <net>, sender=..., character=...,
    message=0xa12306 "Test") at Net.cpp:735
#5  0x0000000000458592 in Net::HandleWorldChatPacket (this=0x729b80 <net>, client=..., packet_struct=0x95a820)
    at Net.cpp:603
#6  0x0000000000456314 in Net::Process (this=0x729b80 <net>) at Net.cpp:202
#7  0x0000000000455488 in main (argc=1, argv=0x7fffffffe678) at Main.cpp:137

Re: World Bugs and Crashes List

Posted: Fri Aug 01, 2014 4:11 pm
by Sacred
Did I break something with screwing with chat? Also, been playing with the server more and more, so if I need to knock anything off, send me a PM. All my toons during test will contain "Sacred" in their name for easy ID.

Re: World Bugs and Crashes List

Posted: Fri Aug 01, 2014 4:18 pm
by John Adams
No it's fine, we need crashes to root out these issues. Crash away.

Foof, this one still crashing:

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
0x000000000044ddf8 in ChunkServer::GetCoordX (this=0x0) at ChunkServer.h:65
65              int32_t GetCoordX() { return coord_x; }
(gdb) bt
#0  0x000000000044ddf8 in ChunkServer::GetCoordX (this=0x0) at ChunkServer.h:65
#1  0x0000000000459f99 in Net::HandleWhoRequest (this=0x729b80 <net>, sender=..., packet_struct=0x7c2c50) at Net.cpp:896
#2  0x000000000045614e in Net::Process (this=0x729b80 <net>) at Net.cpp:182
#3  0x0000000000455488 in main (argc=1, argv=0x7fffffffe678) at Main.cpp:137

Re: World Bugs and Crashes List

Posted: Fri Aug 01, 2014 4:27 pm
by John Adams
Also, the 1 error per spawn that is assigned this script, is this wrong? My script?
function hailed(npc, spawn)
    if npc ~= nil then
        Say(npc, "Gnomes rule, elves drool!")
    end
end
If the script is fine, I'd like to find out where that's happening and stop it. Finding it hard to trace bogies when my screen disappears.