[Stackless] stackless python gets crashed while setting frame.f_lineno

Hussain Bohra hussainbohra_30 at yahoo.com
Tue Sep 6 09:33:52 CEST 2011


Hi Richard,

I have written a stand alone script to reproduce this error.

Following are the console statements:
C:\Users\hussain.bohra\Desktop\Backup Files>c:\Python32\python.exe
>Python 3.2 Stackless 3.1b3 060516 (py3k, Feb 22 2011, 08:13:50) [MSC v.1500 32 bit (Intel)] on win32
>Type "help", "copyright", "credits" or "license" for more information.
>>>> import Tracer
>>>> Tracer.run()
>call -> C:\Users\hussain.bohra\Desktop\Backup Files\test.py(1):
>line -> C:\Users\hussain.bohra\Desktop\Backup Files\test.py(1):
>line -> C:\Users\hussain.bohra\Desktop\Backup Files\test.py(26):
>line -> C:\Users\hussain.bohra\Desktop\Backup Files\test.py(27):
>call -> C:\Users\hussain.bohra\Desktop\Backup Files\test.py(1):
>line -> C:\Users\hussain.bohra\Desktop\Backup Files\test.py(5):
>call -> c:\Python32\lib\encodings\cp437.py(18):
>line -> c:\Python32\lib\encodings\cp437.py(19):
>return -> c:\Python32\lib\encodings\cp437.py(19):
>Starting Maincall -> c:\Python32\lib\encodings\cp437.py(18):
>line -> c:\Python32\lib\encodings\cp437.py(19):
>return -> c:\Python32\lib\encodings\cp437.py(19):
>
>
>line -> C:\Users\hussain.bohra\Desktop\Backup Files\test.py(6):jump 23
>
>
Python gets crash on executing jump 23. Please refer the attached screenshot (spython_crash_standalone.JPG) for more details.

I have attached standalone scripts (Tracer.py and test.py), along with this e-mail for your reference.
Before executing Tracer.run, you need to change filename (at line 36) which should point to your download path.

Kindly let me know if you need more details.

Thanks and Regards,
Hussain Bohra


________________________________
From: "stackless-request at stackless.com" <stackless-request at stackless.com>
To: stackless at stackless.com
Sent: Saturday, 3 September 2011 3:30 PM
Subject: Stackless Digest, Vol 92, Issue 2

Send Stackless mailing list submissions to
    stackless at stackless.com

To subscribe or unsubscribe via the World Wide Web, visit
    http://www.stackless.com/mailman/listinfo/stackless
or, via email, send a message with subject or body 'help' to
    stackless-request at stackless.com

You can reach the person managing the list at
    stackless-owner at stackless.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Stackless digest..."


Today's Topics:

   1. Fwd:  (Richard Tew)


----------------------------------------------------------------------

Message: 1
Date: Fri, 2 Sep 2011 20:55:48 +0800
From: Richard Tew <richard.m.tew at gmail.com>
To: stackless at stackless.com
Subject: [Stackless] Fwd: stackless python gets crashed while setting
    frame.f_lineno
Message-ID:
    <CAN=X-TGoFLK7kDZ30Dg2A1UxSdgpc=aP_25VRfuEVVa+DQUh1g at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Gah, forgot reply to all again.

---------- Forwarded message ----------
From: Richard Tew <richard.m.tew at gmail.com>
Date: Fri, Sep 2, 2011 at 8:54 PM
Subject: Re: stackless python gets crashed while setting frame.f_lineno
To: Hussain Bohra <hussainbohra_30 at yahoo.com>


On Fri, Sep 2, 2011 at 8:17 PM, Hussain Bohra <hussainbohra_30 at yahoo.com> wrote:
> Hi,
>
> I have done some enhancement in the pydev i.e. python plugin for eclipse and
> added a new debug command i.e. Set Next Statement.

This sounds like something that someone would need to reproduce to
debug the reason for. ?Is there any way you can reduce this to a
reproduction case which can be run as a standalone script? :-) ?Maybe
set up debugging for your test script automatically with code and then
have it do the set next?

Thanks for the report!

Cheers,
Richard.



------------------------------

_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless

End of Stackless Digest, Vol 92, Issue 2
****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20110906/41302cec/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.py
Type: application/octet-stream
Size: 462 bytes
Desc: not available
URL: <http://www.stackless.com/pipermail/stackless/attachments/20110906/41302cec/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tracer.py
Type: application/octet-stream
Size: 965 bytes
Desc: not available
URL: <http://www.stackless.com/pipermail/stackless/attachments/20110906/41302cec/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spython_crash_standlaone.JPG
Type: image/jpeg
Size: 105485 bytes
Desc: not available
URL: <http://www.stackless.com/pipermail/stackless/attachments/20110906/41302cec/attachment-0001.jpe>


More information about the Stackless mailing list