Problem with Offlineimap hanging
John Wiegley
jwiegley at gmail.com
Fri Oct 7 21:34:13 BST 2011
>>>>> Justus Winter <4winter at informatik.uni-hamburg.de> writes:
>> At this point, Offlineimap hangs forever, and only a 'kill' at the
>> command-line will cure it. This, even though I have 'keepalive = 30' set.
> Could you please do a strace on the hanging process?
One Python thread is waiting on select(), and the rest are waiting for
semaphores to get unlocked.
John
Sampling process 10191 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling Python (pid 10191) every 1 millisecond
Process: Python [10191]
Path: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Load Address: 0x100000000
Identifier: Python
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: Emacs [10168]
Date/Time: 2011-10-07 15:32:16.748 -0500
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Call graph:
2542 Thread_53415 DispatchQueue_1: com.apple.main-thread (serial)
2542 0x100000f14
2542 Py_Main
2542 PyRun_SimpleFileExFlags
2542 PyRun_FileExFlags
2542 PyEval_EvalCode
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2540 time_sleep
2535 select$DARWIN_EXTSN
4 time_sleep
1 PyEval_RestoreThread
1 PyEval_EvalFrameEx
1 lock_PyThread_acquire_lock
1 PyArg_ParseTuple
1 vgetargs1
2542 Thread_53418
2542 thread_start
2542 _pthread_start
2542 t_bootstrap
2542 PyEval_CallObjectWithKeywords
2542 PyObject_Call
2542 instancemethod_call
2542 PyObject_Call
2542 function_call
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyObject_Call
2542 instancemethod_call
2542 PyObject_Call
2542 function_call
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyObject_Call
2542 function_call
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 lock_PyThread_acquire_lock
2542 PyThread_acquire_lock
2542 _pthread_cond_wait
2542 __semwait_signal
2542 Thread_53419
2542 thread_start
2542 _pthread_start
2542 t_bootstrap
2542 PyEval_CallObjectWithKeywords
2542 PyObject_Call
2542 instancemethod_call
2542 PyObject_Call
2542 function_call
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyObject_Call
2542 instancemethod_call
2542 PyObject_Call
2542 function_call
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyObject_Call
2542 instancemethod_call
2542 PyObject_Call
2542 function_call
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyObject_Call
2542 function_call
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 lock_PyThread_acquire_lock
2542 PyThread_acquire_lock
2542 _pthread_cond_wait
2542 __semwait_signal
2542 Thread_134399
2542 thread_start
2542 _pthread_start
2542 t_bootstrap
2542 PyEval_CallObjectWithKeywords
2542 PyObject_Call
2542 instancemethod_call
2542 PyObject_Call
2542 function_call
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyObject_Call
2542 instancemethod_call
2542 PyObject_Call
2542 function_call
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyObject_Call
2542 function_call
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 lock_PyThread_acquire_lock
2542 PyThread_acquire_lock
2542 _pthread_cond_wait
2542 __semwait_signal
2542 Thread_135936
2542 thread_start
2542 _pthread_start
2542 t_bootstrap
2542 PyEval_CallObjectWithKeywords
2542 PyObject_Call
2542 instancemethod_call
2542 PyObject_Call
2542 function_call
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyObject_Call
2542 function_call
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 lock_PyThread_acquire_lock
2542 PyThread_acquire_lock
2542 _pthread_cond_wait
2542 __semwait_signal
2542 Thread_135937
2542 thread_start
2542 _pthread_start
2542 t_bootstrap
2542 PyEval_CallObjectWithKeywords
2542 PyObject_Call
2542 instancemethod_call
2542 PyObject_Call
2542 function_call
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyObject_Call
2542 function_call
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 lock_PyThread_acquire_lock
2542 PyThread_acquire_lock
2542 _pthread_cond_wait
2542 __semwait_signal
2542 Thread_135938
2542 thread_start
2542 _pthread_start
2542 t_bootstrap
2542 PyEval_CallObjectWithKeywords
2542 PyObject_Call
2542 instancemethod_call
2542 PyObject_Call
2542 function_call
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalFrameEx
2542 PyObject_Call
2542 function_call
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 PyEval_EvalCodeEx
2542 PyEval_EvalFrameEx
2542 lock_PyThread_acquire_lock
2542 PyThread_acquire_lock
2542 _pthread_cond_wait
2542 __semwait_signal
Total number in stack (recursive counted multiple, when >=5):
56 PyEval_EvalFrameEx
34 PyEval_EvalCodeEx
26 PyObject_Call
16 function_call
10 instancemethod_call
7 lock_PyThread_acquire_lock
6 PyEval_CallObjectWithKeywords
6 PyThread_acquire_lock
6 __semwait_signal
6 _pthread_cond_wait
6 _pthread_start
6 t_bootstrap
6 thread_start
Sort by top of stack, same collapsed (when >= 5):
__semwait_signal 15252
select$DARWIN_EXTSN 2535
Binary Images:
0x100000000 - 0x100000fff +org.python.python 2.7.2 (2.7.2) <7E649E69-CD09-174D-5A2E-878F96B4DAFE> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
0x100003000 - 0x10016bfef +org.python.python 2.7.2, (c) 2004-2011 Python Software Foundation. (2.7.2) <F7300C85-8302-8CEC-9AB1-B2A82899CFEE> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
0x1002ed000 - 0x1002effff +time.so ??? (???) <AFD0C267-E798-DD17-7B00-805162029747> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
0x1002f5000 - 0x1002f9ff7 +_collections.so ??? (???) <02F322E6-035B-AFEE-7461-8E25F3657D97> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
0x1004f0000 - 0x1004f4ff7 +operator.so ??? (???) <7D9DCE1C-5627-F60C-F827-144113112313> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
0x1004fb000 - 0x100502ff7 +itertools.so ??? (???) <F2EF14CD-88AE-215B-97C3-ACE1CFE23D93> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
0x10050d000 - 0x10050dfff +_bisect.so ??? (???) <812D9B94-BA86-9428-B014-AD5427EA15A4> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_bisect.so
0x100510000 - 0x100511ff7 +_heapq.so ??? (???) <B3C3316E-2448-8ECB-09DF-0449273E6611> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
0x100555000 - 0x100558fef +binascii.so ??? (???) <882B8289-75AE-3A58-B871-BC672DBA773E> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/binascii.so
0x10055c000 - 0x100570ff7 +libz.1.dylib 1.2.5 (compatibility 1.0.0) <B2D5B322-19E4-8D42-9A2F-3011155F5CC8> /opt/local/lib/libz.1.dylib
0x100574000 - 0x100579fef +math.so ??? (???) <B5B6C317-DDE4-75FE-ED2A-3609D9E45DD7> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so
0x100580000 - 0x100581fff +_hashlib.so ??? (???) <0B0A2BE7-75CB-5473-8E8F-57E045EADAA5> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_hashlib.so
0x100585000 - 0x1005d0ff7 +libssl.1.0.0.dylib ??? (???) <F1546057-D948-EEEA-118E-88DD91814074> /opt/local/lib/libssl.1.0.0.dylib
0x1005e7000 - 0x100736fe7 +libcrypto.1.0.0.dylib ??? (???) <E73A1A08-F556-8C9D-CE00-59EC2CAF2E70> /opt/local/lib/libcrypto.1.0.0.dylib
0x1007a2000 - 0x1007a3fff +_random.so ??? (???) <0DB53A06-EF25-0C42-0FAF-8606A4A58E77> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_random.so
0x1007a7000 - 0x1007a9fff +select.so ??? (???) <3D9D9BE4-1D46-AA90-E4A6-B71EB392232A> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so
0x1007ae000 - 0x1007b6ff7 +_socket.so ??? (???) <A5424BE8-DEBE-9C54-78AF-DE47A6FB144B> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
0x1007c0000 - 0x1007c1ff7 +_functools.so ??? (???) <B1A1E620-DE63-D2BD-4C51-BE13BDBCC595> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
0x1007c5000 - 0x1007c9ff7 +_ssl.so ??? (???) <2E1DD714-8378-4E1A-8F15-F8676F61496B> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so
0x1007cf000 - 0x1007d0fff +cStringIO.so ??? (???) <F467110D-FBE5-3A9E-76FD-1F5AA8B1D88D> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
0x1007d5000 - 0x1007d8ff7 +zlib.so ??? (???) <8BCB8942-8AF1-595E-C260-170F9C6DF146> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/zlib.so
0x1007dd000 - 0x1007e0ff7 +strop.so ??? (???) <F500581C-E31D-C2FB-D93A-170C090F6072> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so
0x1007e5000 - 0x1007e7ff7 +_locale.so ??? (???) <22228CBA-063F-2008-A743-CA6E653DB2D7> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
0x1007eb000 - 0x1007f4ff7 +libintl.8.dylib 10.1.0 (compatibility 10.0.0) <C692173B-95FB-957F-CC25-32BC5E3A89EC> /opt/local/lib/libintl.8.dylib
0x1007fa000 - 0x1007fbff7 +fcntl.so ??? (???) <1752950E-041D-2564-4299-236229A8A549> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
0x101140000 - 0x10123efef +libiconv.2.dylib 8.1.0 (compatibility 8.0.0) <9A2C7686-6440-6C13-3DD2-3E11F1B7BD63> /opt/local/lib/libiconv.2.dylib
0x10124c000 - 0x101250fff +_struct.so ??? (???) <6E74526B-2575-2D50-B819-8A75C2796E7D> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
0x101297000 - 0x101298fff +termios.so ??? (???) <518606D0-E98C-720E-9C8C-5E9A4FB1D056> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/termios.so
0x1012dd000 - 0x1012ddfff +_scproxy.so ??? (???) <B9206953-6D30-E621-C3E4-3BFA4C84F7EB> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_scproxy.so
0x1012e0000 - 0x1012edff7 +_curses.so ??? (???) <8FB849F4-D08B-07DF-4F39-EB99EF072BCE> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_curses.so
0x101400000 - 0x101447fe7 +libncurses.5.dylib 5.0.0 (compatibility 5.0.0) <DB282F53-2CEF-DFF8-3A93-1F6043B21182> /opt/local/lib/libncurses.5.dylib
0x1014d6000 - 0x1014e4fff +datetime.so ??? (???) <E84BF6FB-03BD-E968-073C-49F7C3FB0CE8> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so
0x1014f0000 - 0x1014fbff7 +_sqlite3.so ??? (???) <114FFCF2-91C9-1255-A4AB-49E485F1E77C> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_sqlite3.so
0x101508000 - 0x1015a0fff +libsqlite3.0.dylib 9.6.0 (compatibility 9.0.0) <33D582C8-3D05-B69E-0AB2-AC89A82AA67D> /opt/local/lib/libsqlite3.0.dylib
0x7fff5fc00000 - 0x7fff5fc3be0f dyld 132.1 (???) <29DECB19-0193-2575-D838-CF743F0400B2> /usr/lib/dyld
0x7fff805b3000 - 0x7fff805b7ff7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
0x7fff81a5c000 - 0x7fff81c1afff libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <4274FC73-A257-3A56-4293-5968F3428854> /usr/lib/libicucore.A.dylib
0x7fff84040000 - 0x7fff84081fff com.apple.SystemConfiguration 1.10.8 (1.10.2) <78D48D27-A9C4-62CA-2803-D0BBED82855A> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x7fff844e5000 - 0x7fff8459bff7 libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <03140531-3B2D-1EBA-DA7F-E12CC8F63969> /usr/lib/libobjc.A.dylib
0x7fff84934000 - 0x7fff84aabfe7 com.apple.CoreFoundation 6.6.5 (550.43) <31A1C118-AD96-0A11-8BDF-BD55B9940EDC> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff85253000 - 0x7fff8529ffff libauto.dylib ??? (???) <F7221B46-DC4F-3153-CE61-7F52C8C293CF> /usr/lib/libauto.dylib
0x7fff85cf9000 - 0x7fff85d76fef libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
0x7fff87447000 - 0x7fff87458ff7 libz.1.dylib 1.2.3 (compatibility 1.0.0) <97019C74-161A-3488-41EC-A6CA8738418C> /usr/lib/libz.1.dylib
0x7fff8a466000 - 0x7fff8a627fef libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib
0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib
Sample analysis of process 10191 written to file /dev/stdout
More information about the OfflineIMAP-project
mailing list