WineHQ
Wine Forums

Board index » WineHQ » Wine Help




 Page 1 of 1 [ 19 posts ] 



 
Author Message
 Post Posted: Sat Nov 07, 2009 6:33 pm 
Offline
Level 3
Level 3

Joined: Sat Nov 07, 2009 6:30 pm
Posts: 99
Hi.
I've seen on AppDB that Jedi Academy was rated Platinium, so I've decided to try it.

I've installed it, but when I want to launch it, I've got the following errors :
Code:
fixme:keyboard:RegisterHotKey ((nil),0,0x00000001,9): stub
wine: Unhandled page fault on read access to 0x7265765f at address 0x7265765f (thread 0009), starting debugger...


I've search, but found any answer to my problem.
Hope someone will can help me.

Thx


Top 
 Post subject:
 Post Posted: Sun Nov 08, 2009 12:44 pm 
Offline
Level 2
Level 2

Joined: Fri Jul 17, 2009 5:01 pm
Posts: 14
I get the RegisterHotKey thing too, but no page fault after, it runs fine for me and has for years.

When I installed the game 5+ years ago, I used the old loki installer from liflg.org, but I don't know if that has anything to do with it. The installer doesn't exist (on that site) anymore, instead they say to just install it normally with wine. I tried clearing out my ~/.wine to see if the loki installer would have done something special to the registry to make it work, but the game ran fine regardless. I think the loki installer may have included a modified .exe without a cd check, but I can't be sure now. Maybe it's something in your ~/.wine directory that's causing problems? I imagine you have other things in there you'd not want to lose, so you could try to make a new wine dir just for Jedi Academy using the WINEPREFIX variable:

Code:
$ export WINEPREFIX=/usr/local/games/jediacademy
$ wine /cdrom/setup.exe
wine: created the configuration directory '/usr/local/games/jediacademy'
...
$ cd /usr/local/games/jediacademy/drive_c/...
$ wine jasp.exe


If this works (run it from the same terminal or (re)set the same WINEPREFIX environment variable in another terminal), you could make up a shell script that sets the WINEPREFIX directory and runs the .exe for you.

That's how I install all of my games/series now, so if I screw one up it won't affect everything else.


Top 
 Post Posted: Sun Nov 08, 2009 6:32 pm 
Offline
Moderator
Moderator

Joined: Sat Feb 23, 2008 2:29 pm
Posts: 6605
Cr0k wrote:
wine: Unhandled page fault on read access to 0x7265765f at address 0x7265765f (thread 0009), starting debugger...

Need the rest of that.


Top 
 Post subject:
 Post Posted: Mon Nov 09, 2009 9:28 am 
Offline
Level 3
Level 3

Joined: Sat Nov 07, 2009 6:30 pm
Posts: 99
I only have that, there's no rest, just an error like on Windows, "jasp.exe has close, etc..."

I've nothing else.


Top 
 Post subject:
 Post Posted: Mon Nov 09, 2009 10:12 am 
Offline
Moderator
Moderator

Joined: Sat Feb 23, 2008 2:29 pm
Posts: 6605
Cr0k wrote:
I only have that, there's no rest, just an error like on Windows, "jasp.exe has close, etc..."

Then run it under winedbg:
Code:
$ wine winedbg jasp.exe
Wine-dbg>cont


Top 
 Post subject:
 Post Posted: Tue Nov 10, 2009 8:03 pm 
Offline
Level 3
Level 3

Joined: Sat Nov 07, 2009 6:30 pm
Posts: 99
Here it is :
Code:
 wine jasp.exe
fixme:keyboard:RegisterHotKey ((nil),0,0x00000001,9): stub
wine: Unhandled page fault on read access to 0x7265765f at address 0x7265765f (thread 0009), starting
debugger...
Unhandled exception: page fault on read access to 0x7265765f in 32-bit code (0x7265765f).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7265765f ESP:0192daa0 EBP:0192eb00 EFLAGS:00210206(  R- --  I   - -P- )
 EAX:0088d628 EBX:0041b493 ECX:00000000 EDX:00000001
 ESI:00000000 EDI:0088d970
