Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10639 closed defect (worksforme)

Tracd is using 100% CPU

Reported by: stanimir@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.12-stable
Severity: normal Keywords: tracd 100% CPU needinfo
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hello,

first of all - sorry for my bad English - I'm not a native speaker.

I have working svn+trac installation, but today after one commit I decided to check it out from Trac. I noticed that the trac is loading much slower… trying to open the last changeset caused the trac to hang up.

I tried: 1) apache+trac 0.11.7 - noticed that apache process is using 99% CPU 2) tracd standalone - same usage but from tracd 3) upgraded 0.11.7 to 0.12.3 - apache or standalone tracd - same 99% CPU

What could the issue be? I'm open to do any test and provide the output here.

Thank you very much.

Attachments (1)

VeraSe.ttf (58.9 KB ) - added by stanimir@… 13 years ago.
the ttf which was in the changeset

Download all attachments as: .zip

Change History (15)

comment:1 by stanimir@…, 13 years ago

A quick comment… after few more commits to the svn server I noticed that only if I try to see a particular changeset (or do a diff including that changeset) the trac is hanging… the only unusual thing I commited is one ttf file - hope that helps somehow.

comment:2 by Remy Blank, 13 years ago

Keywords: needinfo added

Was the .ttf file the only file in that changeset? What file types were the others? Was the change particularly large, or did it have a large number of files? Could you please attach the .ttf file here, or if you don't want to make it public, send it to me (remy.blank(at)pobox.com) so that I can try reproducing the issue?

comment:3 by Christian Boos, 13 years ago

Well, the two versions of .ttf file, as it's probably either generating or rendering the diff which causes the full CPU usage.

