Zandronum Chat on our Discord Server Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003908Doomseeker[All Projects] Bugpublic2021-09-24 17:292021-09-27 11:45
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version1.3.2 
Target VersionFixed in Version 
Summary0003908: zandronumbinaries.cpp does not make sure the downloaded Zandronum testing binaries are supported by the CPU architecture
DescriptionA theoretical scenario: An user is running on GNU/Linux using an ARM processor (32-bit or 64-bit). They try to download Zandronum testing binaries. Instead of Doomseeker refusing to download anything or theoretically attempt to download a file appropriate for the architecture build (such as ARM), Doomseeker will always download the x86 (32-bit) binaries.

On Windows (if ever on non-x86), they would always get 32-bit x86 Windows binaries for Zandronum.

The issue is the program didn't check the build or CPU architecture.
Steps To Reproduce
Quote from src/plugins/zandronum/zandronumbinaries.cpp
#ifdef Q_OS_WIN32
#define ZANDRONUM_BINARY_NAME "zandronum.exe"

#ifndef __x86_64__
#define TESTING_BINARY_URL TESTING_BINARY_URL_BASE "linux-x86_64.tar.bz2"

#ifndef Q_OS_DARWIN
#define ZANDRONUM_BINARY_NAME "zandronum"
#define ZANDRONUM_APP_BUNDLE_BIN "/Contents/MacOS/zandronum"
Additional Information
  • QSysInfo::buildCpuArchitecture()
  • QSysInfo::currentCpuArchitecture()
Attached Files

- Relationships
related to 0003905confirmed zandronumbinaries.cpp OS-dependent macro hell is quite ugly (and broken) 

-  Notes
User avatar (0021770)
WubTheCaptain (developer)
2021-09-24 17:30

As of 2021-09-24, does not have desired non-x86/non-x86_64 binaries for Zandronum (e.g. ARM).
User avatar (0021771)
WubTheCaptain (developer)
2021-09-24 17:33

The Zandronumq plugin (engine) does not support downloading test binaries, so that plugin is not affected.
User avatar (0021776)
Zalewa (developer)
2021-09-27 11:45

We should treat this case the same as we treat the Mac case - fail miserably, but properly with an error message :D

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2021-09-24 17:29 WubTheCaptain New Issue
2021-09-24 17:30 WubTheCaptain Note Added: 0021770
2021-09-24 17:30 WubTheCaptain Description Updated View Revisions
2021-09-24 17:33 WubTheCaptain Note Added: 0021771
2021-09-24 17:36 WubTheCaptain Relationship added related to 0003905
2021-09-27 11:45 Zalewa Note Added: 0021776
2021-09-27 11:45 Zalewa Status new => acknowledged

Questions or other issues? Contact Us.


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker