Problem on win xp and run time error
6 answers - 901 bytes -

Hi list,
just found in this moment that my applications stop to work with win xp
and receive this error:
"""
This application has requested the Runtime to terminate it in an unusual
way. Please contact the application's support team for more information.
"""
(Note that the same application [python source code + py2exe] with
python 2.3.x work well!)
With a little google search I found that this is a win xp sp2 problem
*without* apparently solution :(
I see that the page says:
"""
This problem may occur when you use the /GR and the /MD compiler switches
"""
so my question are: python are compiled with that switches? If yes, can
someone try to compile it without that switches, if it can of course,
and publish the new installer? I'm can't work until microsoft solve that
issue! :(
Thanks,
Michele
No.1 | | 1076 bytes |
| 
Fri, Jun 16, 2006 at 06:11:53PM +0000, Michele Petrazzo wrote:
Hi list,
just found in this moment that my applications stop to work with win xp
and receive this error:
"""
This application has requested the Runtime to terminate it in an unusual
way. Please contact the application's support team for more information.
"""
(Note that the same application [python source code + py2exe] with
python 2.3.x work well!)
Don't use the single file executatble option with py2exe and the problem will
go away.
-Chris
With a little google search I found that this is a win xp sp2 problem
*without* apparently solution :(
I see that the page says:
"""
This problem may occur when you use the /GR and the /MD compiler switches
"""
so my question are: python are compiled with that switches? If yes, can
someone try to compile it without that switches, if it can of course,
and publish the new installer? I'm can't work until microsoft solve that
issue! :(
Thanks,
Michele
No.2 | | 1217 bytes |
| 
Michele Petrazzo wrote:
just found in this moment that my applications stop to work with win xp
and receive this error:
"""
This application has requested the Runtime to terminate it in an unusual
way. Please contact the application's support team for more information.
"""
(Note that the same application [python source code + py2exe] with
python 2.3.x work well!)
With a little google search I found that this is a win xp sp2 problem
*without* apparently solution :(
I see that the page says:
"""
This problem may occur when you use the /GR and the /MD compiler switches
"""
hint 1: the use of "may" in that sentence is intentional.
hint 2: python 2.4 wasn't built with Visual C++ 6.0 (but python 2.3 was)
hint 3: on Windows, this message is displayed when the "abort" function
is called (including when an assert fails):
the python interpreter will call abort() when it stumbles upon a fatal
error (Py_FatalError), or when an internal assertion fails. when this
happens, the program will print a "Fatal Python error" message to both
stderr and the debug console before it calls abort.
</F>
No.3 | | 862 bytes |
| 
Chris Lambacher wrote:
Fri, Jun 16, 2006 at 06:11:53PM +0000, Michele Petrazzo wrote:
>Hi list, just found in this moment that my applications stop to
>work with win xp and receive this error:
>
>""" This application has requested the Runtime to terminate it in
>an unusual way. Please contact the application's support team for
>more information. """
>
>(Note that the same application [python source code + py2exe] with
>python 2.3.x work well!)
Don't use the single file executatble option with py2exe and the
problem will go away.
I'm not using that option! (that has also problems on win9x with python+wx)
I'm not using any of the "bundle_files" options, but only:
zipfile = "lib/libraries.zip"
-Chris
Thanks,
Michele
No.4 | | 1459 bytes |
| 
Fredrik Lundh wrote:
>I see that the page says: """ This problem may occur when you use
>the /GR and the /MD compiler switches """
hint 1: the use of "may" in that sentence is intentional.
This is the only, real, answer/solution that I found on internet, so I
thought that was the problem. This also convince me because the page
said that this happen only on win xp sp2, that is the platform where the
problem happens! All work on win2k!
hint 2: python 2.4 wasn't built with Visual C++ 6.0 (but python 2.3
was)
But, I have problems only on with 2.4! With 2.3, and the *same* code,
all work!
hint 3: on Windows, this message is displayed when the "abort"
function is called (including when an assert fails):
the python interpreter will call abort() when it stumbles upon a
fatal error (Py_FatalError), or when an internal assertion fails.
when this happens, the program will print a "Fatal Python error"
message to both stderr and the debug console before it calls abort.
Normally py2exe catch that messages and show them when the program are
closed, but in this case, I don't see any message :(
Is it possible that some, but I don't know what, can be modified from
py2.3 to py2.4 and now my program wont work?
Is there some tried that I can do for try to solve my issue?
</F>
Thanks,
Michele
No.5 | | 1286 bytes |
| 
Sat, Jun 17, 2006 at 07:32:34AM +0000, Michele Petrazzo wrote:
Chris Lambacher wrote:
Fri, Jun 16, 2006 at 06:11:53PM +0000, Michele Petrazzo wrote:
>Hi list, just found in this moment that my applications stop to
>work with win xp and receive this error:
>
>""" This application has requested the Runtime to terminate it in
>an unusual way. Please contact the application's support team for
>more information. """
>
>(Note that the same application [python source code + py2exe] with
>python 2.3.x work well!)
Don't use the single file executatble option with py2exe and the
problem will go away.
I'm not using that option! (that has also problems on win9x with python+wx)
Do you get the problem when you are not using py2exe? That will be your real
clue about what the culprit is.
I'm not using any of the "bundle_files" options, but only:
zipfile = "lib/libraries.zip"
Try setting that to the default value for the moment and see if it gets you
anywhere. You might also want to try an older version of py2exe. I would
blame an interaction between py2exe and some extension you are using, unless
you can get it to happen without py2exe.
No.6 | | 1516 bytes |
| 
Chris Lambacher wrote:
Sat, Jun 17, 2006 at 07:32:34AM +0000, Michele Petrazzo wrote:
>Chris Lambacher wrote:
Fri, Jun 16, 2006 at 06:11:53PM +0000, Michele Petrazzo wrote:
Hi list, just found in this moment that my applications stop to
work with win xp and receive this error:
""" This application has requested the Runtime to terminate it
in an unusual way. Please contact the application's support
team for more information. """
(Note that the same application [python source code + py2exe]
with python 2.3.x work well!)
Don't use the single file executatble option with py2exe and the
problem will go away.
>I'm not using that option! (that has also problems on win9x with
>python+wx)
Do you get the problem when you are not using py2exe? That will be
your real clue about what the culprit is.
No, but
>I'm not using any of the "bundle_files" options, but only: zipfile
>= "lib/libraries.zip"
Try setting that to the default value for the moment and see if it
gets you anywhere. You might also want to try an older version of
py2exe. I would blame an interaction between py2exe and some
extension you are using, unless you can get it to happen without
py2exe.
Was, I think, a win problem because after the last "windows update" all
now work!
Thanks for the support,
Michele