Stack dump:
0x0192daa0:  5f786574 676f7270 326d6172 74706f5f
0x0192dab0:  206e6f69 4e5f4c47 65765f56 78657472
0x0192dac0:  6f72705f 6d617267 4c472033 58564e5f
0x0192dad0:  6e6f635f 69746964 6c616e6f 6e65725f
0x0192dae0:  20726564 535f4c47 5f534947 656e6567
0x0192daf0:  65746172 70696d5f 2070616d 535f4c47
Backtrace:
=>0 0x7265765f (0x0192eb00)
0x7265765f: -- no code accessible --
Modules:
Module   Address         Debug info   Name (71 modules)
PE     230000-  263000   Deferred        ifc22
PE     400000- 1126000   Deferred        jasp
PE   10000000-100f2000   Deferred        openal32
ELF   7bf00000-7bf03000   Deferred        <wine-loader>
ELF   7cff9000-7e067000   Deferred        libglcore.so.1
ELF   7e067000-7e126000   Deferred        libgl.so.1
ELF   7e126000-7e1bf000   Deferred        opengl32<elf>
  \-PE   7e140000-7e1bf000   \               opengl32
ELF   7e233000-7e247000   Deferred        midimap<elf>
  \-PE   7e240000-7e247000   \               midimap
ELF   7e247000-7e26c000   Deferred        msacm32<elf>
  \-PE   7e250000-7e26c000   \               msacm32
ELF   7e26c000-7e283000   Deferred        msacm32<elf>
  \-PE   7e270000-7e283000   \               msacm32
ELF   7e283000-7e34a000   Deferred        libasound.so.2
ELF   7e35d000-7e393000   Deferred        winealsa<elf>
  \-PE   7e370000-7e393000   \               winealsa
ELF   7e393000-7e39c000   Deferred        libxcursor.so.1
ELF   7e39c000-7e3a1000   Deferred        libxfixes.so.3
ELF   7e3a1000-7e3a4000   Deferred        libxcomposite.so.1
ELF   7e3a4000-7e3ab000   Deferred        libxrandr.so.2
ELF   7e3ab000-7e3b4000   Deferred        libxrender.so.1
ELF   7e3b4000-7e3b9000   Deferred        libxxf86vm.so.1
ELF   7e3b9000-7e3bc000   Deferred        libxinerama.so.1
ELF   7e3bc000-7e3dc000   Deferred        imm32<elf>
  \-PE   7e3c0000-7e3dc000   \               imm32
ELF   7e3dc000-7e3e1000   Deferred        libxdmcp.so.6
ELF   7e3e1000-7e3e4000   Deferred        libxau.so.6
ELF   7e3e4000-7e3fd000   Deferred        libxcb.so.1
ELF   7e3fd000-7e414000   Deferred        libice.so.6
ELF   7e414000-7e52e000   Deferred        libx11.so.6
ELF   7e52e000-7e5c9000   Deferred        winex11<elf>
  \-PE   7e540000-7e5c9000   \               winex11
ELF   7e678000-7e69e000   Deferred        libexpat.so.1
ELF   7e69e000-7e6c9000   Deferred        libfontconfig.so.1
ELF   7e6ca000-7e6ce000   Deferred        libuuid.so.1
ELF   7e6ce000-7e6dc000   Deferred        libxext.so.6
ELF   7e6dc000-7e6f0000   Deferred        libz.so.1
ELF   7e6f0000-7e774000   Deferred        libfreetype.so.6
ELF   7e77a000-7e77c000   Deferred        libnvidia-tls.so.1
ELF   7e77c000-7e785000   Deferred        librt.so.1
ELF   7e787000-7e79a000   Deferred        system.drv16.so
PE   7e790000-7e79a000   Deferred        system.drv16
ELF   7e79a000-7e7b2000   Deferred        version<elf>
  \-PE   7e7a0000-7e7b2000   \               version
ELF   7e7b2000-7e81d000   Deferred        rpcrt4<elf>
  \-PE   7e7c0000-7e81d000   \               rpcrt4
ELF   7e81d000-7e914000   Deferred        ole32<elf>
  \-PE   7e830000-7e914000   \               ole32
ELF   7e914000-7e969000   Deferred        advapi32<elf>
  \-PE   7e920000-7e969000   \               advapi32
