Jump to content

KernelEx -- On building, debugging and related matters...


Drugwash

Recommended Posts

Here's a package with both builds, from code pulled right after this commit:

Download

With this build, upon first reboot after installation, I was again able to access the test machine through network, even though it was hung as always showing only the wallpaper and mouse cursor. This time Revolutions Pack 9.7.2 was installed, as I wanted to test if there's any change in behavior (I also have a video issue with 32bit transparency that I wanted to check). Here's the KernelEx log for the Debug build linked above:

resolver_init() 
Stub found @ 0xbffd009c
Loading api configurations
Processing api configuration #0: DCFG1
Loading api library: KEXBASES...
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:199) GDI resources: 88%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:200) System resources: 88%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:201) USER resources: 93%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:209) InputDesktop is NULL, don't allocate desktop handles yet
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\thuni_stuff.c:53) ThunkLayer initialized: gSharedInfo = 0x82471000, hUser16 = 0xBFF8902F, g_hUser32 = 0x16C6
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\input.c:96) InitInputSegment
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:1181) About to switch desktop
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:1248) Switching to desktop object 0x833E4250
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:1302) Switching to desktop 0x24 successful
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:454) Created ppi 0x833e4644 for Process 0x81c073d0 because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:465) Created pti 0x833e4670 for Thread 0x81c075ac because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:575) Input desktop has changed, redrawing screen... successful
loaded @ 0xbfa40000...
ok
Loading api library: KEXBASEN...
loaded @ 0x7d000000...
ok
Parsing named api overrides
Processing api configuration #1: WIN95
Parsing named api overrides
Processing api configuration #2: WIN98
Parsing named api overrides
Processing api configuration #3: WINME
Parsing named api overrides
Processing api configuration #4: NT40
Parsing named api overrides
Processing api configuration #5: NT2K
Parsing named api overrides
Processing api configuration #6: WINXP
Parsing named api overrides
Processing api configuration #7: WIN2K3
Parsing named api overrides
Processing api configuration #8: VISTA
Parsing named api overrides
Processing api configuration #9: WIN2K8
Parsing named api overrides
Processing api configuration #10: NOHEAP
Parsing named api overrides
No more api configurations
Default api configuration is: DCFG1
API extensions are by default: enabled
resolver_hook()
Initialized successfully
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:454) Created ppi 0x833928e0 for Process 0x81c0f658 because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:465) Created pti 0x8339290c for Thread 0x81c0f854 because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:454) Created ppi 0x83392984 for Process 0x81c17c6c because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:465) Created pti 0x833929b0 for Thread 0x81c186c4 because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:454) Created ppi 0x833929ec for Process 0x81c12f4c because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:465) Created pti 0x83392a18 for Thread 0x81c13170 because it was NULL
Loading non-shared apilib: KEXBASEN req. by: MSVCRT.DLL [PID=fffe87d1]
Post-Initializing KEXBASEN.DLL [PID=fffe87d1]
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x0063f728,Ěńc,-1079706368,0x000004e2,1)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x00000000,(null),0,0x00000000,0)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x0063f728,¬ńc,-1079706368,0x000004e2,1)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x00000000,(null),0,0x00000000,0)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:199) GDI resources: 87%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:200) System resources: 87%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:201) USER resources: 89%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:298) Failed to open window station WinSta0
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:474) Trying to free some desktops
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:446) Dereferencing thread's desktop
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:474) Trying to free some desktops
Loading non-shared apilib: KEXBASEN req. by: MSVCRT.DLL [PID=fffefca5]
Post-Initializing KEXBASEN.DLL [PID=fffefca5]
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x0059f728,ĚńY,-1079706368,0x000004e2,1)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x00000000,(null),0,0x00000000,0)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x0059f728,¬ńY,-1079706368,0x000004e2,1)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x00000000,(null),0,0x00000000,0)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:199) GDI resources: 87%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:200) System resources: 87%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:201) USER resources: 89%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:298) Failed to open window station WinSta0
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:474) Trying to free some desktops
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:446) Dereferencing thread's desktop
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:474) Trying to free some desktops

Thanks, I'll try these tomorrow!

Link to comment
Share on other sites


Here's a package with both builds, from code pulled right after this commit:

Download

With this build, upon first reboot after installation, I was again able to access the test machine through network, even though it was hung as always showing only the wallpaper and mouse cursor. This time Revolutions Pack 9.7.2 was installed, as I wanted to test if there's any change in behavior (I also have a video issue with 32bit transparency that I wanted to check). Here's the KernelEx log for the Debug build linked above:

