Discuss the development of new homebrew software, tools and libraries.
Moderators: cheriff , TyRaNiD
ne0h
Posts: 386 Joined: Thu Feb 21, 2008 2:15 am
Post
by ne0h » Fri Dec 18, 2009 2:20 am
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 » Fri Dec 18, 2009 4:07 am
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 » Fri Dec 18, 2009 7:44 am
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 » Sat Dec 19, 2009 1:50 am
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 » Sat Dec 19, 2009 3:34 am
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 » Sat Dec 19, 2009 4:01 am
Xplora, I'm working on the next release... ( 2.0 )