Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #43183 > unrolled thread

Python pdb bug, followed by bug in bugs.python.org

Started bydonaldcallen@gmail.com
First post2013-04-09 08:25 -0700
Last post2013-04-11 08:12 -0700
Articles 15 — 8 participants

Back to article view | Back to comp.lang.python


Contents

  Python pdb bug, followed by bug in bugs.python.org donaldcallen@gmail.com - 2013-04-09 08:25 -0700
    Re: Python pdb bug, followed by bug in bugs.python.org Arnaud Delobelle <arnodel@gmail.com> - 2013-04-09 21:03 +0100
    Re: Python pdb bug, followed by bug in bugs.python.org John Gordon <gordon@panix.com> - 2013-04-09 20:25 +0000
      Re: Python pdb bug, followed by bug in bugs.python.org donaldcallen@gmail.com - 2013-04-11 07:56 -0700
        Re: Python pdb bug, followed by bug in bugs.python.org Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-11 11:41 -0600
        Re: Python pdb bug, followed by bug in bugs.python.org Robert Kern <robert.kern@gmail.com> - 2013-04-12 00:12 +0530
        Re: Python pdb bug, followed by bug in bugs.python.org Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-11 12:55 -0600
    Re: Python pdb bug, followed by bug in bugs.python.org Ned Deily <nad@acm.org> - 2013-04-09 15:17 -0700
      Re: Python pdb bug, followed by bug in bugs.python.org Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-04-11 10:50 +1200
        Re: Python pdb bug, followed by bug in bugs.python.org Ned Deily <nad@acm.org> - 2013-04-10 23:39 -0700
      Re: Python pdb bug, followed by bug in bugs.python.org donaldcallen@gmail.com - 2013-04-11 08:12 -0700
        Re: Python pdb bug, followed by bug in bugs.python.org Piotr Dobrogost <p@google-groups-2013.dobrogost.net> - 2013-04-13 10:28 -0700
          Re: Python pdb bug, followed by bug in bugs.python.org Ned Deily <nad@acm.org> - 2013-04-13 11:11 -0700
        Re: Python pdb bug, followed by bug in bugs.python.org Piotr Dobrogost <p@google-groups-2013.dobrogost.net> - 2013-04-13 10:28 -0700
      Re: Python pdb bug, followed by bug in bugs.python.org donaldcallen@gmail.com - 2013-04-11 08:12 -0700

#43183 — Python pdb bug, followed by bug in bugs.python.org

Fromdonaldcallen@gmail.com
Date2013-04-09 08:25 -0700
SubjectPython pdb bug, followed by bug in bugs.python.org
Message-ID<a34e8251-85df-4486-b5a1-72eb2bb9f353@googlegroups.com>
I am I've developed an application in Python 3.3.1 (on an up-to-date 64-bit Arch Linux system) and am attempting to use pdb to debug it. I am getting incorrect stack traces. I've made up a little 10-line program that illustrates the problem and I attempted to register on the bug-tracker site, unsuccessfully, to file a bug report. I followed the link in the email and got a "broken form" error message when I attempted to log in to the bug-tracker. I then tried replying to the verification email, and got some other form of brokenness in reply.

Suggestions?

[toc] | [next] | [standalone]


#43223

FromArnaud Delobelle <arnodel@gmail.com>
Date2013-04-09 21:03 +0100
Message-ID<mailman.383.1365537784.3114.python-list@python.org>
In reply to#43183
On 9 April 2013 16:25,  <donaldcallen@gmail.com> wrote:
> I am I've developed an application in Python 3.3.1 (on an up-to-date 64-bit Arch Linux system) and am attempting to use pdb to debug it. I am getting incorrect stack traces. I've made up a little 10-line program that illustrates the problem and I attempted to register on the bug-tracker site, unsuccessfully, to file a bug report. I followed the link in the email and got a "broken form" error message when I attempted to log in to the bug-tracker. I then tried replying to the verification email, and got some other form of brokenness in reply.
>
> Suggestions?

