[SOLVED] User prx stack limit?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
ne0h
Posts: 386
Joined: Thu Feb 21, 2008 2:15 am

[SOLVED] User prx stack limit?

Post by ne0h »

That's a limit for user prx stack size??
That's the code:

Code: Select all

SceUID thid = sceKernelCreateThread("ABCThread", XguiManager, 0x17, 2 * 1024, 0, NULL);
I ever get 0x80020190 ( no memory ), why??
There's enough user memory...
Last edited by ne0h on Fri Dec 18, 2009 4:15 am, edited 1 time in total.
ne0h
Posts: 386
Joined: Thu Feb 21, 2008 2:15 am

Post by ne0h »

Nevermind....
Found the problem and it's not related to this...
carl0sgs
Posts: 33
Joined: Thu Dec 10, 2009 3:51 am
Contact:

Post by carl0sgs »

I think I have exactly the same problem :-S
Can you explain me how to fix it?
Thank you :-)
ne0h
Posts: 386
Joined: Thu Feb 21, 2008 2:15 am

Post by ne0h »

The problem ( I think ) is that I was creating the thread with calling an exported function, and that module has no enough memory to allocate thread stack...
I haven't really resolved the problem,
I've bypassed it by calling CreateThread on module start.

Sorry for my bad english,

ne0h
carl0sgs
Posts: 33
Joined: Thu Dec 10, 2009 3:51 am
Contact:

Post by carl0sgs »

Don't worry about your english, it is good! ;-)
(Im spanish lol)

I have a similar problem with the memory in MultiTasKing, the function malloc() does something strange and the free memory becomes 0 :-S

If you find a solution that would be great!

By the way, what is the program you are working on? ("XguiManager")

Cheers,
Carlosgs
ne0h
Posts: 386
Joined: Thu Feb 21, 2008 2:15 am

Post by ne0h »

Xplora, I'm working on the next release... ( 2.0 )
Post Reply