0.2.8.0_rc4: Release process and bugs

Help test release candidates for the next release
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

Clean checkout from b0_2_8_0; crash on startup. Umm, what the? Must you do this in b0_2_8_0?

Code: Select all

Commit by luke-jr on b0_2_8_0 :: armagetronad/src/tools/ (tDirectories.cpp tResourceManager.cpp):
    Fix bug in /. detection code
Commit by luke-jr on b0_2_8_0 :: armagetronad/ (3 files in 2 dirs):
    Check for more potentially dangerous and/or invalid filepaths
Commit by luke-jr on b0_2_8_0 :: armagetronad/src/tools/tDirectories.cpp:
    => hates me

Code: Select all

Warning in tString tPath::GetWritePath(const char*) const in /Users/me/armagetronad/src/tools/tDirectories.cpp:604 : 
 	Could not create path to /Users/me/Library/Application Support/Armagetron Advanced/var/scorelog.txt. Check your user's rights.
Error: Error in int SDL_main(int, char**) in /Users/me/armagetronad/src/tron/gArmagetron.cpp:534 : 
 	var directory not writable or does not exist. It should reside inside your user data directory and should have been created automatically on first start, but something must have gone wrong. Your user data directory is subdirectory named .armagetronad in your home directory.
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft »

There's no place like ::1
antix
On Lightcycle Grid
Posts: 39
Joined: Mon Sep 20, 2004 5:54 pm
Location: Edmonton, Alberta

Post by antix »

Just thought I would post this error with rc4 before the final is released.

On cent OS 3

Code: Select all

armagetronad-dedicated: relocation error: armagetronad-dedicated: undefined symbol: xmlParserInputBufferCreateFilenameDefault
When I attempt to run the program
In Nomine AntiX
Distort!
User avatar
Z-Man
God & Project Admin
Posts: 11710
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Thanks, antix. I assume you were installing from autopackage on an AMD64 system? And you have a version of libxml2 earlier than 2.6.12? Then the error would be "normal" (i.e. sad, but expected), please test the two packages from here:
http://forums.armagetronad.net/viewtopic.php?t=3174

They should either fail to install with errors or work.
antix
On Lightcycle Grid
Posts: 39
Joined: Mon Sep 20, 2004 5:54 pm
Location: Edmonton, Alberta

Post by antix »

Thanx z-man, actualy I'm running a 32-bit system, amd athlon.

I am also trying to find the best way to upgrade the libxml2 without breaking my system.
In Nomine AntiX
Distort!
antix
On Lightcycle Grid
Posts: 39
Joined: Mon Sep 20, 2004 5:54 pm
Location: Edmonton, Alberta

Post by antix »

well, I went for it, lol, upgraded libxml2 to the latest version, and the server now works.

I did a --nodeps option on the rpm for libxml2, and I will upgrade the other packages that were conflicting, so that everything will be compatible.

Thanx again for the quick reply though.
In Nomine AntiX
Distort!
User avatar
Z-Man
God & Project Admin
Posts: 11710
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

With --nodeps, that's expected behaviour as well :)
Which other packages did cause trouble? libstdc++5 is a likely candidate, but the package it contains has a different name on each distribution, so we can't make it a dependency in the generic RPM.
Walking Tree
Match Winner
Posts: 641
Joined: Sun Jul 10, 2005 9:14 am

Post by Walking Tree »

=>
Sorry, but only users granted special access can read topics in this forum.
are you sure you wanted to post this link here in public without reference ? (nosy tree: what forum is that ?)
Last edited by Walking Tree on Wed Mar 15, 2006 11:07 pm, edited 1 time in total.
on the grid as ~free::zombie~
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

It's perfectly fine to post- and you'll never find out.
Image
antix
On Lightcycle Grid
Posts: 39
Joined: Mon Sep 20, 2004 5:54 pm
Location: Edmonton, Alberta

Post by antix »

z-man wrote:With --nodeps, that's expected behaviour as well :)
Which other packages did cause trouble? libstdc++5 is a likely candidate, but the package it contains has a different name on each distribution, so we can't make it a dependency in the generic RPM.
oh it was just the libxml2-devel and something else I forget.

I assume that its not needed anyways for arma to run.

So a dependency for the new version of libxml2 should be fine.
In Nomine AntiX
Distort!
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Post by Jonathan »

Nosy Tree: I know what that forum is, and who probably have access to it, although that doesn't include myself for now. I think I got one more chance than you to get to know it, but I knew of its existence before that. Part of why it is private might be NONE.
meriton
Round Winner
Posts: 256
Joined: Sun Nov 20, 2005 3:33 am

Post by meriton »

I just tried compiling the dedicated server (rc4) for windows in Code::Blocks (gcc). The build completes sucessfully, but the server crashes with a segfault as soon as the round ends.

During compile, I get these warnings:
..\armagetronad\src\network\nNetwork.cpp:1983: warning: 'maxrec' might be used uninitialized in this function
..\armagetronad\src\network\nNetwork.cpp:1984: warning: 'buff' might be used uninitialized in this function
The corresponding lines in the source read:

Code: Select all

    static tArray< unsigned short > storage(2000);
    int maxrec = storage.Len();
    unsigned short * buff = &storage[0];
The official build does not crash.

Any suggestions?
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

Two minor things (over one subject) --

* The cp provided with Mac OS X does not have an -a or -x flag, so dist-hook fails.

* Again, the cp provided with Mac OS X fails with "cp: the -H, -L, and -P options may not be specified with the -r option." when installing the resources. Using -r throws the cp command into legacy mode causing it to fail, I guess. Using -R would make it succeed.
User avatar
Lucifer
Project Developer
Posts: 8742
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

Can we check for this in configure? You know, same way we check for LN_S and then let configure rewrite LN_S with the appropriate command and options?
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

Lucifer wrote:Can we check for this in configure? You know, same way we check for LN_S and then let configure rewrite LN_S with the appropriate command and options?
Yes it could, but gnu coreutils supports using -R, correct? I'm not too worried about not being able to run make dist.
Post Reply