UFO:Alien Invasion

Technical support => Feature Requests => Topic started by: Matti on June 25, 2007, 08:34:43 pm

Title: Crash to desktop (2.2-dev)
Post by: Matti on June 25, 2007, 08:34:43 pm
I start game, set up base, go fight aliens and CTD happens. I just reinstalled game and started it with default settings, still CTD. Is there some error log somewhere I might post here?
Title: Crash to desktop (2.2-dev)
Post by: BTAxis on June 26, 2007, 11:54:13 am
I think he means it happens when any map is loaded. It happens for me too. gdb:
Code: [Select]
(gdb) run
Starting program: d:\Games\UFOAI-2.2-dev/ufo.exe
warning: Hooking
warning: D:\GAMES\UFOAI-2.2-DEV\UFO.EXE
warning: RPH:Injecting code at start up

warning: done...

warning: RPH:DDraw Hooked!


Program received signal SIGSEGV, Segmentation fault.
0x0047c903 in SVC_DirectConnect () at ../../src/server/sv_main.c:452
452     ../../src/server/sv_main.c: No such file or directory.
        in ../../src/server/sv_main.c
(gdb) bt
#0  0x0047c903 in SVC_DirectConnect () at ../../src/server/sv_main.c:452
#1  0x0047cfda in SV_ConnectionlessPacket () at ../../src/server/sv_main.c:577
#2  0x0047d1b5 in SV_ReadPackets () at ../../src/server/sv_main.c:669
#3  0x0047ddc7 in SV_Frame (msec=100) at ../../src/server/sv_main.c:1024
#4  0x00459f90 in Qcommon_Frame (msec=607) at ../../src/qcommon/common.c:971
#5  0x00482153 in WinMain (hInstance=0x400000, hPrevInstance=0x0,
    lpCmdLine=0x241eff "", nCmdShow=10) at ../../src/ports/win32/sys_win.c:1238
#6  0x004c41fa in main ()
(gdb)


Code: [Select]
(gdb) bt full
#0  0x0047c903 in SVC_DirectConnect () at ../../src/server/sv_main.c:452
        userinfo = "\\ip\\loopback\\msg\\1\\equip\\multiplayer_initial\\team\\hu
man\\name\\BTAxis|UFO\\teamnum\\2\\spectator\\0", '\0' <repeats 418 times>
        adr = {type = NA_LOOPBACK, ip = "\0\0\0", ipx = "\0\0\0\0\0\0\0\0\0",
  port = 0}
        i = 0
        cl = (client_t *) 0x21e3b024
        newcl = (client_t *) 0x21e3b024
        temp = {state = cs_free, lastframe = 0, commandMsec = 0,
  frame_latency = {0 <repeats 16 times>}, ping = 0,
  userinfo = '\0' <repeats 511 times>, player = 0x0,
  name = '\0' <repeats 31 times>, messagelevel = 0, datagram = {
    allowoverflow = qfalse, overflowed = qfalse, data = 0x0, maxsize = 0,
    cursize = 0, readcount = 0}, datagram_buf = '\0' <repeats 7399 times>,
  lastmessage = 0, lastconnect = 0, challenge = 0, curMsg = 0, addMsg = 0,
  reliable = {{allowoverflow = qfalse, overflowed = qfalse, data = 0x0,
      maxsize = 0, cursize = 0, readcount = 0} <repeats 16 times>},
  reliable_buf = '\0' <repeats 118399 times>, netchan = {fatal_error = qfalse,
    sock = NS_CLIENT, dropped = 0, last_received = 0, last_sent = 0,
    remote_address = {type = NA_LOOPBACK, ip = "\0\0\0",
      ipx = "\0\0\0\0\0\0\0\0\0", port = 0}, qport = 0, incoming_sequence = 0,
    incoming_acknowledged = 0, incoming_reliable_acknowledged = 0,
    incoming_reliable_sequence = 0, outgoing_sequence = 0,
    reliable_sequence = 0, last_reliable_sequence = 0, message = {
      allowoverflow = qfalse, overflowed = qfalse, data = 0x0, maxsize = 0,
      cursize = 0, readcount = 0}, message_buf = '\0' <repeats 7383 times>,
    reliable_length = 0, reliable_buf = '\0' <repeats 7383 times>}}
        player = (player_t *) 0x264
        playernum = 0
        version = 3
        qport = 38877
        challenge = 0
