Problem on win xp and run time error

M

Michele Petrazzo

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 :(

http://support.microsoft.com/kb/884538/en-us

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
 
C

Chris Lambacher

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
 
F

Fredrik Lundh

Michele said:
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 :(

http://support.microsoft.com/kb/884538/en-us

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):

http://msdn2.microsoft.com/en-us/library/k089yyh0.aspx

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>
 
M

Michele Petrazzo

Chris said:
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"

Thanks,
Michele
 
M

Michele Petrazzo

Fredrik said:
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):

http://msdn2.microsoft.com/en-us/library/k089yyh0.aspx

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?

Thanks,
Michele
 
C

Chris Lambacher

Chris said:
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.
 
M

Michele Petrazzo

Chris said:
Chris said:
On 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...
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top