Python is well known for being a bug-free language, so from your
account I think that the most likely explanation is that you may have
acquired by accident some special mutant powers that introduce bugs
into the software that you come in contact with.  Therefore, my
suggestion is that you stay clear of any computer equipment from now
on, as you may cause hazards for yourself and others.

Others may be able to elaborate further.

-- 
Arnaud

[toc] | [prev] | [next] | [standalone]


#43226

FromJohn Gordon <gordon@panix.com>
Date2013-04-09 20:25 +0000
Message-ID<kk1tfh$1st$1@reader1.panix.com>
In reply to#43183
In <a34e8251-85df-4486-b5a1-72eb2bb9f353@googlegroups.com> donaldcallen@gmail.com writes:

> I am I've developed an application in Python 3.3.1 (on an up-to-date 64-bit=
>  Arch Linux system) and am attempting to use pdb to debug it. I am getting =
> incorrect stack traces. I've made up a little 10-line program that illustra=
> tes the problem and I attempted to register on the bug-tracker site, unsucc=
> essfully, to file a bug report. I followed the link in the email and got a =
> "broken form" error message when I attempted to log in to the bug-tracker. =
> I then tried replying to the verification email, and got some other form of=
>  brokenness in reply.

> Suggestions?

Post the 10-line program here, so others can verify whether it is a bug.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

[toc] | [prev] | [next] | [standalone]


#43377

Fromdonaldcallen@gmail.com
Date2013-04-11 07:56 -0700
Message-ID<b06d47b6-9ecf-44a3-bea2-20994dd0f1f4@googlegroups.com>
In reply to#43226
> > Suggestions?
> 
> 
> 
> Post the 10-line program here, so others can verify whether it is a bug.

#! /usr/bin/env python3
import pdb
def foo(message):
        print(message)
        pdb.set_trace()
foo('first call')
foo('second call')

Stick this in an file with execute permission and run it. At the first breakpoint, the backtrace will be correct. Continue. At the second breakpoint, a backtrace will show the foo('first call') on the stack when, in fact, the call came from foo('second call'), as verified by the printed message.

[toc] | [prev] | [next] | [standalone]


#43392

FromIan Kelly <ian.g.kelly@gmail.com>
Date2013-04-11 11:41 -0600
Message-ID<mailman.489.1365702132.3114.python-list@python.org>
In reply to#43377
On Thu, Apr 11, 2013 at 8:56 AM,  <donaldcallen@gmail.com> wrote:
> #! /usr/bin/env python3
> import pdb
> def foo(message):
>         print(message)
>         pdb.set_trace()
> foo('first call')
> foo('second call')
>
> Stick this in an file with execute permission and run it. At the first breakpoint, the backtrace will be correct. Continue. At the second breakpoint, a backtrace will show the foo('first call') on the stack when, in fact, the call came from foo('second call'), as verified by the printed message.


This is what I get using Python 3.3.1 in Windows:

C:\Users\ikelly\Desktop>c:\python33\python python_bug.py
first call
--Return--
> c:\users\ikelly\desktop\python_bug.py(7)foo()->None
-> pdb.set_trace()
(Pdb) c
second call
--Return--
> c:\users\ikelly\desktop\python_bug.py(7)foo()->None
-> pdb.set_trace()
(Pdb) c

[toc] | [prev] | [next] | [standalone]


#43396

FromRobert Kern <robert.kern@gmail.com>
Date2013-04-12 00:12 +0530
Message-ID<mailman.490.1365705781.3114.python-list@python.org>
In reply to#43377
On 2013-04-11 23:11, Ian Kelly wrote:
> On Thu, Apr 11, 2013 at 8:56 AM,  <donaldcallen@gmail.com> wrote:
>> #! /usr/bin/env python3
>> import pdb
>> def foo(message):
>>          print(message)
>>          pdb.set_trace()
>> foo('first call')
>> foo('second call')
>>
>> Stick this in an file with execute permission and run it. At the first breakpoint, the backtrace will be correct. Continue. At the second breakpoint, a backtrace will show the foo('first call') on the stack when, in fact, the call came from foo('second call'), as verified by the printed message.
>
>
> This is what I get using Python 3.3.1 in Windows:
>
> C:\Users\ikelly\Desktop>c:\python33\python python_bug.py
> first call
> --Return--
>> c:\users\ikelly\desktop\python_bug.py(7)foo()->None
> -> pdb.set_trace()
> (Pdb) c
> second call
> --Return--
>> c:\users\ikelly\desktop\python_bug.py(7)foo()->None
> -> pdb.set_trace()
> (Pdb) c

