WineHQ
Bug Tracking Database – Bug 33657

 Bugzilla

 

Last modified: 2013-11-15 13:40:37 UTC  

Garena didn't start with ADMINISTRATOR privileges

Bug 33657 - Garena didn't start with ADMINISTRATOR privileges
Garena didn't start with ADMINISTRATOR privileges
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: msvcrt
1.5.30
x86-64 Linux
: P1 normal
: ---
Assigned To: Mr. Bugs
http://intl.garena.com/
: download
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-05-25 15:18 UTC by Josef Schlehofer
Modified: 2013-11-15 13:40 UTC (History)
2 users (show)

See Also:
Regression SHA1:
Fixed by SHA1: 5f2e48f737ecfa2e397d1148474824fcb70f4d9d
Distribution: ---
Staged patchset:


Attachments
Stable release Wine log (21.82 KB, text/plain)
2013-05-25 15:18 UTC, Josef Schlehofer
Details
1.5.3.0 log (33.11 KB, text/plain)
2013-05-25 15:21 UTC, Josef Schlehofer
Details
full log from 1.5.3.0 (541.49 KB, text/plain)
2013-05-27 06:18 UTC, Josef Schlehofer
Details
terminal log (3.49 KB, text/plain)
2013-10-03 18:16 UTC, Josef Schlehofer
Details
terminal log (250 bytes, text/plain)
2013-10-03 18:21 UTC, Josef Schlehofer
Details
terminal log (1.10 KB, text/plain)
2013-10-03 18:25 UTC, Josef Schlehofer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Josef Schlehofer 2013-05-25 15:18:41 UTC
Created attachment 44553 [details]
Stable release Wine log

Garena sometimes needs administrator run, but Garena chat works.

http://imageshack.us/a/img560/6475/snmekobrazovkypozen2013g.png

