Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655778 - games-simulation/flightgear-2018.1.1 has a fatal exception on startup "basic_string::_M_construct null not valid"
Summary: games-simulation/flightgear-2018.1.1 has a fatal exception on startup "basic_...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-15 07:54 UTC by Jiri Pittner
Modified: 2020-10-06 23:42 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gdb trace (gdb_fgfs.txt,10.01 KB, text/plain)
2018-05-17 08:40 UTC, Jiri Pittner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Pittner 2018-05-15 07:54:54 UTC
After update of flightgear (and related packages) to 2018.1.1 or to -9999 version,
I get on startup of fgfs a fatal exception "basic_string::_M_construct null not valid".

By trial, I have found that when I disconnect the USB mouse before starting fgfs, it runs well
(even if I later reconnect the mouse; touchpad of the notebook is always connected).
As simulator controls I am using USB joystick Thrustmaster-TFlight-Hotas and USB rudder pedals Proflight.
Comment 1 Jonas Stein gentoo-dev 2018-05-15 16:58:42 UTC
Thank you for the report. Please recompile and *attach* the logfiles and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Please reopen this ticket (Status:unconfirmed) afterwards.
Comment 2 Jiri Pittner 2018-05-17 08:40:26 UTC
Created attachment 531882 [details]
gdb trace

gdb fgfs and lsusb output
Comment 3 Jiri Pittner 2018-05-17 08:41:03 UTC
jiri@jp:/home/jiri/ emerge --info
Portage 2.3.24 (python 3.4.8-final-0, default/linux/amd64/17.0, gcc-6.4.0, glibc-2.25-r11, 4.15.9-gentoo x86_64)
=================================================================
System uname: Linux-4.15.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-4810MQ_CPU_@_2.80GHz-with-gentoo-2.4.1
KiB Mem:    16337456 total,  14958316 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Wed, 16 May 2018 10:30:02 +0000
Head commit of repository gentoo: 688da4db0a7e233f95f2c292c8c8d7b8fa439274
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.8::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            4.5.4::gentoo, 4.8.5::gentoo, 4.9.3::gentoo, 4.9.4::gentoo, 5.4.0-r3::gentoo, 6.4.0-r1::gentoo, 7.2.0-r1::gentoo, 7.3.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 1

crossdev
    location: /opt/portage
    masters: gentoo science
    priority: 2

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -fno-omit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb /var/lib/i2pd/certificates"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -mtune=native -fno-omit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.supp.name/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://147.251.48.205/pub/linux/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ http://86.49.49.49/pub/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://141.76.119.131/pub/mirrors/gentoo ftp://ftp.sh.cvut.cz/MIRRORS/gentoo ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.supp.name/ rsync://gentoo.mirror.dkm.cz/gentoo/ http://gentoo.mirror.web4u.cz/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/scratch/tmp"
USE="X acl aes alsa amd64 berkdb bzip2 cli crypt cxx dri fortran gcj gdbm hal iconv ipv6 lapack latex linguas_cs linguas_de linguas_en linguas_nl linguas_sk mbox mmx modules multilib multislot ncurses nls nptl openmp pam pcre readline seccomp sse sse2 sse3 sse4 ssl static-libs systemtap tcpd tetex unicode xattr zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau vesa nv fbdev v4l vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Maciej Mrozowski gentoo-dev 2018-05-23 00:02:25 UTC
Could you please provide exact steps you can reproduce it with?
Does some USB hot-insert or USB hot-remove event trigger this as well?
And which combination of plugged USB hardware causes a crash?
I happen to have rudder pedals, yoke and similar joystick class devices so I can try to reproduce and perhaps fix this.
Comment 5 Jiri Pittner 2018-05-24 16:35:47 UTC
Hi, thanks for the offer to help.
I do not need any USB hotplugs to trigger the bug - just with the pedals, joysick and mouse
plugged in, it crashes reproducibly on startup of fgfs.
If I unplug the mouse, leaving the joystick and pedals in, fgfs starts
and runs normally. It is not sensitve on the exact type of mouse - I tried
two different makes, behaves the same way. Also, if I plug the mouse after
fgfs has started, nothing happens and fgfs runs well (but crashes if I try to start it again).

I can also try to run fgfs under gdb, trying to set breakpoints etc.
but I am not familiar with the internals of fgfs. Also, from the trace it seems
to be crashing in libosg.so, and I am not familiar with openscenegraph either.


Here is lsusb:
Bus 002 Device 004: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
Bus 002 Device 036: ID 1241:1166 Belkin MI-2150 Trust Mouse
Bus 002 Device 010: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 009: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 002 Device 008: ID 044f:b108 ThrustMaster, Inc. T-Flight Hotas X Flight Stick
Bus 002 Device 007: ID 06a3:0763 Saitek PLC Pro Flight Rudder Pedals
Bus 002 Device 005: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 002 Device 006: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Bus 002 Device 003: ID 0424:5434 Standard Microsystems Corp. Hub
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 8087:07dc Intel Corp. 
Bus 001 Device 009: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 001 Device 007: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 005: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 004: ID 04ca:704d Lite-On Technology Corp. 
Bus 001 Device 003: ID 138a:003f Validity Sensors, Inc. VFS495 Fingerprint Reader
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Comment 6 Daniel Nilsson 2018-06-18 20:15:37 UTC
I also have what I think is the same problem (with both 2018.1.1 and 2018.2.1, brand new computer so didn't test earlier versions).
I did some testing and found that it is probably some bug in the HID device detection.
For me it doesn't matter if I have a mouse connected and I have no joystick.

You can try starting with debug output to get more info:

fgfs --log-level=debug

For me the last couple of line shown in the console when I get the fatal exception message is this:

HID event input starting up
HID device:0x5631975ccf10 from 0x5631975cd630
No configuration found for device Logitech USB Receiver
HID device:0x5631aafee860 from 0x5631b771ad70
No configuration found for device Logitech USB Receiver
HID device:0x5631abe16710 from 0x5631ad4306e0
Missing serial on device, using path: /dev/hidraw0
No configuration found for device Logitech USB Receiver
HID device:0 from 0

Do you get something similar?
The last line looks suspicious.

What if you start with this (for FG 2018.1):

fgfs --prop:bool:/sim/input/no-hid-input=true

or this (for FG 2018.2):

fgfs --prop:bool:/sim/input/enable-hid=false

With that flightgear starts for me.
So that is my workaround at the moment.

Here is my emerge --info

Portage 2.3.40 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc-2.26-r7, 4.16.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.16.7-gentoo-x86_64-AMD_Ryzen_7_2700X_Eight-Core_Processor-with-gentoo-2.4.1
KiB Mem:    32885220 total,  29732504 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Mon, 18 Jun 2018 17:45:01 +0000
Head commit of repository gentoo: 2b7b7a43ffc99d5a4c5dc1df3417b15960e61bd0
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: no

eclipse
    location: /var/lib/layman/eclipse
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/eclipse-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=16 --load-average=16"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.mdfnet.se/gentoo/ http://ftp.df.lth.se/pub/gentoo/ ftp://trumpetti.atm.fi/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en sv"
MAKEOPTS="-j16 -l16"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acpi alsa amd64 berkdb branding bzip2 cairo cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gtk gtk3 iconv icu java jpeg lcms libnotify libtirpc mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg openexr opengl openmp pam pango pcre pdf png policykit ppds qt3support readline sdl seccomp smp spell sqlite ssl startup-notification svg tiff truetype udev unicode upower usb vaapi vim-syntax vorbis wxwidgets x264 xattr xcb xml xrandr xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en sv" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

games-simulation/flightgear-2018.2.1::gentoo was built with the following:
USE="dbus openmp qt5 udev utils vim-syntax -debug -examples -gdal -test" ABI_X86="(64)"
Comment 7 Daniel Nilsson 2018-06-21 17:42:26 UTC
I got the settings for disabling HID mixed up, sorry.
This is for FG 2018.2.1:

fgfs --prop:bool:/sim/input/no-hid-input=true

and this is for FG 2018.1.1:

fgfs --prop:bool:/sim/input/enable-hid=false
Comment 8 Andrew 2018-06-27 16:56:39 UTC
Exactly the same problem and exactly the same solution. I use a USB mouse.
Comment 9 Jiri Pittner 2018-06-28 19:58:21 UTC
Thanks, this helps!
Anyway, I got yet another usb mouse, cheap genius one, and with
it the error does not happen at all.
Comment 10 Gary E. Miller 2018-11-15 19:14:59 UTC
(In reply to Daniel Nilsson from comment #7)
> I got the settings for disabling HID mixed up, sorry.
> This is for FG 2018.2.1:
> 
> fgfs --prop:bool:/sim/input/no-hid-input=true
> 
> and this is for FG 2018.1.1:
> 
> fgfs --prop:bool:/sim/input/enable-hid=false

Thanks!  Same problem here, same solution!
Comment 11 alcyone 2019-02-17 20:00:12 UTC
I filed a bug upstream and the null manufacturer or product name bug was fixed at 2018.3.0 release.
https://sourceforge.net/p/flightgear/codetickets/2041/
Comment 12 Maciej Mrozowski gentoo-dev 2019-03-17 23:31:05 UTC
Please try and reopen if still happens for you with 2018.3.1 with no workarounds to disable HID. Thanks!
Comment 13 Daniel Nilsson 2019-03-18 20:11:14 UTC
I have tested both 2018.3.1 and 2018.3.2 and I still get the same error without the workaround.
With the workaround both versions are OK.
So the bugfix doesn't work for me, sadly.

(Since I'm not the reporter I can't reopen the bug)
Comment 14 Jiri Pittner 2019-03-18 20:26:28 UTC
I am reopening based on the previous comment.
I do not have the mouse that triggered the error any more
(broken), so I cannot confirm/test it myself.
Comment 15 Daniel Nilsson 2020-02-02 17:34:11 UTC
The same issue is still there in flightgear 2019.1.1, with the same workaround.
Comment 16 Maciej Mrozowski gentoo-dev 2020-08-02 22:34:40 UTC
Daniel, please attach your build log and emerge --info. I cannot reproduce myself. Also try latest 2020.1.2 from portage.
Comment 17 Daniel Nilsson 2020-08-13 16:17:03 UTC
I can no longer reproduce the error with version 2020.1.2.
The command line option workaround is no longer needed for me.
Comment 18 Jiri Pittner 2020-08-24 14:55:21 UTC
I have no longer the mouse which caused the problem.
Comment 19 Maciej Mrozowski gentoo-dev 2020-10-06 23:42:27 UTC
Well, I'm closing this one for now based on Daniel's report. If you experience similar problem, please reopen the bug.
Thanks for report!