Use `where` to see the problem:

[~/scratch]$ python3.3 pdbbug.py
first call
--Return--
 > /Users/rkern/scratch/pdbbug.py(4)foo()->None
-> pdb.set_trace()
(Pdb) where
   /Users/rkern/scratch/pdbbug.py(5)<module>()
-> foo('first call')
 > /Users/rkern/scratch/pdbbug.py(4)foo()->None
-> pdb.set_trace()
(Pdb) c
second call
--Return--
 > /Users/rkern/scratch/pdbbug.py(4)foo()->None
-> pdb.set_trace()
(Pdb) where
   /Users/rkern/scratch/pdbbug.py(5)<module>()
-> foo('first call')
 > /Users/rkern/scratch/pdbbug.py(4)foo()->None
-> pdb.set_trace()
(Pdb)

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

[toc] | [prev] | [next] | [standalone]


#43399

FromIan Kelly <ian.g.kelly@gmail.com>
Date2013-04-11 12:55 -0600
Message-ID<mailman.491.1365706605.3114.python-list@python.org>
In reply to#43377
On Thu, Apr 11, 2013 at 12:42 PM, Robert Kern <robert.kern@gmail.com> wrote:
> Use `where` to see the problem:

Ah.  Then I can verify that the problem occurs in Windows as well:

C:\Users\ikelly\Desktop>c:\python33\python python_bug.py
first call
--Return--
> c:\users\ikelly\desktop\python_bug.py(7)foo()->None
-> pdb.set_trace()
(Pdb) w
  c:\users\ikelly\desktop\python_bug.py(9)<module>()
-> foo('first call')
> c:\users\ikelly\desktop\python_bug.py(7)foo()->None
-> pdb.set_trace()
(Pdb) c
second call
--Return--
> c:\users\ikelly\desktop\python_bug.py(7)foo()->None
-> pdb.set_trace()
(Pdb) w
  c:\users\ikelly\desktop\python_bug.py(9)<module>()
-> foo('first call')
> c:\users\ikelly\desktop\python_bug.py(7)foo()->None
-> pdb.set_trace()
(Pdb) c

[toc] | [prev] | [next] | [standalone]


#43234

FromNed Deily <nad@acm.org>
Date2013-04-09 15:17 -0700
Message-ID<mailman.389.1365545861.3114.python-list@python.org>
In reply to#43183
In article <a34e8251-85df-4486-b5a1-72eb2bb9f353@googlegroups.com>,
 donaldcallen@gmail.com wrote:

> I am I've developed an application in Python 3.3.1 (on an up-to-date 64-bit 
> Arch Linux system) and am attempting to use pdb to debug it. I am getting 
> incorrect stack traces. I've made up a little 10-line program that 
> illustrates the problem and I attempted to register on the bug-tracker site, 
> unsuccessfully, to file a bug report. I followed the link in the email and 
> got a "broken form" error message when I attempted to log in to the 
> bug-tracker. I then tried replying to the verification email, and got some 
> other form of brokenness in reply.

I was just able to create a new user by through the link from the 
bugs.python.org web page and then clicking on the link in the confirming 
email (although it did take a couple of hours for the confirming email 
to arrive).   There is a meta tracker for problems with the Python 
issuer tracker itself:

http://psf.upfronthosting.co.za/roundup/meta/

but you do have to register for that tracker (a separate registration).  
If you are able to supply more details, we might be able to follow up on 
the registration problem.  And,  as someone else suggested, you could 
post the details of the pdb problem here.  Note, there are already a 
number of currently open issues with pdb reported on the bug tracker.  
If you haven't already, you could search for "pdb" and see if your 
problem has been reported.  Thanks for bringing the problem(s) up!