ELF   7e969000-7ea07000   Deferred        gdi32<elf>
  \-PE   7e980000-7ea07000   \               gdi32
ELF   7ea07000-7eb4d000   Deferred        user32<elf>
  \-PE   7ea20000-7eb4d000   \               user32
ELF   7eb4d000-7ebd3000   Deferred        winmm<elf>
  \-PE   7eb50000-7ebd3000   \               winmm
ELF   7edb3000-7ef1f000   Deferred        kernel32<elf>
  \-PE   7edd0000-7ef1f000   \               kernel32
ELF   7ef1f000-7ef2b000   Deferred        libnss_files.so.2
ELF   7ef2b000-7ef51000   Deferred        libm.so.6
ELF   7ef51000-7f000000   Deferred        ntdll<elf>
  \-PE   7ef60000-7f000000   \               ntdll
ELF   f7500000-f7508000   Deferred        libsm.so.6
ELF   f750a000-f750e000   Deferred        libdl.so.2
ELF   f750e000-f7654000   Deferred        libc.so.6
ELF   f7654000-f766d000   Deferred        libpthread.so.0
ELF   f766d000-f77a8000   Deferred        libwine.so.1
ELF   f77a8000-f77bb000   Deferred        lz32<elf>
  \-PE   f77b0000-f77bb000   \               lz32
ELF   f77bc000-f77da000   Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\jasp.exe
   00000009    0 <==
0000000e
   00000016    0
   00000015    0
   00000014    0
   00000010    0
   0000000f    0
00000011
   00000017    0
   00000013    0
   00000012    0
00000018
   00000019    0
Backtrace:
=>0 0x7265765f (0x0192eb00)


Top 
 Post subject:
 Post Posted: Tue Nov 10, 2009 10:48 pm 
Offline
Moderator
Moderator

Joined: Sat Feb 23, 2008 2:29 pm
Posts: 6605
Cr0k wrote:
Here it is :
Code:
 wine jasp.exe

Don't see nothing obvious... Have you tried with new wineprefix? Virtual desktop? Is your sound configured and working (in winecfg)?


Top 
 Post Posted: Mon Nov 16, 2009 11:36 am 
Offline
Newbie
Newbie

Joined: Mon Nov 16, 2009 11:27 am
Posts: 2
Cr0k wrote:
Hi.
I've seen on AppDB that Jedi Academy was rated Platinium, so I've decided to try it.

I've installed it, but when I want to launch it, I've got the following errors :
Code:
fixme:keyboard:RegisterHotKey ((nil),0,0x00000001,9): stub
wine: Unhandled page fault on read access to 0x7265765f at address 0x7265765f (thread 0009), starting debugger...


I've search, but found any answer to my problem.
Hope someone will can help me.

Thx


Hi I'm running fc11 with nvidia proprietary xorg drivers and wine-1.1.32. I had the very same error, with the same address, when I updated xorg-x11-drv-nvidia from 185.18.36 to 190.42. I've reverted to 185.18.36 and it's working again !


Top 
 Post Posted: Mon Jan 11, 2010 11:39 am 
Offline
Newbie
Newbie

Joined: Mon Nov 16, 2009 11:27 am
Posts: 2
groug wrote:
Cr0k wrote:
wine: Unhandled page fault on read access to 0x7265765f at address 0x7265765f


By the way, 7265765f is hexa output for the string 'rev_'... looks like some kind of buffer overflow to me.

And FYI it still occurs on Fedora 12 with wine-1.1.35 and xorg-x11-drv-nvidia-190.53. I'll give a try to 185.18.36 and see what happens...


Top 
 Post subject:
 Post Posted: Sat Jan 30, 2010 8:42 pm 
Offline
Newbie
Newbie

Joined: Sat Jan 30, 2010 8:12 pm
Posts: 3
I'm getting the same errors, I've made a bugzilla report:

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


Top 
 Post subject:
 Post Posted: Sun Jan 31, 2010 5:31 am 
Offline
Level 5
Level 5

Joined: Mon Nov 24, 2008 8:10 am
Posts: 336
It might be useful to run using WINEDEBUG=+wgl. The buffer overflow might be related to a call glGetString(GL_EXTENSIONS). A lot of quake3 based games don't expect a very long extension list. Two of the games it affects are Quake3 and Medal of Honor and I guess there are more. On Windows the drivers contain hacks to detect this issue and prevent it from happening.

