Bugs item #1709605, was opened at 2007-04-29 23:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=723099&aid=1709605&group_id=132078
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: galaxie
Group: Bug - Protocol
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tim Ansell (mithro)
Assigned to: nash (nash)
Summary: Galaxie segfaults when connecting to tpserver-py
Initial Comment:
Galaxie is segfaulting when connecting to tpserver-py, I think this is because
it is wrongly advertising that it can create accounts.
The version is
[EMAIL PROTECTED]:~/oss/tp/galaxie$ cg-status
Heads:
>master 10362961359c~ Ignore galaxie
Here is the backtrace from galaxie,
[EMAIL PROTECTED]:~/oss/tp/galaxie$ gdb ./galaxie # --username badguy
--password password --server localhost
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run --username badguy --password password --server localhost
Starting program: /home/tim/oss/tp/galaxie/galaxie --username badguy --password
password --server localhost
[Thread debugging using libthread_db enabled]
[New Thread -1217071424 (LWP 14724)]
Sending Seq 2 Type 3 [MsgConnect] Len: 11 [0x804be00]
Sending Seq 3 Type 4 [MsgLogin] Len: 22 [0x804bf2f]
Sending Seq 4 Type 25 [MsgGetFeatures] Len: 0 [(nil)]
Sending Seq 5 Type 14 [MsgGetTimeRemaining] Len: 0 [(nil)]
Sending Seq 6 Type 39 [MsgGetPlayerData] Len: 8 [0x804c062]
Sending Seq 7 Type 28 [MsgGetObjectIDs] Len: 12 [(nil)]
Sending Seq 8 Type 32 [MsgGetOrderDescriptionIDs] Len: 12 [(nil)]
Sending Seq 9 Type 37 [MsgGetResourceDescriptionIDs] Len: 12 [(nil)]
Sending Seq 10 Type 35 [MsgGetBoardIDs] Len: 12 [(nil)]
Sending Seq 11 Type 52 [MsgGetDesignIDs] Len: 12 [(nil)]
** Error: Seq 3: Err 4: Login incorrect or unknown username!
Feature: http connect on this port
Feature: keep alive
Feature: Automatic account registration
** Error: Seq 5: Err 2: Service unavalible.
Sending Seq 12 Type 14 [MsgGetTimeRemaining] Len: 0 [(nil)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1217071424 (LWP 14724)]
0xb7843f15 in strncpy () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0 0xb7843f15 in strncpy () from /lib/tls/i686/cmov/libc.so.6
#1 0x08052921 in tpe_util_string_extract ()
#2 0x08052bee in tpe_util_parse_packet ()
#3 0x0804c09c in tpe_comm_msg_player_id ()
#4 0x0804fa0e in tpe_msg_handle_packet ()
#5 0x0804f8d7 in tpe_msg_receive ()
#6 0xb7f3737a in _ecore_event_call () from /usr/lib/libecore.so.1
#7 0xb7f3de2e in ?? () from /usr/lib/libecore.so.1
#8 0x080821b8 in ?? ()
#9 0x080844d8 in ?? ()
#10 0x00000001 in ?? ()
#11 0x00000000 in ?? ()
(gdb)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=723099&aid=1709605&group_id=132078
_______________________________________________
tp-bugs mailing list
[email protected]
http://mail.thousandparsec.net/cgi-bin/mailman/listinfo/tp-bugs