resolver_init() 
Stub found @ 0xbffd009c
Loading api configurations
Processing api configuration #0: DCFG1
Loading api library: KEXBASES...
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:199) GDI resources: 88%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:200) System resources: 88%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:201) USER resources: 93%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:209) InputDesktop is NULL, don't allocate desktop handles yet
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\thuni_stuff.c:53) ThunkLayer initialized: gSharedInfo = 0x82471000, hUser16 = 0xBFF8902F, g_hUser32 = 0x16C6
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\input.c:96) InitInputSegment
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:1181) About to switch desktop
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:1248) Switching to desktop object 0x833E4250
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:1302) Switching to desktop 0x24 successful
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:454) Created ppi 0x833e4644 for Process 0x81c073d0 because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:465) Created pti 0x833e4670 for Thread 0x81c075ac because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:575) Input desktop has changed, redrawing screen... successful
loaded @ 0xbfa40000...
ok
Loading api library: KEXBASEN...
loaded @ 0x7d000000...
ok
Parsing named api overrides
Processing api configuration #1: WIN95
Parsing named api overrides
Processing api configuration #2: WIN98
Parsing named api overrides
Processing api configuration #3: WINME
Parsing named api overrides
Processing api configuration #4: NT40
Parsing named api overrides
Processing api configuration #5: NT2K
Parsing named api overrides
Processing api configuration #6: WINXP
Parsing named api overrides
Processing api configuration #7: WIN2K3
Parsing named api overrides
Processing api configuration #8: VISTA
Parsing named api overrides
Processing api configuration #9: WIN2K8
Parsing named api overrides
Processing api configuration #10: NOHEAP
Parsing named api overrides
No more api configurations
Default api configuration is: DCFG1
API extensions are by default: enabled
resolver_hook()
Initialized successfully
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:454) Created ppi 0x833928e0 for Process 0x81c0f658 because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:465) Created pti 0x8339290c for Thread 0x81c0f854 because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:454) Created ppi 0x83392984 for Process 0x81c17c6c because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:465) Created pti 0x833929b0 for Thread 0x81c186c4 because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:454) Created ppi 0x833929ec for Process 0x81c12f4c because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:465) Created pti 0x83392a18 for Thread 0x81c13170 because it was NULL
Loading non-shared apilib: KEXBASEN req. by: MSVCRT.DLL [PID=fffe87d1]
Post-Initializing KEXBASEN.DLL [PID=fffe87d1]
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x0063f728,Ěńc,-1079706368,0x000004e2,1)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x00000000,(null),0,0x00000000,0)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x0063f728,¬ńc,-1079706368,0x000004e2,1)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x00000000,(null),0,0x00000000,0)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:199) GDI resources: 87%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:200) System resources: 87%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:201) USER resources: 89%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:298) Failed to open window station WinSta0
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:474) Trying to free some desktops
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:446) Dereferencing thread's desktop
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:474) Trying to free some desktops
Loading non-shared apilib: KEXBASEN req. by: MSVCRT.DLL [PID=fffefca5]
Post-Initializing KEXBASEN.DLL [PID=fffefca5]
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x0059f728,ĚńY,-1079706368,0x000004e2,1)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x00000000,(null),0,0x00000000,0)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x0059f728,¬ńY,-1079706368,0x000004e2,1)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x00000000,(null),0,0x00000000,0)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:199) GDI resources: 87%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:200) System resources: 87%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:201) USER resources: 89%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:298) Failed to open window station WinSta0
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:474) Trying to free some desktops
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:446) Dereferencing thread's desktop
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:474) Trying to free some desktops

Sorry for not replying sooner, I couldn't get around to it until now.

I tried both your builds, and they both worked fine. I wasn't experiencing the same problems you were.

Edited by coolman
Link to comment
Share on other sites

No problem, thanks for testing!

Have you by chance tried it with uSP3 installed? At this point, it's either a conflict with an updated system component, or a hardware/driver incompatiblity. I know the SiS chipsets are quite lousy, but this would be a little bit too much.

Sometime these days I'll see if I can put together another machine for testing, with different hardware. However, if this turns out to be a hardware/driver issue, it better get fixed, as there may be others out there with similar setup and thus similar problems.

Anybody else tested my latest builds?

Anybody else having similar problems with any builds at all (Leyok's, coolman's, mine)?

Link to comment
Share on other sites

