project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - elbows

Pages: [1]
1
Bugs prior to release 2.4 / Intermittent crash during campaign
« on: March 18, 2012, 01:51:56 pm »
Playing the campaign, I occasionally get a crash during missions from this assertion failure:
ufo: src/common/dbuffer.c:506: dbuffer_extract: Assertion `buf->len == 0' failed.

It seems to happen during the aliens' turn, but I'm not sure if that's always the case.

This is the stack trace:
#0  0x0012e416 in __kernel_vsyscall ()
#1  0x00487941 in raise () from /lib/libc.so.6
#2  0x0048ae42 in abort () from /lib/libc.so.6
#3  0x004808e8 in __assert_fail () from /lib/libc.so.6
#4  0x080d4f9a in dbuffer_extract (buf=0x13769e14, data=0xbfffe220 "\037B", len=6) at src/common/dbuffer.c:506
#5  0x080d2134 in NET_StreamDequeue (s=0x13769d8c, data=0xbfffe21c "\t\027L", len=10) at src/common/net.c:765
#6  0x080d424e in NET_ReadMsg (s=0x13769d8c) at src/common/netpack.c:578
#7  0x080581d1 in CL_ReadPackets () at src/client/cl_main.c:429
#8  0x0805988c in CL_Frame (now=1224344, data=0x0) at src/client/cl_main.c:1096
#9  0x080c6c67 in tick_timer (now=1224344, data=0xc678c44) at src/common/common.c:1325
#10 0x080c70e8 in Qcommon_Frame () at src/common/common.c:1486
#11 0x081310eb in main (argc=1, argv=0xbffff3d4) at src/ports/linux/linux_main.c:55

I poked around a bit in the debugger, and it seems like it's caused by a malformed dbuffer:
buf->len is 14, but buf->head->len is 0, and buf->head->next is NULL.  I'm not familiar with the UFO code, but based on the struct definition and the code of dbuffer_extract, that looks wrong.

The crash only happens once every hour or so.

OS: Linux (Ubuntu 10.10)
Version: e3e81b81770f91395288f162fc64a871e5e651df (master from Friday)

ufoconsole.log is attached.

2
Bugs prior to release 2.4 / Re: Disappearing Scientists
« on: March 11, 2012, 02:37:22 pm »
It works. Thanks.

3
Bugs prior to release 2.4 / Disappearing Scientists
« on: March 09, 2012, 04:14:29 pm »
I've found a bug where you can "lose" scientists in a base. To reproduce:

1. Begin research of an alien artifact
2. Go to Buy/Sell and sell that artifact so you have 0 in your base
3. Return to the research screen. The artifact has moved to the "Unresearchable Items" section, but the scientists assigned to it have vanished. E.g. if I have assigned 10/10 scientists to that artifact, I now have zero unassigned scientists and zero scientists assigned to any work. However, the other screens will still show that I have 10 scientists employed in that base.

I poked around in the code a bit and got some idea of what's happening, though I didn't get as far as fixing it. It seems that the scientists are still assigned to the artifact, but they aren't displayed because unresearchable items aren't supposed to have scientists assigned to them. Whether they continue to make progress, I don't know.

If I repurchase the artifact, it moves back to the upper part of the research list and the scientists remain assigned to it -- so you can get your scientists back.

I'm seeing this with the latest master as of this morning (5d2b5fc8).

4
Discussion / Base attacked without warning
« on: March 03, 2012, 02:02:16 pm »
I'm new to this game, playing through the normal difficulty campaign with a recent build of 2.4-dev. A couple of times now my base has come under attack without any warning -- no UFOs on my radar or anything. Is this normal?

Is there any way I can detect these attacks and prevent them? The base defense missions are kind of boring. :)

Pages: [1]