project-navigation
Personal tools

Author Topic: 2.6 mission and base attack errors  (Read 5485 times)

Offline cmmps

  • Rookie
  • ***
  • Posts: 18
    • View Profile
2.6 mission and base attack errors
« on: October 31, 2015, 05:29:13 am »
Hi!

I'm testing 2.6 on my MAC and I'm having errors in some missions and when I had a home base attack.

Here follows some information of the crash on the base attack:

Process:               ufo [42958]
Path:                  /Users/USER/*/ufo
Identifier:            ufo
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        bash [728]
Responsible:           Terminal [717]
User ID:               502

Date/Time:             2015-10-31 04:27:31.127 +0000
OS Version:            Mac OS X 10.10.5 (14F1021)
Report Version:        11
Anonymous UUID:        A253C178-20B4-3E38-68EE-8C0917EB932F


Time Awake Since Boot: 42000 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGTRAP)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib           0x00007fff8ce48c82 __kill + 10
1   ufo                              0x000000010f2aa33c Com_BreakIntoDebugger() + 508
2   ufo                              0x000000010f3979de Sys_Backtrace() + 30
3   ufo                              0x000000010f2a9928 Com_Error(int, char const*, ...) + 552
4   ufo                              0x000000010f2a103d CM_AddMapTile(char const*, char const*, bool, int, int, unsigned char, mapData_s*, mapTiles_s*) + 653
5   ufo                              0x000000010f2a0478 CM_LoadMap(char const*, bool, char const*, char const*, mapData_s*, mapTiles_s*) + 920
6   ufo                              0x000000010f2f01b8 SV_Map(bool, char const*, char const*, bool) + 1080
7   ufo                              0x000000010f2ec636 SV_Map_f() + 678
8   ufo                              0x000000010f297197 Cmd_vExecuteString(char const*, __va_list_tag*) + 407
9   ufo                              0x000000010f2953fa Cmd_ExecuteString(char const*, ...) + 362
10  ufo                              0x000000010f29524b Cbuf_Execute() + 491
11  ufo                              0x000000010f15b032 CL_SendCommand() + 18
12  ufo                              0x000000010f15af7b CL_Frame(int, void*) + 299
13  ufo                              0x000000010f2aed8b tick_timer(int, void*) + 1531
14  ufo                              0x000000010f2ae3f0 Qcommon_Frame() + 240
15  ufo                              0x000000010f39560d main + 93
16  libdyld.dylib                    0x00007fff91faf5c9 start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib           0x00007fff8ce4a232 kevent64 + 10
1   libdispatch.dylib                0x00007fff8c7ef26e _dispatch_mgr_thread + 52

Thread 2:
0   libsystem_kernel.dylib           0x00007fff8ce4994a __workq_kernreturn + 10
1   libsystem_pthread.dylib          0x00007fff8ff643dd start_wqthread + 13

Thread 3:: com.apple.audio.IOThread.client
0   libsystem_kernel.dylib           0x00007fff8ce444de mach_msg_trap + 10
1   libsystem_kernel.dylib           0x00007fff8ce4364f mach_msg + 55
2   com.apple.audio.CoreAudio        0x00007fff8db33544 HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned int, unsigned int, mach_msg_header_t*, bool, unsigned int) + 98
3   com.apple.audio.CoreAudio        0x00007fff8db334d2 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 42
4   com.apple.audio.CoreAudio        0x00007fff8db31a05 HALC_ProxyIOContext::IOWorkLoop() + 1089
5   com.apple.audio.CoreAudio        0x00007fff8db314f2 HALC_ProxyIOContext::IOThreadEntry(void*) + 88
6   com.apple.audio.CoreAudio        0x00007fff8db313c3 HALB_IOThread::Entry(void*) + 157
7   libsystem_pthread.dylib          0x00007fff8ff6705a _pthread_body + 131
8   libsystem_pthread.dylib          0x00007fff8ff66fd7 _pthread_start + 176
9   libsystem_pthread.dylib          0x00007fff8ff643ed thread_start + 13

Thread 4:
0   libsystem_kernel.dylib           0x00007fff8ce444de mach_msg_trap + 10
1   libsystem_kernel.dylib           0x00007fff8ce4364f mach_msg + 55
2   com.apple.CoreFoundation         0x00007fff8d1e2eb4 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation         0x00007fff8d1e237b __CFRunLoopRun + 1371
4   com.apple.CoreFoundation         0x00007fff8d1e1bd8 CFRunLoopRunSpecific + 296
5   com.apple.AppKit                 0x00007fff9224d56b _NSEventThread + 137
6   libsystem_pthread.dylib          0x00007fff8ff6705a _pthread_body + 131
7   libsystem_pthread.dylib          0x00007fff8ff66fd7 _pthread_start + 176
8   libsystem_pthread.dylib          0x00007fff8ff643ed thread_start + 13

Thread 5:: GameThread
0   libsystem_kernel.dylib           0x00007fff8ce49136 __psynch_cvwait + 10
1   libSDL2-2.0.0.dylib              0x000000011094189f SDL_CondWait_REAL + 14
2   ufo                              0x000000010f2ed1f5 SV_RunGameFrameThread(void*) + 53
3   libSDL2-2.0.0.dylib              0x000000011090880a SDL_RunThread + 60
4   libSDL2-2.0.0.dylib              0x0000000110941233 RunThread + 9
5   libsystem_pthread.dylib          0x00007fff8ff6705a _pthread_body + 131
6   libsystem_pthread.dylib          0x00007fff8ff66fd7 _pthread_start + 176
7   libsystem_pthread.dylib          0x00007fff8ff643ed thread_start + 13

Thread 6:
0   libsystem_kernel.dylib           0x00007fff8ce4994a __workq_kernreturn + 10
1   libsystem_pthread.dylib          0x00007fff8ff643dd start_wqthread + 13

Thread 7:
0   libsystem_kernel.dylib           0x00007fff8ce4994a __workq_kernreturn + 10
1   libsystem_pthread.dylib          0x00007fff8ff643dd start_wqthread + 13

Thread 8:

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000010  rcx: 0x00007fff50ab6cd8  rdx: 0x0000000000000000
  rdi: 0x000000000000a7ce  rsi: 0x0000000000000005  rbp: 0x00007fff50ab6cf0  rsp: 0x00007fff50ab6cd8
   r8: 0x0000000000000006   r9: 0x00007ffd07400000  r10: 0x00007fff771e45e0  r11: 0x0000000000200202
  r12: 0x0000000000000038  r13: 0x00007fff50ab6d88  r14: 0x00007fff50ab6d68  r15: 0x00007fff50ab6d78
  rip: 0x00007fff8ce48c82  rfl: 0x0000000000200202  cr2: 0x000000010f4812fc
 
Logical CPU:     0
Error Code:      0x02000025
Trap Number:     133

Regards,
Carlos

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: 2.6 mission and base attack errors
« Reply #1 on: October 31, 2015, 03:27:29 pm »
Did you compile the maps? If you downloaded from our server you might be missing some maps: those that have changed since our buildbot died (see also this thread)

Offline cmmps

  • Rookie
  • ***
  • Posts: 18
    • View Profile
Re: 2.6 mission and base attack errors
« Reply #2 on: October 31, 2015, 09:19:57 pm »
Hi....

Well, I followed the instructions for MAC and after "make" and did a "make lang models maps-sync".
In fact, I noticed that by running "make maps-sync" or "python ./contrib/map-get/update.py", some maps return the message "version mismatch, skip update" and in the end, the result is: 0 upgraded, 69 version mismatched, 793 already up to date
Exactly as described in the thread you linked!

I remember "make maps" on Linux... I tried now and got "make: Nothing to be done for `maps'."

So, if I still have to compile maps... Could you be so kind and remember me how to do it? I don't remember...  :-[

EDIT: I remember a ufo2map but I also noticed on make maps-sync: "WARNING: ufo2map source code mismatch"
         And by typing, for instance: "./ufo2map mine.map"
         I get: Error: "file 'mine.map' doesn't exist"
         But the file is on "./base/maps"
         How can I compile the missing ".bsp"?

Thanks,
« Last Edit: October 31, 2015, 10:11:50 pm by cmmps »

Offline anonymissimus

  • Sergeant
  • *****
  • Posts: 347
    • View Profile
Re: 2.6 mission and base attack errors
« Reply #3 on: November 01, 2015, 12:44:09 am »
How can I compile the missing ".bsp"?
e.g.
./ufo2map maps/b/aliencont.map
works here.
Do that from the project root, where ufo2map is. So the base/ folder gets auto-added or something.

I also had 69 maps version mismatched. And b/* (human base) was one of the places with lots of .bsps missing.
You can also delete or comment out the continue on line 141 in contrib/map-get/update.py to make it ignore version mismatches, but I was advised against doing that in the other thread.

So, did you compile UFO:AI yourself ? AFAIK there is currently no MacOS developer and no MacOs releases thanks to that. Realistically you have to expect quite a number of problems/bugs/crashes that you and only YOU get and none else and you won't get much help with them.
What backtraces are those that you posted ? You should compile a debug executable and run it under gdb, since you already can compile it's not far to that.
« Last Edit: November 01, 2015, 12:45:42 am by anonymissimus »

Offline cmmps

  • Rookie
  • ***
  • Posts: 18
    • View Profile
Re: 2.6 mission and base attack errors
« Reply #4 on: November 01, 2015, 02:04:58 am »
Thank you.

Yes, I compiled the code but I had to make some workarounds macports.
The only problem is that gdb is having now problems on Mac but I may try it again if I get more troubles.
That backtrace was generated by the OS after I clicked to break to debug.

I still have a Linux box but working as a server... Sometimes I really miss it a lot but I can't say I'm not happy with Mac (although it crashes sometimes) but it's always better than M$ (IMHO)...  :P I need to fix my Linux laptop...

Thank you for your help. I'm now compiling the maps!  8)