@Drugwash: I tried your latest release build of the 07.April on Win ME without SP, but with RevolutionsPack. The first error message says "Mprexe error in kernel32.dll" after the restart. Your Kexbases.dll is in error state for me, too (checked with Ktree).

@ Leyok and @coolman: I'm not clear with your builds on my systems. I think, I get plenty of problems. Good: KernelEX verifies successfully. But I can't get access to the the systray, the QuickLaunch and the Startmenu. If I hover over them I see the hourglass. If I click on a Desktop shortcut I get the message, that the explorer caused an error in unicows.dll. Many apps don't start or have odd glitches. For example I'm not able to start a browser, if KernelEX is enabled for it: Firefox  => Kernel32.dll; Opera => SHLWAPI.dll.

If I've more time I'll report more and details.

BTW: The compression of the 7z build of Leyok isn't supported by 7Zip 4.65. The newer version 9.20 unpacks it. :hello:

Link to comment
Share on other sites

Thank you for testing and confirmation.

I noticed the 7-zip compatibility issue too - I use an assortment of packer plug-ins for Total Commander and the one for 7-zip created by Ono (Adam Strzelecki) is very old (last updated in 2007, newer versions are Unicode only), incompatible with Leyok's packages. The standalone 7-zip (I have 9.25 alpha currently) works fine though.

Link to comment
Share on other sites

  • 3 weeks later...
But I can't get access to the the systray, the QuickLaunch and the Startmenu. If I hover over them I see the hourglass. If I click on a Desktop shortcut I get the message, that the explorer caused an error in unicows.dll.

I found out, that these problems are related to the ME GDI Q289635 GER (GDI.exe & GDI32.dll 4.90.0.3001) update and ME user Q280800 GER (USER.exe & USER32.dll 4.90.0.3001) update. Obviously there is a incompatibility. Test system now: ME, KernelEX build Leyok 04.April.13, without RevolutionsPack.

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...
  • 2 weeks later...

:hello: I know just as little as you. I think Leyok worked hard for many weeks and had spent much time. Developing and testing of KernelEX requires a lot of effort. I guess, either Leyok has no more time or had too little support of us. My mistake: I didn't post log files. :unsure:

Edited by schwups
Link to comment
Share on other sites

  • 3 weeks later...

One problem with the debug builds versus the official one is that folders are not automatically refreshing. This does cause problems if you forget to Ctrl+R after renaming a file or directory, since it uses the old name to do the lookup.

This happens both on my old box and under virtual console, and this doesn't happen when reverting to the old 4.5 release.

Otherwise, the system thread concept is very good, and I like the increased compatibility.

Link to comment
Share on other sites

  • 4 weeks later...

Would this topic not be better served now as a new beta KernelEx 4.6 thread with changelog and compiled version for download on first post?
Just a suggestion now that the compile problem seems to be addressed "On building, debugging and related matters..."

I guess maybe the thread title includes related matters, in which case, maybe just me second point, keep the 1st post up to date :)

Trev

Link to comment
Share on other sites

Compilation problems may have been addressed in regard to Leyok's repository, however the resulting code does not function correctly - either does not verify, freezes machine or crashes. At least on my side. That while the original 4.5.2 code compiles and functions correctly in the same environment.

Besides, unless I'm in the dark, there has been no activity at Leyok's repository for about five months now. Nobody else seems to be skilled and willing enough to take over, so there's practically nothing worthy of announcement in first post or elsewhere other than the project being currently abandoned.

Link to comment
Share on other sites

Yeah, I have just Installed (and forced to uninstall back to 4.5.2) the new 4.6 but it crashed explorer, messenger, ie, and games.

one message was

KernelEx Base Non-shared Api Library used a system resource improperly.

Module Name: KEXBASEN.DLL

Description: KernelEx Base Non-shared Api Library

Version: 4, 5, 12, 0

Product: KernelEx

Manufacturer: Xeno86

Application Name: Msnmsgr.exe

Description: MSN Messenger

Version: 7.0.0820

Product: MSN Messenger

Manufacturer: Microsoft Corporation

Another was that unicows overran its temporary memory area.

After downgrading everything works again.

Tell you what I did notice with the new build, a froxen app now says "(Unresponsive)" as uposed to normal "(Not Responding)"

Also the ctrl-alt-del dialoge is ... well, not the first dialoge, but the one to end task or cancle has been re-worded.

On shutdown I noticed a new box telling me windows was shutting down

Pitty about development, the work seemed good.

Trev

Link to comment
Share on other sites

  • 8 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...