The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: JHGuitarFreak on July 10, 2012, 12:13:19 pm



Title: Interesting error post-compile on the most recent svn
Post by: JHGuitarFreak on July 10, 2012, 12:13:19 pm
I decided to check out the most recent SVN just to screw around and to see what's new.
Whenever I try to go to "Settings" I get hit with a PANIC:
(http://i.imgur.com/ay9CBs.jpg) (http://i.imgur.com/ay9CB.jpg)

Obviously no errors during the compile and trying to debug it only makes my brain hurt more:

Code:
'uqmdebug.exe': Loaded 'C:\Windows\SysWOW64\avrt.dll', No symbols loaded.
The thread 'Win32 Thread' (0xa90) has exited with code 0 (0x0).
'uqmdebug.exe': Unloaded 'C:\Windows\SysWOW64\avrt.dll'
The thread 'Win32 Thread' (0x3b0) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xc78) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xe28) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xcb4) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x1f8) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0xa8c) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0x12f4) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0x788) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0xa98) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0x1108) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0x1174) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0x1098) has exited with code 1 (0x1).
The program '[2780] uqmdebug.exe: Native' has exited with code 1 (0x1).


Title: Re: Interesting error post-compile on the most recent svn
Post by: JHGuitarFreak on July 16, 2012, 03:12:46 am
This error does not happen on a build of 0.7.0.

Although I checked to see if it happened on the SVN snapshots and it indeed does it there as well.
I don't see any extra content to download so I'm assuming this is a bug.


Title: Re: Interesting error post-compile on the most recent svn
Post by: Novus on July 21, 2012, 02:46:36 pm
I've reported bug #1168 (https://bugs.uqm.stack.nl/show_bug.cgi?id=1168), which involves a buffer overflow error on 64-bit systems in current SVN. With current SVN, I can't even reach the main menu!

After fixing this, I see no problems after some cursory testing of SuperMelee, the setup menu and the main game, so it's possible that what you're seeing is a consequence of this problem.


Title: Re: Interesting error post-compile on the most recent svn
Post by: oldlaptop on July 21, 2012, 03:03:02 pm
I can confirm this occurs for me with latest UQM SVN on a Debian Squeeze i386 (32 bit) system. I get an XIO error in connection with it as well:

Code:
~/uqm-svn-03778-20120227.0000$ ./uqm --configdir=~/uqm-svn
The Ur-Quan Masters v0.7.0 (compiled Jul 21 2012 08:47:14)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Netplay protocol version 0.4. Netplay opponent must have UQM 0.6.9 or later.
~snip~
Trying to get undefined resource 'music.mainmenu'
        'base/ui/setupmenu.txt' -- 8891 bytes
        'base/ui/setupmenu.ani' -- 112 bytes
PANIC: Incorrect number of Choice Options
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 104 requests (103 known processed) with 8 events remaining.
Do not know how to display an error box



Title: Re: Interesting error post-compile on the most recent svn
Post by: JHGuitarFreak on July 24, 2012, 12:58:05 am
I've reported bug #1168 (https://bugs.uqm.stack.nl/show_bug.cgi?id=1168), which involves a buffer overflow error on 64-bit systems in current SVN. With current SVN, I can't even reach the main menu!

After fixing this, I see no problems after some cursory testing of SuperMelee, the setup menu and the main game, so it's possible that what you're seeing is a consequence of this problem.

Just tried your patch and I still get the error.


Title: Re: Interesting error post-compile on the most recent svn
Post by: Novus on July 24, 2012, 12:21:33 pm
Just tried your patch and I still get the error.
On further examination, I get the impression you're compiling a 32-bit UQM on 64-bit Windows (WOW64 is apparently the Win32 emulation layer for Win64), so you're probably not affected by that particular bug.

However, if we assume you aren't getting memory corruption, the most likely problem is that your copy of content/base/ui/setupmenu.txt is out of date. Some new options were added after 0.7, so you can't use the 0.7 version of the file with current SVN.

I decided to check out the most recent SVN just to screw around and to see what's new.
You did check out the new content from SVN, too, didn't you? From your following comment, I get the impression that may not be the case:
I don't see any extra content to download so I'm assuming this is a bug.
If you're using the SVN snapshots (http://uqm.stack.nl/files/snapshots/), there seems to be something wrong with the content updates.


Title: Re: Interesting error post-compile on the most recent svn
Post by: JHGuitarFreak on July 24, 2012, 04:51:28 pm
Well now I feel sheepish.

I assumed that because the SVN Snapshots didn't have a content update that I wouldn't need to checkout the content.


Title: Re: Interesting error post-compile on the most recent svn
Post by: Novus on July 24, 2012, 09:05:52 pm
Well now I feel sheepish.

I assumed that because the SVN Snapshots didn't have a content update that I wouldn't need to checkout the content.
I'm glad I managed to clear that up. Running "svn update" over the entire UQM repository shouldn't take more than a few seconds if there are few or no changes, so there is little point in only updating the source code.


Title: Re: Interesting error post-compile on the most recent svn
Post by: meep-eep on July 26, 2012, 06:29:26 pm
Content snapshots work again.