Page 1 of 1

Game crashes whit registred name?

Posted: Mon Jul 24, 2006 9:41 pm
by testdriver
When I want to play bzflag I cant play with my registred name since the game crashes right after I join a server. When on the other hand I play with a non registred nick there are no problems at all.

Running linux kanotix whit 2.0.8 client, This is the strace from it (only the bottom)

Code: Select all

gettimeofday({1153776930, 267814}, NULL) = 0
open("/etc/mtab", O_RDONLY)             = 13
fstat64(13, {st_mode=S_IFREG|0644, st_size=407, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb57bc000
read(13, "/dev/hdb1 / reiserfs rw 0 0\nproc"..., 131072) = 407
close(13)                               = 0
munmap(0xb57bc000, 131072)              = 0
open("/proc/meminfo", O_RDONLY)         = 13
fstat64(13, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb57db000
read(13, "MemTotal:       514220 kB\nMemFre"..., 1024) = 670
close(13)                               = 0
munmap(0xb57db000, 4096)                = 0
brk(0x8a80000)                          = 0x8a80000
brk(0x8a7f000)                          = 0x8a7f000
gettimeofday({1153776930, 342734}, NULL) = 0
gettimeofday({1153776930, 342894}, NULL) = 0
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
gettimeofday({1153776930, 343810}, NULL) = 0
gettimeofday({1153776930, 343867}, NULL) = 0
gettimeofday({1153776930, 343940}, NULL) = 0
gettimeofday({1153776930, 345249}, NULL) = 0
gettimeofday({1153776930, 345845}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigaction(SIGSEGV, {SIG_DFL}, {0x812f630, [], 0}, 8) = 0
tgkill(26748, 26748, SIGSEGV)           = 0
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
I dont get what the problem issince it only happens whit the registred user, every non registred on plays like a charm (testdrive for instance).

I tried removing the (hidden) .bzf map in the home dir, removing and reinstalling the game without any succes.

Posted: Tue Jul 25, 2006 7:42 am
by Skeeve
Just for the sake of completeness, I saw your chat in IRC and post it here for others to be helpful too. I hope, that's okay.
kanotix1: I have kinda a weird problem with bzflag. I seem not to be able to login with my registred nick without crashing the game... ??
JeffM2501: kanotix1, what OS?
kanotix1: any other nick works btw only registerd on crashs the game
kanotix1: JeffM2501: linux, client bzf 2.0.8
JeffM2501: kanotix1, what linux?
kanotix1: kanotix (debian based)
JeffM2501: kanotix1, there is a bug in the current libCurl in debian distros that will cause a crash if you don't do a server list first ( after your password )
JeffM2501: you can downdate your libcurl to fix the problem
kanotix1: So if i dop a server list after password it will be fine ?
JeffM2501: that's what I have seen reported
JeffM2501: downdating your libcurl one notch is better tho
kanotix1: If there aint more depencies needing that version you mean.. i will try it out
JeffM2501: IIRC the current verison dosn't have any new real features, so the downdate is rather painless
JeffM2501: a bug has been filed with the libcurl people but I don't know if there is a fix, and how long it would take it to go thru the debian channels ( ages )
kanotix1: oke I need to find out howto downgrade first  Thats when google comesin handy
kanotix1: thx btw
JeffM2501:shure

Posted: Tue Jul 25, 2006 2:11 pm
by testdriver
Skeeve wrote:Just for the sake of completeness, I saw your chat in IRC and post it here for others to be helpful too. I hope, that's okay.
[
Its oke I wanted to write something myself todaybut thats oke

Posted: Sun Nov 05, 2006 10:47 am
by lucky luke
quite the same problem I have.. the problem is, that downgrade the libcurl causes problems with dependencies of lots of other packages...

Thats what I get, so I cant downgrade libcurl...

greetings

Posted: Sun Nov 05, 2006 12:14 pm
by catay
Try this workarround , it should work .. well , it did for me and some others :)

http://www.catay.be/curl_workarround.txt

Rgds.

catay

Posted: Sun Nov 05, 2006 1:08 pm
by Thonolan
catay found a way to help me i had the same problem with downgrade libcurl.......to much dependies .
Bz-Flag used only the old libcurl the other sytem wont touch.

thank you very much catay thats what i called support ;)

Thonolan

Posted: Sun Nov 05, 2006 5:38 pm
by Pimpinella
filing a bug report via the debian bug tracking system might dramatically speed up the debian channels passthrough.

Pimpi

Posted: Sun Nov 05, 2006 6:20 pm
by catay
Good idea. Although I'm not an ubuntu user I reported the bug at their bugtracker
and pointed to the upstream bugreport.

https://launchpad.net/distros/ubuntu/+s ... +bug/70465

Posted: Sun Nov 05, 2006 9:58 pm
by lucky luke
Hey!
I am sorry to say, but my bz client still crashes, so I´d say it has nothing to do with libcurl.. Ty though catay for your help..
Another question: Does anyone of you know how to get the logfile? When bz crashes in bzflag >> /tem/log.text there is nothing written in..


Greetings

Posted: Sun Nov 05, 2006 11:18 pm
by Pimpinella
not entirely sure, but the output you might want to redirect into a filr might be written to stderr, so you have to redirect stderr to stdout with 2>&1 before redirecting stdout to your log file...

damn, i´m drunken...

Pimpi

Posted: Sun Nov 05, 2006 11:21 pm
by Pimpinella
oh, well, if you want only stderr you can of course just log it alone with 2>>

Pimpi