|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Archive::Bugs Archive area for Bugs's posts that were moved here after an inactivity period of 90 days. |
 |
|
 |

11-12-2003, 02:19 PM
|
Fire Beetle
|
|
Join Date: Nov 2002
Posts: 10
|
|
Linux Debugging, more then one! Backtraces included!
This is from the lasest CVS avaible:
Code:
#0 0x4207429c in _int_malloc () from /lib/tls/libc.so.6
(gdb) bt
#0 0x4207429c in _int_malloc () from /lib/tls/libc.so.6
#1 0x4207360b in malloc () from /lib/tls/libc.so.6
#2 0x400b2e9e in operator new(unsigned) () from /usr/lib/libstdc++.so.5
#3 0x400b2fef in operator new[](unsigned) () from /usr/lib/libstdc++.so.5
#4 0x08068688 in TCPConnection::MakePacket(ServerPacket*, unsigned) (
pack=0x816fe38, iDestination=0) at ../common/TCPConnection.cpp:55
#5 0x0806da93 in TCPServer::SendPacket(ServerPacket*) (this=0x42132368,
pack=0x42132368) at ../common/TCPConnection.cpp:1663
#6 0x080799bd in ZSList::SendPacket(ServerPacket*) (this=0x80e2cc0,
pack=0x42132368) at zoneserver.cpp:719
#7 0x0807b68c in ZSList::SendWhoAll(unsigned, char const*, short, Who_All_Struct*, WorldTCPConnection*) (this=0x80e2cc0, fromid=9, to=0x8177496 "Gaan",
admin=200, whom=0x8174870, connection=0x816ec78) at zoneserver.cpp:1398
#8 0x0807892d in ZoneServer::Process() (this=0x8170468) at zoneserver.cpp:429
#9 0x08079757 in ZSList::Process() (this=0x80e2cc0) at zoneserver.cpp:688
#10 0x080738a9 in main (argc=0, argv=0x0) at net.cpp:315
#11 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
I kept the core file in case you need more info, this seems to only be a linux problem, and I can't figure it out, even with Lethal's help.
Maybe someone else can.
|
 |
|
 |

11-12-2003, 03:56 PM
|
Fire Beetle
|
|
Join Date: Nov 2002
Posts: 10
|
|
This is with Dev Source as of 11/11 zone server
Code:
#0 0x4207a6db in strlen () from /lib/tls/libc.so.6
(gdb) bt
#0 0x4207a6db in strlen () from /lib/tls/libc.so.6
#1 0x420477ed in vfprintf () from /lib/tls/libc.so.6
#2 0x420645fc in vsprintf () from /lib/tls/libc.so.6
#3 0x4001a500 in sprintf () from /lib/libsafe.so.2
#4 0x08077011 in Zone::SaveZoneCFG(char const*) (this=0x0,
filename=0x1 <Address 0x1 out of bounds>) at zone.cpp:536
This is for the #zsave command
|

11-12-2003, 08:45 PM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
core coming from a new[] call , how many zones were you running? im wondering if you just ran out of memory or hit a bad block...
This is the line in question in our code..
TCPNetPacket_Struct* tnps = (TCPNetPacket_Struct*) new uchar[size];
Hmmm..
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
|

11-13-2003, 07:30 AM
|
Fire Beetle
|
|
Join Date: Nov 2002
Posts: 10
|
|
First core dump
I assume your talking about the first one I posted, at the time I was running 11 zones, wasn't using all my memory, but was putting a heavy load on the machine, I'm running some new code (dated 11/11), and I'm only running 5 zones locally now (to keep the load down), though there are many other zones connected from other machines, seems to run alot more stable this way.
So far I've had little problems with the new code, and I'm very impressed how how much more stable it is and how much faster it runs, keep up the wonderful work...
I won't say who I got the code from, and before anyone decide to ask me for it because it's newer then what is in CVS at the moment, I'm not giving it out to anyone unless I get the ok from the devs todo so.
If I get the ok I'll give out source and precomiled binarys for windows.
|

11-13-2003, 09:05 AM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
Feel free, I usually dump CVS about everyday so code changes today are available tomorrow. We encourage outside participation like this.
We'll take a look and see what we can find, thanks for the input and information, we really do appreciate it.
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
|

11-13-2003, 09:47 AM
|
Fire Beetle
|
|
Join Date: Nov 2002
Posts: 10
|
|
Little Update
Ok, world is crashing again, at the same place, with all the ones and lot of people logging on and off it tends to wanna crash every 10mins or so.
I'm running the stormweavers server, and I'd hate to lose our pretty green name just because world keeps crashing on us.
|

11-13-2003, 09:54 AM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
There have been a few changes to world recently, which doesnt happen often... i'll go back and look through them...
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 04:13 AM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |