forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[SOLVED] User prx stack limit?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Fri Dec 18, 2009 2:20 am    Post subject: [SOLVED] User prx stack limit? Reply with quote

That's a limit for user prx stack size??
That's the code:
Code:
SceUID thid = sceKernelCreateThread("ABCThread", XguiManager, 0x17, 2 * 1024, 0, NULL);

I ever get 0x80020190 ( no memory ), why??
There's enough user memory...
_________________
Get Xplora!


Last edited by ne0h on Fri Dec 18, 2009 4:15 am; edited 1 time in total
Back to top
View user's profile Send private message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Fri Dec 18, 2009 4:07 am    Post subject: Reply with quote

Nevermind....
Found the problem and it's not related to this...
_________________
Get Xplora!
Back to top
View user's profile Send private message
carl0sgs



Joined: 10 Dec 2009
Posts: 41

PostPosted: Fri Dec 18, 2009 7:44 am    Post subject: Reply with quote

I think I have exactly the same problem :-S
Can you explain me how to fix it?
Thank you :-)
Back to top
View user's profile Send private message Visit poster's website
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Sat Dec 19, 2009 1:50 am    Post subject: Reply with quote

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
_________________
Get Xplora!
Back to top
View user's profile Send private message
carl0sgs



Joined: 10 Dec 2009
Posts: 41

PostPosted: Sat Dec 19, 2009 3:34 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Sat Dec 19, 2009 4:01 am    Post subject: Reply with quote

Xplora, I'm working on the next release... ( 2.0 )
_________________
Get Xplora!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group