#1  0x0047cfda in SV_ConnectionlessPacket () at ../../src/server/sv_main.c:577
        s = 0x9b634d0 "connect 3 38877 0 \"\\msg\\1\\equip\\multiplayer_initial\
\team\\human\\name\\BTAxis|UFO\\teamnum\\2\\spectator\\0\""
        c = 0x21daac34 "connect"
#2  0x0047d1b5 in SV_ReadPackets () at ../../src/server/sv_main.c:669
        i = 1
        j = 1
        cl = (client_t *) 0xfffe181c
        qport = -1900
#3  0x0047ddc7 in SV_Frame (msec=100) at ../../src/server/sv_main.c:1024
No locals.
#4  0x00459f90 in Qcommon_Frame (msec=783) at ../../src/qcommon/common.c:971
        frametime = 100
        s = 0x0
        wait = -783
        time_before = 0
        time_between = 0
        time_after = 0
        sv_timer = 783
        cl_timer = 775
#5  0x00482153 in WinMain (hInstance=0x400000, hPrevInstance=0x0,
    lpCmdLine=0x241eff "", nCmdShow=10) at ../../src/ports/win32/sys_win.c:1238
        msg = {hwnd = 0x12a0638, message = 258, wParam = 13, lParam = 1835009,
  time = 860358828, pt = {x = 726, y = 449}}
        time = 783
        oldtime = 67764
        newtime = 68547
        timescale = 1
#6  0x004c41fa in main ()
No symbol table info available.
(gdb)
Title: Crash to desktop (2.2-dev)
Post by: Mattn on June 26, 2007, 03:18:47 pm
maybe related to this?

  http://sourceforge.net/support/tracker.php?aid=1743507
Title: Crash to desktop (2.2-dev)
Post by: Matti on June 26, 2007, 05:50:09 pm
Quote from: "Mattn"
maybe related to this?

  http://sourceforge.net/support/tracker.php?aid=1743507

Maybe, except in my case it's the very first mission in North America.

[edit]
Forgot to say, I have Windows version
Title: Crash to desktop (2.2-dev)
Post by: death on June 28, 2007, 12:30:10 pm
Hello All,

I have the same problem.

When the Dropship arrives in North America and i start the Mission the Game CTD.

I'm using 2.2 trunk - rev 9289 - 2007-06-25.

Can I do anything to Help?

Greetings Death

P.S. I'm German, and I hope my English is readable =P
Title: Crash to desktop (2.2-dev)
Post by: Mattn on June 28, 2007, 12:55:37 pm
Quote from: "death"
Can I do anything to Help?

Yes, fix that bug :-D

I'm currently uploading a new version - please make some tests with that version, too

Quote from: "death"
P.S. I'm German, and I hope my English is readable =P

I'm german, too - so i'm not the one to evaluate this ;-)
Title: Crash to desktop (2.2-dev)
Post by: Wanderer on June 28, 2007, 05:32:53 pm
Quote from: "death"
P.S. I'm German, and I hope my English is readable =P


You are fine.  You get your point across, no worries.
Title: Crash to desktop (2.2-dev)
Post by: Matti on July 01, 2007, 08:35:40 am
New version seems to work. Now starting over again with medium difficulty. Thanks :)
Title: Crash to desktop (2.2-dev)
Post by: death on July 02, 2007, 09:23:15 pm
It works fine.

I will go on with testing.

Greetings Death