Also, if you're on Linux, you could attach to the Python process with gdb while it's at 100% and have a look at the backtrace, which might also be instructive (see TracTroubleshooting#DebuggingaHangingProcess).

by stanimir@…, 13 years ago

Attachment: VeraSe.ttf added

the ttf which was in the changeset

comment:4 by stanimir@…, 13 years ago

That .ttf was not the only file in the changeset but few small php files too.

SVN + Trac are running on Amazon EC2 instance - I'll attach the backtrace and will post the results here.

Thank you

comment:5 by stanimir@…, 13 years ago

Here is the trace:

GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.
Attaching to program: /usr/bin/python, process 20609
Reading symbols from /lib/snoopy.so...(no debugging symbols found)...done.
Loaded symbols for /lib/snoopy.so
Reading symbols from /lib/tls/i686/nosegneg/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb70d0b70 (LWP 20610)]
Loaded symbols for /lib/tls/i686/nosegneg/libpthread.so.0
Reading symbols from /lib/tls/i686/nosegneg/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/nosegneg/libdl.so.2
Reading symbols from /lib/tls/i686/nosegneg/libutil.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/nosegneg/libutil.so.1
Reading symbols from /lib/i686/cmov/libssl.so.0.9.8...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libssl.so.0.9.8
Reading symbols from /lib/i686/cmov/libcrypto.so.0.9.8...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libcrypto.so.0.9.8
Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/tls/i686/nosegneg/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/nosegneg/libm.so.6
Reading symbols from /lib/tls/i686/nosegneg/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/nosegneg/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/python2.6/lib-dynload/datetime.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/python2.6/lib-dynload/datetime.so
Reading symbols from /usr/lib/python2.6/lib-dynload/pyexpat.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/python2.6/lib-dynload/pyexpat.so
Reading symbols from /usr/lib/python2.6/lib-dynload/_json.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/python2.6/lib-dynload/_json.so
Reading symbols from /usr/lib/python2.6/lib-dynload/crypt.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/python2.6/lib-dynload/crypt.so
Reading symbols from /lib/tls/i686/nosegneg/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/nosegneg/libcrypt.so.1
Reading symbols from /lib/tls/i686/nosegneg/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/nosegneg/libnss_files.so.2
Reading symbols from /lib/tls/i686/nosegneg/libnss_dns.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/nosegneg/libnss_dns.so.2
Reading symbols from /lib/tls/i686/nosegneg/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/nosegneg/libresolv.so.2
Reading symbols from /usr/lib/python2.6/lib-dynload/_sqlite3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/python2.6/lib-dynload/_sqlite3.so
Reading symbols from /usr/lib/libsqlite3.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsqlite3.so.0
Reading symbols from /usr/lib/python2.6/lib-dynload/_csv.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/python2.6/lib-dynload/_csv.so
Reading symbols from /usr/lib/python2.6/lib-dynload/_heapq.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/python2.6/lib-dynload/_heapq.so
Reading symbols from /usr/lib/pymodules/python2.6/libsvn/_fs.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pymodules/python2.6/libsvn/_fs.so
Reading symbols from /usr/lib/libsvn_swig_py2.6-1.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsvn_swig_py2.6-1.so.1
Reading symbols from /usr/lib/libsvn_fs-1.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsvn_fs-1.so.1
Reading symbols from /usr/lib/libsvn_subr-1.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsvn_subr-1.so.1
Reading symbols from /usr/lib/libapr-1.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libapr-1.so.0
Reading symbols from /usr/lib/libsvn_client-1.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsvn_client-1.so.1
Reading symbols from /usr/lib/libsvn_wc-1.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsvn_wc-1.so.1
Reading symbols from /usr/lib/libsvn_ra-1.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsvn_ra-1.so.1
Reading symbols from /usr/lib/libsvn_delta-1.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsvn_delta-1.so.1
Reading symbols from /usr/lib/libsvn_fs_fs-1.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsvn_fs_fs-1.so.1
Reading symbols from /usr/lib/libsvn_fs_base-1.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsvn_fs_base-1.so.1
Reading symbols from /usr/lib/libsvn_fs_util-1.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsvn_fs_util-1.so.1
Reading symbols from /usr/lib/libaprutil-1.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libaprutil-1.so.0
Reading symbols from /usr/lib/libldap_r-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libldap_r-2.4.so.2
Reading symbols from /usr/lib/liblber-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/liblber-2.4.so.2
Reading symbols from /lib/libuuid.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libuuid.so.1
Reading symbols from /lib/tls/i686/nosegneg/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/nosegneg/librt.so.1
Reading symbols from /usr/lib/libsvn_diff-1.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsvn_diff-1.so.1
Reading symbols from /usr/lib/libsvn_ra_local-1.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsvn_ra_local-1.so.1
Reading symbols from /usr/lib/libsvn_repos-1.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsvn_repos-1.so.1
Reading symbols from /usr/lib/libsvn_ra_svn-1.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsvn_ra_svn-1.so.1
Reading symbols from /usr/lib/libsvn_ra_neon-1.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsvn_ra_neon-1.so.1
Reading symbols from /usr/lib/libdb-4.8.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdb-4.8.so
Reading symbols from /lib/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libexpat.so.1
Reading symbols from /usr/lib/libsasl2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /usr/lib/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libgnutls.so.26...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnutls.so.26
Reading symbols from /usr/lib/libneon-gnutls.so.27...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libneon-gnutls.so.27
Reading symbols from /usr/lib/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /usr/lib/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /lib/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /lib/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libkeyutils.so.1
Reading symbols from /usr/lib/libtasn1.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libtasn1.so.3
Reading symbols from /lib/libgcrypt.so.11...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcrypt.so.11
Reading symbols from /usr/lib/libxml2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /lib/libgpg-error.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libgpg-error.so.0
Reading symbols from /usr/lib/pymodules/python2.6/libsvn/_core.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pymodules/python2.6/libsvn/_core.so
Reading symbols from /usr/lib/pymodules/python2.6/libsvn/_delta.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pymodules/python2.6/libsvn/_delta.so
Reading symbols from /usr/lib/pymodules/python2.6/libsvn/_repos.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pymodules/python2.6/libsvn/_repos.so
0xb7810424 in __kernel_vsyscall ()

(gdb) bt

