View Issue Details

IDProjectCategoryView StatusLast Update
0000871LDMudCompilation, Installationpublic2019-11-19 16:46
ReporterDeaddy Assigned ToGnomi  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0000871: ldmud 3.6 compiled with gcc 9.2 segfaults at start (probably due to memory allocator)
DescriptionI build the ldmud with settings/morgengrauen. Afterwards execution of ldmud immediately segfaults.
When I add with_malloc=sysmalloc to settings/morgengrauen after Zesstra's suggestion, this error disappears. Happens with current git version (I actually tested multiple checkouts on the master branch).
Steps To Reproducegit clone https://github.com/ldmud/ldmud.git
cd ldmud
settings/morgengrauen
make all
./ldmud
Additional InformationCOLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/9.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-9.2.0/configure --disable-libssp --disable-multilib --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/9.2.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/9.2.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/9.2.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/9.2.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9.2.0 --enable-clocale=gnu --host=x86_64-pc-linux-gnu --enable-obsolete --disable-werror --enable-libmudflap --enable-secureplt --enable-lto --with-system-zlib --without-cloog --with-bugurl=http://bugs.funtoo.org --with-pkgversion='Funtoo 9.2.0' --enable-stage1-checking=assert,runtime,misc,tree,gc,rtlflag --enable-checking=assert,runtime --enable-languages=c,c++,fortran --disable-libgcj --enable-threads=posix --enable-__cxa_atexit --enable-libstdcxx-time --enable-libgomp --enable-bootstrap --enable-shared --build=x86_64-pc-linux-gnu --disable-libsanitizer --enable-default-pie --enable-default-ssp --disable-libstdcxx-pch --disable-vtable-verify --disable-libvtv --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/9.2.0/python --enable-nls --with-included-gettext --with-arch=znver1
Thread model: posix
gcc version 9.2.0 (Funtoo 9.2.0)

Faulty ldmud binary is somewhat temporarily available under
http://deaddy.net:8000/ldmud
and coredump
http://deaddy.net:8000/core
If it's broken mud tm deaddy@morgengrauen or tizona@morgengrauen so I can restart the server, at least a few days it should be able to reside there.
TagsNo tags attached.
External Data (URL)

Activities

Gnomi

2019-11-17 22:08

manager   ~0002483

Could you please try the following branch: https://github.com/amotzkau/ldmud/tree/871-nullpointer
I don't have GCC 9 to check for myself.

Deaddy

2019-11-18 21:35

reporter   ~0002484

I can't build that one because of openssl:
make: *** [<builtin>: pkg-openssl.o] Error
IIRC I only managed to build 3.6 versions since some openssl update.

Gnomi

2019-11-18 22:02

manager   ~0002485

I don't understand. My branch is just the master you built with a few lines in slaballoc.c changed. Nothing related to openssl.

Deaddy

2019-11-19 07:25

reporter   ~0002486

Excuse me, I forgot to checkout the branch.

That seems to fix it.

Issue History

Date Modified Username Field Change
2019-11-17 20:27 Deaddy New Issue
2019-11-17 22:08 Gnomi Note Added: 0002483
2019-11-18 21:35 Deaddy Note Added: 0002484
2019-11-18 22:02 Gnomi Note Added: 0002485
2019-11-19 07:25 Deaddy Note Added: 0002486
2019-11-19 16:46 Gnomi Assigned To => Gnomi
2019-11-19 16:46 Gnomi Status new => assigned
2019-11-19 16:46 Gnomi Status assigned => resolved
2019-11-19 16:46 Gnomi Resolution open => fixed