But other games and apps working successfully.
(Example: Install steam, install cs:go, playing cs:go, playing W3 campaing)
Comment 1 Nikolay Sivov 2013-05-25 15:21:14 UTC
Update to the latest development release and try again.
Comment 2 Josef Schlehofer 2013-05-25 15:21:36 UTC
Created attachment 44554 [details]
1.5.3.0 log
Comment 3 Josef Schlehofer 2013-05-25 15:22:54 UTC
(In reply to comment #1)
> Update to the latest development release and try again.

I having now version 1.5.30, but waiting for 1.5.3.1 when will be available from Ubuntu ppa
Comment 4 Josef Schlehofer 2013-05-27 06:18:40 UTC
Created attachment 44570 [details]
full log from 1.5.3.0
Comment 5 Austin English 2013-05-29 12:43:12 UTC
Not critical. Please don't change the wine version.
Comment 6 Josef Schlehofer 2013-05-29 16:02:49 UTC
After reinstall wine and upgrade today to version 1.5.3.1. I will say it's very critical. Because, Garena does not start anymore, now only shows that error when i start it.

Log is same.

Previously at least it showed login and when I signed up and see the error screen on comment #1
Comment 7 Austin English 2013-05-29 17:39:02 UTC
(In reply to comment #6)
> After reinstall wine and upgrade today to version 1.5.3.1. I will say it's very
> critical. Because, Garena does not start anymore, now only shows that error
> when i start it.

Did this work under a previous version of wine?
Comment 8 Josef Schlehofer 2013-05-30 06:24:16 UTC
I test only: 1.4.1  ; 1.5.3.0 ; 1.5.3.1 and didn't start now. After last Garena update, 

I can upload log from 1.5.3.1, but i think it's will be same from 1.5.3.0

This problem I had, but deal with it if I remember correctly re-install Wine and then it went. Now it did not help and I even tried format HDD and reinstall the OS and still nothing.
Comment 9 Josef Schlehofer 2013-05-30 06:30:59 UTC
Too bad that does not edit comments.

I have also tried just about every version of Windows to change through Wine, but it's still the same. :/
Comment 10 Fiona Ebner 2013-06-13 10:55:44 UTC
Still in 1.6rc1.

Garena can be downloaded here for free: http://intl.garena.com/ if somebody wants to investigate ;)
Comment 11 Esme Povirk 2013-08-21 13:12:13 UTC
From a +relay log:

002b:Call msvcrt._waccess_s(001a83c8 L"C:\\users\\meh\\Application Data\\GarenaPlus\\",00000006) ret=007790fd
002b:Call KERNEL32.GetFileAttributesW(001a83c8 L"C:\\users\\meh\\Application Data\\GarenaPlus\\") ret=7e6bc837
002b:Ret  KERNEL32.GetFileAttributesW() retval=ffffffff ret=7e6bc837
002b:Ret  msvcrt._waccess_s() retval=ffffffff ret=007790fd
002b:Call user32.MessageBoxW(00000000,00bc7cb8 L"Fatal error: folder access denied! Please try to run Garena Plus as administrator once to solve this problem.",00be96a4 L"Garena Plus",
00000000) ret=00779258

It seems to be checking for write access on a folder that doesn't exist yet. I haven't tested whether this behaves the same on Windows, but native msvcr90/msvcrt works around this.
Comment 12 Esme Povirk 2013-08-21 14:45:30 UTC
According to MSDN, the _s variations of _access/_waccess return an error code on failure, not -1.
Comment 14 invincible 2013-08-30 08:52:58 UTC
Same problem in 1.6 
Works fine in 1.4
Comment 15 Bruno Jesus 2013-08-30 08:56:41 UTC
A patch related to this bug was commited:
http://source.winehq.org/git/wine.git/commit/5f2e48f737ecfa2e397d1148474824fcb70f4d9d

A new test in wine git is required, or wait for wine 1.7.1 and try again.
Comment 16 Fiona Ebner 2013-08-30 12:37:21 UTC
Works for me now.

$ wine --version
wine-1.7.0-324-ga205171
Comment 17 Bruno Jesus 2013-08-30 12:43:11 UTC
(In reply to comment #16)
> Works for me now.
> 
> $ wine --version
> wine-1.7.0-324-ga205171

Thanks for testing, resolving fixed.
Comment 18 Alexandre Julliard 2013-08-30 13:06:18 UTC
Closing bugs fixed in 1.7.1.
Comment 19 Josef Schlehofer 2013-10-03 18:16:07 UTC
Created attachment 46182 [details]
terminal log

Garena will start, thats ok, but after login clicking on LAN or right click on your buddy and start chatting.. Garena will freeze or crash itself.

I used for test wine 1.7.3
Comment 20 Josef Schlehofer 2013-10-03 18:21:27 UTC
Created attachment 46185 [details]
terminal log
Comment 21 Josef Schlehofer 2013-10-03 18:25:02 UTC
Created attachment 46186 [details]
terminal log
Comment 22 Bruno Jesus 2013-10-03 18:35:11 UTC
(In reply to comment #19)
> Garena will start, thats ok, but after login clicking on LAN or right click on
> your buddy and start chatting.. Garena will freeze or crash itself.
> 
> I used for test wine 1.7.3

Please open a new bug.
Comment 23 Anastasius Focht 2013-10-03 18:40:01 UTC
Hello Josef,

please do as Bruno said ... this bug is about Garena complaining with "missing ADMINISTRATOR privileges" message which was closed some time ago.

You current problem "Garena freezes/crashes" seems different hence should be covered by a new bug report (if not already existing).

Regards
Comment 24 Josef Schlehofer 2013-10-03 18:45:45 UTC
Hello,
Then OK, but i didn't want create a new bug report, when it is same program and partially related with this bug report :-)
Comment 25 Alexandre Julliard 2013-11-15 13:40:37 UTC
Removing 1.6.x milestone from bugs included in 1.6.1.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers