[Bug 30051] New: Virtual Playtable can't load bass.dll

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Mar 1 10:18:41 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=30051

             Bug #: 30051
           Summary: Virtual Playtable can't load bass.dll
           Product: Wine
           Version: 1.3.37
          Platform: x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: eurekafag at eureka7.ru
    Classification: Unclassified


This is the "Magic: The Gathering" implementation written on Java. The game is
freeware, you can download it from their site:
http://virtualplaytable.com/downloads.php Since there's no native version yet I
tried to run it on wine and succeeded but I experienced strange behavior in the
process. The game (or rather the included JRE) seems to require BASS.dll but it
doesn't contain it and runs fine on Windows without it. But on wine it shows a
message box "The procedure entry point BASS_Init could not be located in the
dynamic link library BASS.dll". So I downloaded this DLL which is also freeware
from http://www.un4seen.com/download.php?bass24 But it didn't help. Then I
tried to debug and see what's wrong inside using WINEDEBUG=+relay wine
Playtable.exe > log.txt 2>&1 And the game suddenly started. It still shows the
error when I run it without the debug variable or when I use debug but redirect
the output to /dev/null but it runs fine if I redirect it to /dev/zero. Strange
enough and I tested it on two different PCs on wine 1.3.37 and 1.4rc5 built by
myself from git without any 3rd party patches. A perfect case of a heisenbug
(http://en.wikipedia.org/wiki/Heisenbug).

I make a cautious assumption that it somehow connected to the speed of the
execution. Maybe a race condition or such. When program is being debugged it
slows down and bass.dll has enough time to decrypt and unpack itself (yes, it
looks like heavily obfuscated). When I redirect the debug output to /dev/null
the slowdown may be not big enough comparing to /dev/zero. I don't know.

My PCs:
1) Intel G620, 4 Gb RAM, integrated video (128 Mb), 1.5 Tb HDD, Debian Testing
i386, wine-git 1.3.37 and then due to bug #28693 1.4rc5 with the same result.
2) Core i7 2600, 16 Gb RAM, NVIDIA GeForce GTX 560 Ti, 2.5 Tb HDD, Debian
Testing x86_64, wine 1.3.37.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list