The nvidia driver README also contains an entry about it:
Some applications, such as Quake 3, crash after querying the OpenGL extension string

Some applications have bugs that are triggered when the extension string is longer than a certain size. As more features are added to the driver, the length of this string increases and can trigger these sorts of bugs.

You can limit the extensions listed in the OpenGL extension string to the ones that appeared in a particular version of the driver by setting the __GL_ExtensionStringVersion environment variable to a particular version number. For example,

__GL_ExtensionStringVersion=17700 quake3

will run Quake 3 with the extension string that appeared in the 177.* driver series. Limiting the size of the extension string can work around this sort of application bug.


Top 
 Post subject:
 Post Posted: Sun Jan 31, 2010 1:26 pm 
Offline
Newbie
Newbie

Joined: Sat Jan 30, 2010 8:12 pm
Posts: 3
Using the following

__GL_ExtensionStringVersion=17700 wine jasp.exe

Seems to work for me. I'll update appdb when I get through enough of the game to be satisfied that there aren't any more regressions.


Top 
 Post subject:
 Post Posted: Sun Jan 31, 2010 2:08 pm 
Offline
Newbie
Newbie

Joined: Sat Jan 30, 2010 8:12 pm
Posts: 3
I lied, there are no objects (people, destructable objects, etc) with __GL_ExtensionStringVersion=17700.

I've updated the bugzilla report with a log including +wgl, any more suggestions?


Top 
 Post subject:
 Post Posted: Sun Jan 31, 2010 2:18 pm 
Offline
Level 5
Level 5

Joined: Mon Nov 24, 2008 8:10 am
Posts: 336
The segmentation fault is gone, so it fixed the issue. Can't say why this would fail. Try a different nvidia version number using the environment variable.


Top 
 Post subject:
 Post Posted: Thu Jul 15, 2010 3:50 pm 
Offline
Newbie
Newbie

Joined: Thu Jul 15, 2010 3:41 pm
Posts: 1
Hi there all!

I got the same palmer.dabbelt issue. I loaded JA with this environment variable __GL_ExtensionStringVersion=17700, but there are no objects during the game (no models, no enemies, nothing but the environment)! The game doesn’t give back any strange error, so I don't know...

It’s a little bit curious, because with the same “configuration” JK2 works pretty well!

I tried different values for the string, but nothing to do.

I loaded with Wine 1.2-rc7. Any advice? Maybe do I have to do something more with the configuration of Wine? Or do I have to install somehow the DX9?

Thnx in advance for your help!


Top 
 Post subject:
 Post Posted: Sun Aug 01, 2010 8:47 am 
Offline
Newbie
Newbie

Joined: Sun Aug 01, 2010 8:40 am
Posts: 2
Hi all

How to use this :

__GL_ExtensionStringVersion=17700 wine jasp.exe

when JK2 is running on Steam ?

Thank you !


Top 
 Post subject:
 Post Posted: Sun Aug 01, 2010 8:54 am 
Offline
Moderator
Moderator

Joined: Sat Feb 23, 2008 2:29 pm
Posts: 6605
nouma wrote:
How to use this when JK2 is running on Steam ?
__GL_ExtensionStringVersion=17700 wine jasp.exe

Code:
__GL_ExtensionStringVersion=17700 wine steam -applaunch 6020


Top 
 Post subject:
 Post Posted: Sun Aug 01, 2010 11:05 am 
Offline
Newbie
Newbie

Joined: Sun Aug 01, 2010 8:40 am
Posts: 2
Thank you for uour answer, but when I try this I've got this ansxer

Code:
wine: cannot find L"C:\\windows\\system32\\steam.exe
"


Top 
 Post Posted: Mon Aug 02, 2010 1:41 am 
 
Le Sun, 01 Aug 2010 11:05:42 -0500,
"nouma" <wineforum-user@winehq.org> a écrit :
Quote:
Code:
wine: cannot find L"C:\\windows\\system32\\steam.exe

You must cd to the steam installation directory before running your
command.


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 19 posts ] 




Board index » WineHQ » Wine Help


Who is online

Users browsing this forum: No registered users and 2 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: