Re: [Python-Dev] What's the best way to debug python3 source code? (for this bug: http://bugs.python.org/issue15068)

2012-06-18 Thread gmspro
@martin, I'm working on this bug, http://bugs.python.org/issue15068 I tried this with gdb (gdb)run from sys import stdin str=sys.stdin.read() blabla blabla blabla CTRL+D CTRL+D CTRL+C (gdb)backtrace 0xb7f08348 in ___newselect_nocancel () at ../sysdeps/unix/syscall-template.S:82 82   

Re: [Python-Dev] What's the best way to debug python3 source code? (for this bug: http://bugs.python.org/issue15068)

2012-06-18 Thread Terry Reedy
On 6/18/2012 7:10 AM, gmspro wrote: I'm working on this bug, http://bugs.python.org/issue15068 Oh. From your first message, I thought you were asking about a personal bug. I will mention that real names are customary on this list. (Unless you have a good professional reason otherwise.) They

Re: [Python-Dev] What's the best way to debug python3 source code? (for this bug: http://bugs.python.org/issue15068)

2012-06-18 Thread Martin v. Löwis
But i can't get any clue which file to look at. I personally wouldn't use gdb but strace to establish what system calls are being made, and decide whether these system calls are correct or not. If you then think that some call is being made that shouldn't, set a breakpoint on the syscall