Opened 4 years ago

Closed 3 years ago

#5644 closed defect (needsinfo)

Assertion failed: "logicalPerPackage % maxCoresPerPackage == 0"

Reported by: sumpfralle Owned by:
Priority: If Time Permits Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description

Version: 0.0.23.1-1 (Debian package) System: i386 (32 bit)

I received the following log output a few seconds after starting oad:

TIMER| InitVfs: 307.618 ms
Writing the mainlog at /home/lars/.config/0ad/logs/mainlog.html
TIMER| CONFIG_Init: 161.276 ms
Sound: AlcInit success, using OpenAL Soft
TIMER| shutdown ConfigDB: 3.668 us
TIMER| resource modules: 521.074 ms
TIMER TOTALS (9 clients)
-----------------------------------------------------
  tc_pool_alloc: 0 c (0x)
  tc_png_decode: 0 c (0x)
  tc_dds_transform: 0 c (0x)
  tc_transform: 0 c (0x)
  tc_plain_transform: 0 c (0x)
  tc_ShaderGLSLLink: 0 c (0x)
  tc_ShaderGLSLCompile: 0 c (0x)
  tc_ShaderValidation: 0 c (0x)
  xml_validation: 0 c (0x)
-----------------------------------------------------
TIMER| shutdown misc: 212.597 us
TIMER| InitVfs: 89.158 ms
Writing the mainlog at /home/lars/.config/0ad/logs/mainlog.html
TIMER| CONFIG_Init: 2.76169 ms
Sound: AlcInit success, using OpenAL Soft
topology.cpp(105): Assertion failed: "logicalPerPackage % maxCoresPerPackage == 0"
Assertion failed: "logicalPerPackage % maxCoresPerPackage == 0"
Location: topology.cpp:105 (MaxLogicalPerCore)

Call stack:

(0x9ad3e5) /usr/games/pyrogenesis(+0x5a43e5) [0x9ad3e5]
(0x964fbd) /usr/games/pyrogenesis(+0x55bfbd) [0x964fbd]
(0x966134) /usr/games/pyrogenesis(+0x55d134) [0x966134]
(0x96663a) /usr/games/pyrogenesis(+0x55d63a) [0x96663a]
(0x9a771b) /usr/games/pyrogenesis(+0x59e71b) [0x9a771b]
(0x9da1f2) /usr/games/pyrogenesis(+0x5d11f2) [0x9da1f2]
(0x9a7840) /usr/games/pyrogenesis(+0x59e840) [0x9a7840]
(0x68d5d1) /usr/games/pyrogenesis(+0x2845d1) [0x68d5d1]
(0x6836c9) /usr/games/pyrogenesis(+0x27a6c9) [0x6836c9]
(0x4a5cbe) /usr/games/pyrogenesis(+0x9ccbe) [0x4a5cbe]
(0x491c56) /usr/games/pyrogenesis(+0x88c56) [0x491c56]
(0xb64bc7e1) /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0xb64bc7e1]
(0x4a0841) /usr/games/pyrogenesis(+0x97841) [0x4a0841]

errno = 0 (Error during IO)
OS error = ?

The log output is presented in a separate window. After chosing continue, the game opens the main screen and works as expected.

Attachments (1)

system_info.txt (6.0 KB ) - added by sumpfralle 4 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by Stan, 4 years ago

Hello can you please attach your system_info.txt ? see ReportingErrors and GameDataPaths, we currently have an issue with Ryzen CPUs.

by sumpfralle, 4 years ago

Attachment: system_info.txt added

comment:2 by Stan, 4 years ago

Are all your cores enabled? Did you disable hyperthreading ?

comment:3 by sumpfralle, 4 years ago

Are all your cores enabled?

yes

Did you disable hyperthreading?

I am quite sure, it is enabled. The following output confirms this, I guess:

$ lscpu | head
Architecture:                    i686
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   36 bits physical, 48 bits virtual
CPU(s):                          4
On-line CPU(s) list:             0-3
Thread(s) per core:              2
Core(s) per socket:              2
Socket(s):                       1

$ head /sys/devices/system/cpu/*/online
==> /sys/devices/system/cpu/cpu1/online <==
1

==> /sys/devices/system/cpu/cpu2/online <==
1

==> /sys/devices/system/cpu/cpu3/online <==
1

The most exotic detail of my setup is probably the 32 bit system (i686 instead of amd64).

comment:4 by Stan, 4 years ago

Do you have the possibility to clone either the svn version or the git version and compile it yourself? This way we could look at why logicalPerPackage % maxCoresPerPackage != 0

Version 0, edited 4 years ago by Stan (next)

comment:5 by elexis, 4 years ago

Try to disable the UserReporter.

I suppose you can't do that in the menu as it crashes before opening the menu.

But you could disable it in the config file.

You can add the following line to user.cfg:

userreport.enabledversion = "0"

@wiki:GameDataPaths

comment:6 by Stan, 3 years ago

Resolution: needsinfo
Status: newclosed
Note: See TracTickets for help on using tickets.