Bug in r205

View: New views
5 Messages — Rating Filter:   Alert me  

Bug in r205

by Andrea Viarengo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chriss,

I have compiled r205, and problem seems disapear, but I fear that it depend
on building/linking...

This is because I have included into pipmak folder also MSCV8 dll:

 Pipmak-r205.exe
 Pipmak-r205.exe.manifest
 Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest
 Microsoft.VC80.CRT/msvcr80.dll

In theory, since I have the development tool installed, I don't need to
include these files in the folder, because they are already installed
in system folder by MSCV++ installer...

If I don't include them, Pipmak-r205 works exactly as Pipmak-0.2.7 and
crash in the same manner.

If it can help you, You can found my build here:

http://andrea.viarengo.googlepages.com/Pipmak-r205-WXP.zip

Bye

-andrea

P.S.: I think that my build doesn't work with VISTA...



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pipmak-Users mailing list
Pipmak-Users@...
news://news.gmane.org/gmane.games.devel.pipmak.user
https://lists.sourceforge.net/lists/listinfo/pipmak-users

Re: Bug in r205

by NigeC :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Andrea Viarengo wrote:
P.S.: I think that my build doesn't work with VISTA...
Nope it doesn't.. i think its that msvcr80 issue i had with previous ones

Re: Bug in r205

by Christian Walther :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrea Viarengo wrote:
> If I don't include them, Pipmak-r205 works exactly as Pipmak-0.2.7 and
> crash in the same manner.

OK, how about r207?

What triggered the crash that I fixed there was your call
"pipmak.overlaynode(2)" in main.lua, at a time when there's no
background node yet.

That was fortunate insofar as it pointed us to this bug, but otherwise
doing such things in main.lua is a bad idea. You shouldn't assume that
main.lua is run exactly once when the project is opened. That's
currently the case, but it may change in the future. Initialization
procedures belong in onopenproject(). In a way, main.lua should be
treated as a data file, not as a program, and running it should have no
side effects.

Apart from that, overlaying a node when there's no background node yet
doesn't make much sense to me, but as it happens to work the way you
want (the real background node is later inserted under it), modulo
undiscovered bugs, I decided to keep it allowed for the time being. But
for my taste, the proper place for that would be onenternode() of the
main node.

I'm still uncertain about the cause of the random reproducibility of the
crash, there might be another bug lurking there. Will investigate further.

  -Christian


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pipmak-Users mailing list
Pipmak-Users@...
news://news.gmane.org/gmane.games.devel.pipmak.user
https://lists.sourceforge.net/lists/listinfo/pipmak-users

Re: Bug in r205

by Christian Walther :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I wrote:
> I'm still uncertain about the cause of the random reproducibility of the
> crash, there might be another bug lurking there. Will investigate further.

Hmm, looks like it really only was the uninitialized variable. When I
initialize it to a known invalid value, it crashes reliably.

Plus, it seems that r207 also took care of the ugly flash that happened
when moving around with the map enabled (that was probably random memory
being drawn instead of the cursor for one frame), which was one of the
reasons I suspected another bug.

  -Christian


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pipmak-Users mailing list
Pipmak-Users@...
news://news.gmane.org/gmane.games.devel.pipmak.user
https://lists.sourceforge.net/lists/listinfo/pipmak-users

Re: Bug in r205

by Andrea Viarengo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> What triggered the crash that I fixed there was your call
> "pipmak.overlaynode(2)" in main.lua, at a time when there's no
> background node yet.

I had never thought!! I will try to meove this in the main node!

In any case, it seems that r209 works fine, I never get a crash with
that release, also without the folder "Microsoft.VC80.CRT"...

Good works!!
But now, read my test on new features on pipmak.devel.

Bye

Andrea  





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pipmak-Users mailing list
Pipmak-Users@...
news://news.gmane.org/gmane.games.devel.pipmak.user
https://lists.sourceforge.net/lists/listinfo/pipmak-users