flat assembler
Message board for the users of flat assembler.
Index
> Projects and Ideas > Another FreshLib based project - phWeb server. Goto page Previous 1, 2, 3 |
Author |
|
JohnFound 13 Dec 2015, 20:57
@hidnplayr: I just commited some fix for Terminate procedure stack crash bug. Use "fossil update" in FreshLibDev directory in order to pull the fix.
|
|||
13 Dec 2015, 20:57 |
|
hidnplayr 14 Dec 2015, 07:27
JohnFound wrote: Well, yes, I know that, but I still can't find a way to free the dynamically allocated thread stack and then to still call the system function -1. If you know such a way, please, tell it to me. ] The problem lies not in the system function call, but debug output, for which you use an stdcall. Just print the text you want to print, before freeing memory |
|||
14 Dec 2015, 07:27 |
|
JohnFound 14 Dec 2015, 09:12
hidnplayr wrote: The problem lies not in the system function call, but debug output, for which you use an stdcall. Hm, am I missing something? IMHO, the int instruction needs stack as well. Or it uses the ring 0 stack? _________________ Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9 |
|||
14 Dec 2015, 09:12 |
|
hidnplayr 14 Dec 2015, 09:18
JohnFound wrote: Hm, am I missing something? IMHO, the int instruction needs stack as well. Or it uses the ring 0 stack? Yes |
|||
14 Dec 2015, 09:18 |
|
JohnFound 14 Dec 2015, 11:01
So, another fix has been committed. Now I hope everything is OK.
|
|||
14 Dec 2015, 11:01 |
|
hidnplayr 16 Dec 2015, 21:28
Some fixes have been made in KolibriOS kernel as well.
You will however still notice that memory to create a new socket is rapidly exhausted. (Socket accept will return ENOMEM in ebx) This may be fixed in a later revision. |
|||
16 Dec 2015, 21:28 |
|
JohnFound 17 Dec 2015, 07:15
hidnplayr wrote: (Socket accept will return ENOMEM in ebx) Unfortunately, I can't see this happens. The thread that executes SocketAccept still hangs and can not be killed even from the task manager. SocketAccept does not return any error code. I am testing with the latest rev.5979, downloaded from the download page of KolibriOS. _________________ Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9 |
|||
17 Dec 2015, 07:15 |
|
eisbaer 17 Dec 2015, 14:14
@johnfound:
would it be possible for you to upload a windows-binary or a linux-binary based on the actual sourcecode for testing purposes ? best regards |
|||
17 Dec 2015, 14:14 |
|
JohnFound 17 Dec 2015, 15:26
eisbaer wrote: @johnfound: No problem, but notice that it is work in progress and the source code can change quickly with the changes in FreshLib and/or phWeb. So, the attached binary is just a snapshot in this very moment. The best way to follow the development is to clone the repositories (of phWeb and Fresh) and compile from sources. Compilation with FASM or Fresh IDE is possible and easy. In the attached archive are all supported versions: For WIn32, Linux and KolibriOS, compiled from the source checkins: FreshLib: 1f0438263ec5b31f10332dc2164a208f02cc7e4e phWeb: 5e1458a965a0fe12f9badd000655114ed491f664
_________________ Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9 |
|||||||||||
17 Dec 2015, 15:26 |
|
hidnplayr 17 Dec 2015, 16:27
JohnFound:
I have only tested on VirtualBox so far, I will check on Qemu and real hardware soon. |
|||
17 Dec 2015, 16:27 |
|
JohnFound 17 Dec 2015, 19:55
Hm, is it possible to be from the emulator. Will test on real as well then and will report the result.
|
|||
17 Dec 2015, 19:55 |
|
Goto page Previous 1, 2, 3 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.