#0  0xb7810424 in __kernel_vsyscall ()
#1  0xb77f6345 in sem_wait@@GLIBC_2.1 () from /lib/tls/i686/nosegneg/libpthread.so.0
#2  0x0810abe8 in PyThread_acquire_lock ()
#3  0x080dbe9c in PyEval_RestoreThread ()
#4  0x0812c46b in ?? ()
#5  0x080e0a21 in PyEval_EvalFrameEx ()
#6  0x080e2807 in PyEval_EvalCodeEx ()
#7  0x080e0c8b in PyEval_EvalFrameEx ()
#8  0x080e2807 in PyEval_EvalCodeEx ()
#9  0x080e0c8b in PyEval_EvalFrameEx ()
#10 0x080e2807 in PyEval_EvalCodeEx ()
#11 0x080e0c8b in PyEval_EvalFrameEx ()
#12 0x080e2807 in PyEval_EvalCodeEx ()
#13 0x080e2907 in PyEval_EvalCode ()
#14 0x081005ad in PyRun_FileExFlags ()
#15 0x08100812 in PyRun_SimpleFileExFlags ()
#16 0x0805de5c in Py_Main ()
#17 0x0805d03b in main ()

(gdb) quit
Last edited 13 years ago by Christian Boos (previous) (diff)

comment:6 by stanimir@…, 13 years ago

Here is the backtrace with running apache:

GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/apache2...done.
Attaching to program: /usr/sbin/apache2, process 20646
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
[Thread debugging using libthread_db enabled]
0xb63b8d0b in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0

(gdb) bt

#0  0xb63b8d0b in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#1  0xb633b2f7 in ?? () from /usr/lib/libpython2.6.so.1.0
#2  0xb63b9465 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#3  0xb633b2f7 in ?? () from /usr/lib/libpython2.6.so.1.0
#4  0xb63b9465 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#5  0xb633b2f7 in ?? () from /usr/lib/libpython2.6.so.1.0
#6  0xb63b9465 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#7  0xb633b2f7 in ?? () from /usr/lib/libpython2.6.so.1.0
#8  0xb63b9465 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#9  0xb633b2f7 in ?? () from /usr/lib/libpython2.6.so.1.0
#10 0xb63b9465 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#11 0xb633b2f7 in ?? () from /usr/lib/libpython2.6.so.1.0
#12 0xb63b9465 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#13 0xb633b2f7 in ?? () from /usr/lib/libpython2.6.so.1.0
#14 0xb63b9465 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#15 0xb633b2f7 in ?? () from /usr/lib/libpython2.6.so.1.0
#16 0xb63b9465 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#17 0xb633b2f7 in ?? () from /usr/lib/libpython2.6.so.1.0
#18 0xb63b9465 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#19 0xb633b2f7 in ?? () from /usr/lib/libpython2.6.so.1.0
#20 0xb63b9465 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#21 0xb633b2f7 in ?? () from /usr/lib/libpython2.6.so.1.0
#22 0xb63170d3 in PyIter_Next () from /usr/lib/libpython2.6.so.1.0
#23 0xb64038a8 in ?? () from /usr/lib/libpython2.6.so.1.0
#24 0xb63b9465 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#25 0xb633b2f7 in ?? () from /usr/lib/libpython2.6.so.1.0
#26 0xb63b9465 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#27 0xb633b2f7 in ?? () from /usr/lib/libpython2.6.so.1.0
#28 0xb63b9465 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#29 0xb633b2f7 in ?? () from /usr/lib/libpython2.6.so.1.0
#30 0xb63b9465 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#31 0xb633b2f7 in ?? () from /usr/lib/libpython2.6.so.1.0
#32 0xb63b9465 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#33 0xb63becbd in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#34 0xb63bcdb8 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#35 0xb63becbd in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#36 0xb63bcdb8 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#37 0xb63becbd in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#38 0xb63bcdb8 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#39 0xb63be421 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#40 0xb63be421 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#41 0xb63becbd in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#42 0xb63bcdb8 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#43 0xb63be421 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#44 0xb63be421 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#45 0xb63be421 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
---Type <return> to continue, or q <return> to quit---
#46 0xb63becbd in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#47 0xb63bcdb8 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#48 0xb63becbd in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#49 0xb6346e97 in ?? () from /usr/lib/libpython2.6.so.1.0
#50 0xb6317edc in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#51 0xb6329e34 in ?? () from /usr/lib/libpython2.6.so.1.0
#52 0xb6317edc in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#53 0xb631d36e in PyObject_CallMethod () from /usr/lib/libpython2.6.so.1.0
#54 0xb655438b in ?? () from /usr/lib/apache2/modules/mod_python.so
#55 0xb65566bb in ?? () from /usr/lib/apache2/modules/mod_python.so
#56 0xb78ae291 in ap_run_handler (r=0xb80770c8) at /build/buildd/apache2-2.2.14/server/config.c:159
#57 0xb78b2077 in ap_invoke_handler (r=0xb80770c8) at /build/buildd/apache2-2.2.14/server/config.c:373
#58 0xb78c19a8 in ap_process_request (r=0xb80770c8) at /build/buildd/apache2-2.2.14/modules/http/http_request.c:282
#59 0xb78be4d8 in ap_process_http_connection (c=0xb7e89a78) at /build/buildd/apache2-2.2.14/modules/http/http_core.c:190
#60 0xb78b6b01 in ap_run_process_connection (c=0xb7e89a78) at /build/buildd/apache2-2.2.14/server/connection.c:43
#61 0xb78c763a in child_main (child_num_arg=<value optimized out>) at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:662
#62 0xb78c79be in make_child (s=<value optimized out>, slot=3) at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:758
#63 0xb78c7d92 in startup_children (_pconf=0xb7a380a8, plog=0xb7a6a170, s=0xb7a3c8e8) at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:776
#64 ap_mpm_run (_pconf=0xb7a380a8, plog=0xb7a6a170, s=0xb7a3c8e8) at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:997
#65 0xb7898a92 in main (argc=3, argv=0xbfe8a8c4) at /build/buildd/apache2-2.2.14/server/main.c:742

(gdb) quit

Thanks guys! I found Trac prev month and I really loved it - hope we can resolve the issue with that

Last edited 13 years ago by Christian Boos (previous) (diff)

comment:7 by Christian Boos, 13 years ago

Thanks! But as apparently only Python code is involved in the busy code, it would be very useful to get the python traceback as well. See TracTroubleshooting#SystemErrors for ways to get it from inside gdb.

Also, the VeraSe.ttf seems to be a binary, so it's unlikely it even gets diff'ed. Are those PHP files containing some odd mix of CR, LF, CRLF? (as this reminds me of #2756, though that one lead to a "maximum recursion depth exceeded" error).

comment:8 by stanimir@…, 13 years ago

Hi,

the comment before apache's backtrace is a python backtrace.

I started the tracd, then with ps awx | grep tracd get his PID, then opened that revision from the browser and did: 1) gdb python (PID) 2) bt

Thanks

comment:9 by stanimir@…, 13 years ago

ah and sorry about the dublicating comment, but I believe the PHP files doesnt contain a mix like this as they're created and edited only by me using NetBeans IDE on Linux.

Thanks

comment:10 by Christian Boos, 13 years ago

Ok, it's the C backtrace of the python process… but that doesn't tell us what the Python "traceback" is in terms of Python code. That's the job of the Python or gdb scripts listed in the reference given above. For example, using gdbinit:

$ curl -O http://hg.python.org/cpython/raw-file/113b8e3cbba4/Misc/gdbinit
$ gdb -p (PID)
$ source gdbinit
$ pystack

comment:11 by stanimir@…, 13 years ago

Okay you pointed me earlier to the right path but I was dummy enough to not double check it…

just checked with svn command that revision and saw one big log file commited to svn by incident.. it was a long night and I just missed that.. removed it from the repository and as long I'm not trying to see that particular changeset from trac its all okay… just tested with diff from earlier stage to the current and it seems fine.

Thanks for your time and the great support!

comment:12 by stanimir@…, 13 years ago

Resolution: fixed
Status: newclosed

comment:13 by Christian Boos, 13 years ago

Resolution: fixedworksforme

Thanks for the feedback!

You might want to check the max_diff_* settings, maybe you can find a cut-off value which is appropriate in your case.

comment:14 by anonymous, 13 years ago

LOL! Tweaked that setting and now that commit is displayed properly.

Thank you cboos! :)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.