Remember me

Lost Password?

Register now!


Who's Online
38 user(s) are online (21 user(s) are browsing Forums)

Members: 1
Guests: 37

trixie, more...

Support us!


Report message:*

Re: Memory protection and tasks/processes

Subject: Re: Memory protection and tasks/processes
by afxgroup on 2021/3/7 19:03:37

The problem is not in FreeSysObject itself. The problem is somewhere in some cases i cannot reproduce with a small example. But i've fixed the problem usin InitSemaphore instead of using AllocSysObject. So what is the difference between this two kind of allocating a semaphore? Now i have the same exact crash in expunge function of pthread. and there is a semaphore also there.
So, yes it could be my code. but this means that also pthreads.library has a problem? i don't think so.
There is something within gcc10+so+clib2 that is causing "sometimes" this problem
i've also tried an example that use libc.som plus pthread.so and no crash at all.. so there is something that is causing this issue.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project