Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

KernelEx 4.5.2015.9 updates + ApiHook

- - - - -

  • Please log in to reply
185 replies to this topic

#176
jumper

jumper

    2015 All-American Masters HJ'er

  • Member
  • PipPipPipPip
  • 582 posts
  • Joined 21-January 11
  • OS:98SE
  • Country: Country Flag
Midi files open and play normally in mplayer2.exe when I double-click them. What version/build/package of KernelEx did you install?

Please post all the text details (the stack info is very helpful) and I'll look into it.
Design feedback requested:
KernelEx 4.5.2015
IHAtool - IpHlpApi tester; call various functions and report results
--status-> framework is solid; 22 api's fully supported; preview release coming soon
Future projects: Kexter - IP40+Ktree+Kexstubs


How to remove advertisement from MSFN

#177
oerg866

oerg866

    Junior

  • Member
  • Pip
  • 70 posts
  • Joined 02-June 10
  • OS:98SE
  • Country: Country Flag

It again seems to happen only with SP3 and MP9 installed... Some things are a bit odd with this setup, bear with me as I create some reproducable tests ;)



#178
oerg866

oerg866

    Junior

  • Member
  • Pip
  • 70 posts
  • Joined 02-June 10
  • OS:98SE
  • Country: Country Flag

I've installed softice in the VM now and this is the location of the crash and the call stack. 

55d50096851ef.png

 

EDIT: Forgot to configure it properly, gonna post a better shot in a bit

 

EDIT2: I remember this problem from KEX 2015.8. This one is KEX 2015.9 from the installer posted last page. 

 

55d50275af4c2.png

 

Perhaps this is more helpful?

 

100% reproducable: Install MPlayer 9.0, SP3 and KEX 2015.9 in any order, double click media file. -> Crash


Edited by oerg866, 19 August 2015 - 04:58 PM.


#179
jumper

jumper

    2015 All-American Masters HJ'er

  • Member
  • PipPipPipPip
  • 582 posts
  • Joined 21-January 11
  • OS:98SE
  • Country: Country Flag
Disable KernelEx on Wmpshell.
And please post the full error text details as requested. I need to know the passed parameters as well as the call stack.

Edited by jumper, 20 August 2015 - 05:41 PM.

Design feedback requested:
KernelEx 4.5.2015
IHAtool - IpHlpApi tester; call various functions and report results
--status-> framework is solid; 22 api's fully supported; preview release coming soon
Future projects: Kexter - IP40+Ktree+Kexstubs

#180
oerg866

oerg866

    Junior

  • Member
  • Pip
  • 70 posts
  • Joined 02-June 10
  • OS:98SE
  • Country: Country Flag

I'm sorry, my lack of sleep might be playing tricks on me, but what do you mean by "full error text details"?

 

Do you mean this?

EXPLORER caused an invalid page fault in
module UNICOWS.DLL at 016f:7f2daf19.
Registers:
EAX=ffffffff CS=016f EIP=7f2daf19 EFLGS=00010286
EBX=00000000 SS=0177 ESP=01bde438 EBP=01bde438
ECX=81e0d404 DS=0177 ESI=01bdeee4 FS=350f
EDX=00000000 ES=0177 EDI=000000a7 GS=24b6
Bytes at CS:EIP:
66 8b 08 40 40 66 85 c9 75 f6 2b 45 08 d1 f8 48 
Stack dump:
01bdee70 7f2f879b ffffffff 4548532f 
4c484c4c 39565f50 616c5020 442f2079 
4f617461 63656a62 454e3a74 45504546 
41424648 41414141 414f4141 41414142 

Edited by oerg866, 21 August 2015 - 05:31 AM.


#181
jumper

jumper

    2015 All-American Masters HJ'er

  • Member
  • PipPipPipPip
  • 582 posts
  • Joined 21-January 11
  • OS:98SE
  • Country: Country Flag
Yes.

Unfortunately, most of the stack dump is consumed by a local string buffer containing:
EHS/LHLL9V-PalP D/ yOatacejbEN:tEPEFABFHAAAAAOAAAAAB
Debugging:
Stack dump:
01bdee70 7f2f879b ffffffff 4548532f ...
         ^^^^^^^^

DumpPE -disasm Unicows.dll:
7F2F84F3                    ShellExecuteExW:
...
7F2F8796 E86927FEFF             call    fn_7F2DAF04
7F2F879B 40                     inc     eax
^^^^^^^^
Wmpshell thinks it's running on W2K and is calling Shell32:ShellExecuteExW which is being forwarded to Unicows:ShellExecuteExW by Kexbasen.dll. Ideally this would work, so try using the Kexbasen.dll from 4.5.2 in case that's the problem.

