Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636034 - app-emulation/wine-vanilla-2.19:2.19[ssl] - error while running apps: err:ntdll:NtQueryInformationToken Unhandled Token Information class 24!
Summary: app-emulation/wine-vanilla-2.19:2.19[ssl] - error while running apps: err:ntd...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-31 13:46 UTC by Devang M
Modified: 2018-05-12 05:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Devang M 2017-10-31 13:46:20 UTC
Specifically, Installing and running the battle.net client. I get this error in the wine logs: err:ntdll:NtQueryInformationToken Unhandled Token Information class 24!

Turning off the ssl USE flag lets the battle.net client run fine. 

My wine-vanilla USE flags: 
[ebuild   R   ~] app-emulation/wine-vanilla-2.19:2.19::gentoo  USE="X alsa cups dos fontconfig gecko gphoto2 gsm gstreamer jpeg lcms ldap mp3 ncurses netapi nls odbc opencl opengl osmesa pcap perl png prelink pulseaudio realtime run-exes samba scanner threads truetype udev udisks v4l xcomposite xinerama xml -capi -custom-cflags -mono -openal -oss (-selinux) -ssl {-test}" ABI_X86="32 64 (-x32)" LINGUAS="en en_US -ar -bg -ca -cs -da -de -el -eo -es -fa -fi -fr -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR -pt_PT -rm -ro -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW"

My gnutls USE flags:
[ebuild   R   ~] net-libs/gnutls-3.5.16:0/30::gentoo  USE="cxx examples guile idn nls openpgp openssl pkcs11 seccomp tls-heartbeat tools zlib -dane -doc -sslv2 -sslv3 -static-libs {-test} -test-full -valgrind" ABI_X86="32 (64) (-x32)" LINGUAS="en -cs -de -fi -fr -it -ms -nl -pl -sv -uk -vi -zh_CN"


I am using WINEARCH="win64"
This error can be reproduced by building wine-vanilla-2.19 and running winetricks msxml4 msxml6 corefonts wininet and then trying to install StarCraft-II-Setup.exe from the blizzard website. 


emerge --info: 
Portage 2.3.8 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.25-r8, 4.12.12-gentoo x86_64)
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-AMD_Ryzen_7_1700_Eight-Core_Processor-with-gentoo-2.4.1
KiB Mem:    65972572 total,  53789864 free
KiB Swap:   68157436 total,  68157436 free
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.32.1::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::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-r8::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 4"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache 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="https://github.com/gentoo-mirror/gentoo.git"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j32"
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 acl acpi adns alsa amd64 androiddump appstream atsc berkdb binary bluetooth branding bzip2 cairo ccache cdda cdr channels cli coinmp commercial context corefonts cracklib crypt cryptsetup cuda cups curl cxx d3d9 dbus demosaic development device-lib djvu dlz dos dri drm dts dtv dvd dvdr dvi eclipse egl emboss encode epub examples exif fam fec ffmpeg fftw firefox firmware flac fontconfig fontforge fortran gdbm gecko geoip gif gimp github glamor glpk gltf gnome gnuplot gnutls gpg gphoto2 gpm graphicsmagick graphite graphviz grc gsm gstreamer gtk gtk3 gui guile hardened iconv icu int64 introspection ipv6 ivorbis jack java javafx jbig jce jit jpeg jpeg2k kde lcms ldap libnotify libssh libxml2 log lzma mad mcs51 metis minizip mng modules mp3 mp4 mpeg multilib mumps nautilus ncurses networkmanager nghttp2 nistbeacon nls noaa non-free nptl office ogg okteta opencl opengl openmax openmp openpgp openssl orc packihx pager pam pango pcap pcre pcre16 pdf pdfimport performance-counters perl pgo pic pkcs11 plymouth png policykit portaudio postscript ppds prelink profiler pulseaudio qt3support qt4 qt5 qthelp rar raw readline realtime run-exes s3tc samba sbc sdbinutils sdcdb sdl seccomp semantic-desktop session smi smp snappy sndfile spandsp sparse spell sqlite sshdump ssl startup-notification svg t1lib taglib tcpd tfshark themes theora threads thumbnail tiff tools trellis truetype ucsim udev udisks uhd unicode upower urandom usb utils uvm v4l vaapi vdpau vim-syntax vlc vocoder vorbis wavelet webp widevine widgets wxwidgets x264 xa xattr xcb xcomposite xinerama xml xps xscreensaver xv xvid xvmc zeromq 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Adam Feldman gentoo-dev 2017-10-31 15:23:01 UTC
Do you experience this issue with other applications?  Application specific bugs are generally better suited for an upstream bug report (winehq.org)
Have you been able to reproduce this on other versions of wine? 2.0, 2.5, etc?
Comment 2 Devang M 2017-10-31 15:54:39 UTC
(In reply to NP-Hardass from comment #1)
> Do you experience this issue with other applications?  Application specific
> bugs are generally better suited for an upstream bug report (winehq.org)
> Have you been able to reproduce this on other versions of wine? 2.0, 2.5,
> etc?

I've installed wine-staging-2.18 and wine-vanilla-2.19, switching between them using eselect and I'm seeing this error on both (when the ssl USE flag is enabled). I can try an older version. I think it might have something to do with gnutls, and it's USE flags and dependencies, but that is just a hunch.
Comment 3 Devang M 2017-11-02 20:47:33 UTC
Older wine-vanilla and staging past 2.13 give me different errors altogether, and newer ones give me the same error with ssl USE flag on. 

The battle.net client starts in offline mode, and I can play the game I want with SSL turned off. I still see an error in the logs: err:secur32:SECUR32_initSchannelSP TLS library not found, SSL connections will fail but it does not crash the game or blizzard client. Instead of err:ntdll:NtQueryInformationToken Unhandled Token Information class 24! which does seem to crash the blizzard client. 

I am not sure if anyone else is seeing the same behaviour, as it could have something to do with my combinations of USE flags. Not sure how to test more, or take it upstream.
Comment 4 Devang M 2018-04-18 09:05:14 UTC
The newest wine-staging from bobwya layman runs battle.net fine, with the ssl USE flag on.
Comment 5 Devang M 2018-05-12 05:16:38 UTC
Newest staging 3.7 without layman repos works too.