* 650 Posts in 228 Topics by 68 Members Latest Member: takis76   **
IFSO PORTAL
  Advanced search
May 17, 2012, 07:05:07 pm
HomeforumHelpSearchLoginRegister**
Recent Posts
[May 05, 2012, 01:01:38 pm]

[May 03, 2012, 02:11:03 pm]

[April 30, 2012, 12:48:25 pm]

[April 30, 2012, 12:46:52 pm]

[March 02, 2012, 02:05:01 pm]

[February 01, 2012, 07:03:43 pm]

[January 10, 2012, 09:50:03 pm]

[November 06, 2011, 02:57:54 pm]

[November 05, 2011, 08:11:39 pm]

[November 03, 2011, 12:09:02 pm]
IFSO Portal  |  Forum  |  ifsoGUI  |  Bug Reports  |  Topic: GUI.LoadTheme() crash in multithreaded app « previous next »
Pages: 1 [2] Go Down Print
Author Topic: GUI.LoadTheme() crash in multithreaded app  (Read 8294 times)
TaskMaster
Administrator
Sr. Member
*****
Offline Offline

Posts: 450


TaskyZ
View Profile
« Reply #15 on: January 11, 2010, 11:35:09 am »

I have a multifile project.
There is a main file, which opens the gui wrapper (this one is the real core, encapsulating game state, configuration, game IO stuff, etc.), the game instance object, the game map object and so on.
Every class includes its own init() method, so it's filled with all needed parameters, interacting between them where necessary.
The Incbin "Skins.zip" is done into gui wrapper class, just after the imports.

EDIT: I only include "Skins.zip", in the whole project.

What about using Example 1?  If you only do zip but not incbin, does it work?
Logged
Corum
ifsoGUI Owner
Newbie
*
Offline Offline

Posts: 37


CoRuMmO
View Profile
« Reply #16 on: January 11, 2010, 11:45:51 am »

No, it doesn't.
Logged
TaskMaster
Administrator
Sr. Member
*****
Offline Offline

Posts: 450


TaskyZ
View Profile
« Reply #17 on: January 11, 2010, 11:53:51 am »

No, it doesn't.

Hmmm...

Must be something about the zipstream module multi-threading and mac.  Makes me wonder if it works on Linux or not?!?!
Logged
Corum
ifsoGUI Owner
Newbie
*
Offline Offline

Posts: 37


CoRuMmO
View Profile
« Reply #18 on: January 11, 2010, 12:01:17 pm »

Must be something about the zipstream module multi-threading and mac.  Makes me wonder if it works on Linux or not?!?!
The strange fact is it doesn't work even under WinXP. Ok, it's emulated, but with Parallels Desktop I can run almost everything but 3D games.
Can I ask on Blitzmax boards ifsoGUI users too?
I would ask to compile the example #1 in MT mode.
Logged
TaskMaster
Administrator
Sr. Member
*****
Offline Offline

Posts: 450


TaskyZ
View Profile
« Reply #19 on: January 11, 2010, 12:31:52 pm »

Must be something about the zipstream module multi-threading and mac.  Makes me wonder if it works on Linux or not?!?!
The strange fact is it doesn't work even under WinXP. Ok, it's emulated, but with Parallels Desktop I can run almost everything but 3D games.
Can I ask on Blitzmax boards ifsoGUI users too?
I would ask to compile the example #1 in MT mode.

Sure.  I am not sure if there are any other mac ifsoGUI owners.
Logged
TaskMaster
Administrator
Sr. Member
*****
Offline Offline

Posts: 450


TaskyZ
View Profile
« Reply #20 on: January 11, 2010, 12:40:27 pm »

Wait, I just realized that we were not testing for zip when I tested in MT.  It fails in Windows too.  I will take a look at this and see if I can fix it.  But, it looks like a zipstream issue which will need to be looked at by Koriolis.

Logged
Corum
ifsoGUI Owner
Newbie
*
Offline Offline

Posts: 37


CoRuMmO
View Profile
« Reply #21 on: January 11, 2010, 12:51:11 pm »

Phew... I'm almost gone crazy. Cheesy
Glad this proved I'm not mad yet. Smiley
See you.
Logged
TaskMaster
Administrator
Sr. Member
*****
Offline Offline

Posts: 450


TaskyZ
View Profile
« Reply #22 on: January 11, 2010, 12:59:56 pm »

Yep, definitely a bug/conflict in the zipstream module when using multi-threading.  There is nothing I can do about it.

Maybe you can try to knock up and simple example using only the zipstream module to cause the error so it can be presented to Koriolis.  I will look at doing it, but I can't mess with it while at work.
Logged
Pages: 1 [2] Go Up Print 
IFSO Portal  |  Forum  |  ifsoGUI  |  Bug Reports  |  Topic: GUI.LoadTheme() crash in multithreaded app « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
TinyPortal v0.9.8 © Bloc
TechHead design by Bloc
Valid XHTML 1.0! Valid CSS!