-- 
 Ned Deily,
 nad@acm.org

[toc] | [prev] | [next] | [standalone]


#43299

FromGregory Ewing <greg.ewing@canterbury.ac.nz>
Date2013-04-11 10:50 +1200
Message-ID<asm8lhF602qU1@mid.individual.net>
In reply to#43234
Ned Deily wrote:
> There is a meta tracker for problems with the Python 
> issuer tracker itself:
> 
> http://psf.upfronthosting.co.za/roundup/meta/
> 
> but you do have to register for that tracker (a separate registration).  

You mean there's no meta-meta-tracker for reporting
problems registering with the meta-tracker?

There should be meta-trackers all the way up!

-- 
Greg

[toc] | [prev] | [next] | [standalone]


#43325

FromNed Deily <nad@acm.org>
Date2013-04-10 23:39 -0700
Message-ID<mailman.443.1365662361.3114.python-list@python.org>
In reply to#43299
In article <asm8lhF602qU1@mid.individual.net>,
 Gregory Ewing <greg.ewing@canterbury.ac.nz> wrote:
> Ned Deily wrote:
> > There is a meta tracker for problems with the Python 
> > issuer tracker itself:
> > http://psf.upfronthosting.co.za/roundup/meta/
> > but you do have to register for that tracker (a separate registration).  
> You mean there's no meta-meta-tracker for reporting
> problems registering with the meta-tracker?
> 
> There should be meta-trackers all the way up!

Alas, as is well known, Python does not support tail call elimination.

-- 
 Ned Deily,
 nad@acm.org

[toc] | [prev] | [next] | [standalone]


#43378

Fromdonaldcallen@gmail.com
Date2013-04-11 08:12 -0700
Message-ID<a4d5ad4b-6baf-461d-a025-d6917cd25587@googlegroups.com>
In reply to#43234
On Tuesday, April 9, 2013 6:17:28 PM UTC-4, Ned Deily wrote:
> In article <a34e8251-85df-4486-b5a1-72eb2bb9f353@googlegroups.com>,
> 
>  donallen wrote:
> 
> 
> 
> > I am I've developed an application in Python 3.3.1 (on an up-to-date 64-bit 
> 
> > Arch Linux system) and am attempting to use pdb to debug it. I am getting 
> 
> > incorrect stack traces. I've made up a little 10-line program that 
> 
> > illustrates the problem and I attempted to register on the bug-tracker site, 
> 
> > unsuccessfully, to file a bug report. I followed the link in the email and 
> 
> > got a "broken form" error message when I attempted to log in to the 
> 
> > bug-tracker. I then tried replying to the verification email, and got some 
> 
> > other form of brokenness in reply.
> 
> 
> 
> I was just able to create a new user by through the link from the 
> 
> bugs.python.org web page and then clicking on the link in the confirming 
> 
> email (although it did take a couple of hours for the confirming email 
> 
> to arrive).   There is a meta tracker for problems with the Python 
> 
> issuer tracker itself:
> 
> 
> 
> http://psf.upfronthosting.co.za/roundup/meta/
> 
> 
> 
> but you do have to register for that tracker (a separate registration).  
> 
> If you are able to supply more details, we might be able to follow up on 
> 
> the registration problem.  And,  as someone else suggested, you could 
> 
> post the details of the pdb problem here.  Note, there are already a 
> 
> number of currently open issues with pdb reported on the bug tracker.  
> 
> If you haven't already, you could search for "pdb" and see if your 
> 
> problem has been reported.  Thanks for bringing the problem(s) up!

I just got registered successfully using a different username than I tried the other day. I haven't attempted to reproduce the problem I saw then, but I will and will report it if I can provide a proper description of the issue.

I just submitted a bug report on the pdb issue.

Thanks for the helpful reply.

/Don

> 
> 
> 
> -- 
> 
>  Ned Deily,
> 
>  nad@acm.org