To avoid the problem, set the mode for Wmpshell and/or Explorer to 98se or BaseEnhancements (DCFG1).

I'm still working on ways to make SP3 and Kex compatible. It may be necessary to disable KernelEx on some or all files upgraded or added by SP3. Many of those files adapt their behavior to the OS they're running on. They've been tested to work on 98se without KernelEx, so disabling KernelEx on them shouldn't be a problem and should help.

>100% reproducable: Install MPlayer 9.0, SP3 and KEX 2015.9 in any order, double click media file. -> Crash

Try installing just WMP9 and test.
Then add KernelEx version 4.5.2, defaulting to Disabled.
Add SP3 minimum/base install.
Add SP3 extras.
One at a time add my v4.5.2015.9 builds of:
+ KernelEx.dll
+ Kexbases.dll
+ Kexbasen.dll
If any cause a failure, try replacing it from GhostlyDeath build.

Later enable KernelEx on only the apps that need it.
Design feedback requested:
KernelEx 4.5.2015
IHAtool - IpHlpApi tester; call various functions and report results
--status-> framework is solid; 22 api's fully supported; preview release coming soon
Future projects: Kexter - IP40+Ktree+Kexstubs

#182
oerg866

oerg866

    Junior

  • Member
  • Pip
  • 70 posts
  • Joined 02-June 10
  • OS:98SE
  • Country: Country Flag

Your suggestion to disable kex for wmpshell.dll has done the trick so far... If I get the time I'll do it more thoroughly as you suggested.

 

Thanks a ton for your time and engagement!



#183
DougB

DougB

    Junior

  • Member
  • Pip
  • 77 posts
  • Joined 04-September 11
  • OS:98SE
  • Country: Country Flag

@Jumper - Thanks for the insight.  I never considered changing compatibility mode for DLLs... DUH!  Disabling extensions for SetupAPI.dll did indeed allow the XP version installed by U98SESP3 to load at Windows startup.  

Interestingly, changing compatibility explicitly to "Windows 98 SE" (or to Millennium, 2000 SP4, or XP SP2) did *not* work -- the error continued: "The SETUPAPI.DLL file cannot start".  Only "Disable KernelEx extensions" cleared it.  

- Doug B.
 



#184
CamTron

CamTron

    XPocalypse Survivor

  • Member
  • PipPip
  • 106 posts
  • Joined 09-April 14
  • OS:XP Home
  • Country: Country Flag

I just tried the latest CamStudio (2.7) on Windows 98 SE using release 9. It runs, except that it produces garbage avi files, and crashes on exit with this error:

RECORDER caused an invalid page fault in
module KEXBASES.DLL at 0167:bfa494f3.
Registers:
EAX=00000000 CS=0167 EIP=bfa494f3 EFLGS=00010287
EBX=00528290 SS=016f ESP=00e2fa2c EBP=00e2fa40
ECX=00e2fa70 DS=016f ESI=00e2fa70 FS=0e9f
EDX=01110000 ES=016f EDI=0110d0a0 GS=0000
Bytes at CS:EIP:
5f 5e 5b c9 c3 55 8b ec 83 ec 0c 8b 45 0c 25 ff 
Stack dump:
0110d0a0 00e2fa70 00528290 10200000 8172a1e8 00e2fa4c 78083194 780b1598 00e2fa5c 7807b446 780b1598 005717fc 00e2fa74 7805ba23 00000000 01111128 

Keyboard failure...
Strike the f1 key to continue, f2 to run the setup utility.

#185
jumper

jumper

    2015 All-American Masters HJ'er

  • Member
  • PipPipPipPip
  • 582 posts
  • Joined 21-January 11
  • OS:98SE
  • Country: Country Flag
Does CamStudio v2.7 (or earlier) work correctly under KernelEx 4.5.2 or earlier versions of KernelEx 4.5.2015?
Design feedback requested:
KernelEx 4.5.2015
IHAtool - IpHlpApi tester; call various functions and report results
--status-> framework is solid; 22 api's fully supported; preview release coming soon
Future projects: Kexter - IP40+Ktree+Kexstubs

#186
CamTron

CamTron

    XPocalypse Survivor

  • Member
  • PipPip
  • 106 posts
  • Joined 09-April 14
  • OS:XP Home
  • Country: Country Flag

The same issue (both the kexbases crash and the garbled video output) happen with Camstudio 2.7 on vanilla KernelEx 4.5.2 and KernelEx 4.5.2015.9, so it doesn't appear to be a regression. Camstudio 2.0 works flawlessly, and doesn't even require KernelEx. I haven't tried 2.6, though.


Keyboard failure...
Strike the f1 key to continue, f2 to run the setup utility.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users