[toc] | [prev] | [next] | [standalone]


#43530

FromPiotr Dobrogost <p@google-groups-2013.dobrogost.net>
Date2013-04-13 10:28 -0700
Message-ID<eba316f9-cf50-418f-bbd8-ecdeb6dbc6ed@googlegroups.com>
In reply to#43378
On Thursday, April 11, 2013 5:12:53 PM UTC+2, donald...@gmail.com wrote:
> 
> I just submitted a bug report on the pdb issue.

It would be nice of you to share the link to this issue. 

[toc] | [prev] | [next] | [standalone]


#43533

FromNed Deily <nad@acm.org>
Date2013-04-13 11:11 -0700
Message-ID<mailman.563.1365876695.3114.python-list@python.org>
In reply to#43530
In article <eba316f9-cf50-418f-bbd8-ecdeb6dbc6ed@googlegroups.com>,
 Piotr Dobrogost <p@google-groups-2013.dobrogost.net> wrote:
> On Thursday, April 11, 2013 5:12:53 PM UTC+2, donald...@gmail.com wrote:
> > I just submitted a bug report on the pdb issue. 
> It would be nice of you to share the link to this issue. 

http://bugs.python.org/issue17697

-- 
 Ned Deily,
 nad@acm.org

[toc] | [prev] | [next] | [standalone]


#43534

FromPiotr Dobrogost <p@google-groups-2013.dobrogost.net>
Date2013-04-13 10:28 -0700
Message-ID<mailman.564.1365877081.3114.python-list@python.org>
In reply to#43378
On Thursday, April 11, 2013 5:12:53 PM UTC+2, donald...@gmail.com wrote:
> 
> I just submitted a bug report on the pdb issue.

It would be nice of you to share the link to this issue. 

[toc] | [prev] | [next] | [standalone]


#43379

Fromdonaldcallen@gmail.com
Date2013-04-11 08:12 -0700
Message-ID<mailman.481.1365693178.3114.python-list@python.org>
In reply to#43234
On Tuesday, April 9, 2013 6:17:28 PM UTC-4, Ned Deily wrote:
> In article <a34e8251-85df-4486-b5a1-72eb2bb9f353@googlegroups.com>,
> 
>  donallen wrote:
> 
> 
> 
> > I am I've developed an application in Python 3.3.1 (on an up-to-date 64-bit 
> 
> > Arch Linux system) and am attempting to use pdb to debug it. I am getting 
> 
> > incorrect stack traces. I've made up a little 10-line program that 
> 
> > illustrates the problem and I attempted to register on the bug-tracker site, 
> 
> > unsuccessfully, to file a bug report. I followed the link in the email and 
> 
> > got a "broken form" error message when I attempted to log in to the 
> 
> > bug-tracker. I then tried replying to the verification email, and got some 
> 
> > other form of brokenness in reply.
> 
> 
> 
> I was just able to create a new user by through the link from the 
> 
> bugs.python.org web page and then clicking on the link in the confirming 
> 
> email (although it did take a couple of hours for the confirming email 
> 
> to arrive).   There is a meta tracker for problems with the Python 
> 
> issuer tracker itself:
> 
> 
> 
> http://psf.upfronthosting.co.za/roundup/meta/
> 
> 
> 
> but you do have to register for that tracker (a separate registration).  
> 
> If you are able to supply more details, we might be able to follow up on 
> 
> the registration problem.  And,  as someone else suggested, you could 
> 
> post the details of the pdb problem here.  Note, there are already a 
> 
> number of currently open issues with pdb reported on the bug tracker.  
> 
> If you haven't already, you could search for "pdb" and see if your 
> 
> problem has been reported.  Thanks for bringing the problem(s) up!

I just got registered successfully using a different username than I tried the other day. I haven't attempted to reproduce the problem I saw then, but I will and will report it if I can provide a proper description of the issue.

I just submitted a bug report on the pdb issue.

Thanks for the helpful reply.

/Don

> 
> 
> 
> -- 
> 
>  Ned Deily,
> 
>  nad@acm.org

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web