{"action":"closed","issue":{"url":"https://api.github.com/repos/OfflineIMAP/offlineimap/issues/257","labels_url":"https://api.github.com/repos/OfflineIMAP/offlineimap/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/OfflineIMAP/offlineimap/issues/257/comments","events_url":"https://api.github.com/repos/OfflineIMAP/offlineimap/issues/257/events","html_url":"https://github.com/OfflineIMAP/offlineimap/issues/257","id":110357207,"number":257,"title":"offlineimap crash with kerberos","user":{"login":"liuhangbin","id":1594572,"avatar_url":"https://avatars.githubusercontent.com/u/1594572?v=3","gravatar_id":"","url":"https://api.github.com/users/liuhangbin","html_url":"https://github.com/liuhangbin","followers_url":"https://api.github.com/users/liuhangbin/followers","following_url":"https://api.github.com/users/liuhangbin/following{/other_user}","gists_url":"https://api.github.com/users/liuhangbin/gists{/gist_id}","starred_url":"https://api.github.com/users/liuhangbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuhangbin/subscriptions","organizations_url":"https://api.github.com/users/liuhangbin/orgs","repos_url":"https://api.github.com/users/liuhangbin/repos","events_url":"https://api.github.com/users/liuhangbin/events{/privacy}","received_events_url":"https://api.github.com/users/liuhangbin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-08T02:02:42Z","updated_at":"2015-10-08T03:25:56Z","closed_at":"2015-10-08T03:25:56Z","body":"My system env: \r\n\r\n$ uname -r\r\n4.1.6-100.fc21.x86_64\r\n$ rpm -q offlineimap\r\nofflineimap-6.5.5-2.fc21.noarch\r\n$ rpm -q krb5-workstation\r\nkrb5-workstation-1.12.2-17.fc21.x86_64\r\n\r\nWhen start offlineimap without exec `kinit`, it works well. But when exec `kinit`, it crashed\r\n\r\n$ offlineimap -a test\r\nOfflineIMAP 6.5.5\r\n  Licensed under the GNU GPL v2+ (v2 or any later version)\r\nAccount sync test:\r\n *** Processing account test\r\n Establishing connection to mail.test.com:993\r\n*** Error in `/usr/bin/python': free(): invalid pointer: 0x00007fbcc088da60 ***\r\n======= Backtrace: =========\r\n/lib64/libc.so.6(+0x77d9e)[0x7fbccf0a0d9e]\r\n/lib64/libc.so.6(cfree+0x5b5)[0x7fbccf0ac9f5]\r\n/lib64/libgssapi_krb5.so.2(gss_release_buffer+0x3c)[0x7fbcc71a769c]\r\n/home/Liu/.python-eggs/pykerberos-1.1.8-py2.7-linux-x86_64.egg-tmp/kerberos.so(authenticate_gss_client_wrap+0x141)[0x7fbcc30fd071]\r\n/home/Liu/.python-eggs/pykerberos-1.1.8-py2.7-linux-x86_64.egg-tmp/kerberos.so(+0x2eb7)[0x7fbcc30faeb7]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5f6e)[0x7fbccfdf3a5e]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5106)[0x7fbccfdf2bf6]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5106)[0x7fbccfdf2bf6]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x820)[0x7fbccfdf4410]\r\n/lib64/libpython2.7.so.1.0(+0x6f5dc)[0x7fbccfd805dc]\r\n/lib64/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fbccfd5b903]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x3570)[0x7fbccfdf1060]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x820)[0x7fbccfdf4410]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5004)[0x7fbccfdf2af4]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x820)[0x7fbccfdf4410]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5004)[0x7fbccfdf2af4]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5106)[0x7fbccfdf2bf6]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5106)[0x7fbccfdf2bf6]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5106)[0x7fbccfdf2bf6]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5106)[0x7fbccfdf2bf6]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5106)[0x7fbccfdf2bf6]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x820)[0x7fbccfdf4410]\r\n/lib64/libpython2.7.so.1.0(+0x6f6bd)[0x7fbccfd806bd]\r\n/lib64/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fbccfd5b903]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x3570)[0x7fbccfdf1060]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x820)[0x7fbccfdf4410]\r\n/lib64/libpython2.7.so.1.0(+0x6f5dc)[0x7fbccfd805dc]\r\n/lib64/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fbccfd5b903]\r\n/lib64/libpython2.7.so.1.0(+0x59815)[0x7fbccfd6a815]\r\n/lib64/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fbccfd5b903]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x3aa5)[0x7fbccfdf1595]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x820)[0x7fbccfdf4410]\r\n/lib64/libpython2.7.so.1.0(+0x6f5dc)[0x7fbccfd805dc]\r\n/lib64/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fbccfd5b903]\r\n/lib64/libpython2.7.so.1.0(+0x59815)[0x7fbccfd6a815]\r\n/lib64/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fbccfd5b903]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x3aa5)[0x7fbccfdf1595]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5106)[0x7fbccfdf2bf6]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5106)[0x7fbccfdf2bf6]\r\n/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x820)[0x7fbccfdf4410]\r\n/lib64/libpython2.7.so.1.0(+0x6f5dc)[0x7fbccfd805dc]\r\n/lib64/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fbccfd5b903]\r\n/lib64/libpython2.7.so.1.0(+0x59815)[0x7fbccfd6a815]\r\n/lib64/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fbccfd5b903]\r\n/lib64/libpython2.7.so.1.0(PyEval_CallObjectWithKeywords+0x47)[0x7fbccfded4d7]\r\n/lib64/libpython2.7.so.1.0(+0x1120a2)[0x7fbccfe230a2]\r\n/lib64/libpthread.so.0(+0x752a)[0x7fbccfafc52a]\r\n/lib64/libc.so.6(clone+0x6d)[0x7fbccf12922d]\r\n======= Memory map: ========\r\n00400000-00401000 r-xp 00000000 08:02 5771430                            /usr/bin/python2.7\r\n00600000-00601000 r--p 00000000 08:02 5771430                            /usr/bin/python2.7\r\n00601000-00602000 rw-p 00001000 08:02 5771430                            /usr/bin/python2.7\r\n015b9000-0185f000 rw-p 00000000 00:00 0                                  [heap]\r\n7fbca8000000-7fbca8021000 rw-p 00000000 00:00 0\r\n7fbca8021000-7fbcac000000 ---p 00000000 00:00 0\r\n7fbcac000000-7fbcac021000 rw-p 00000000 00:00 0\r\n7fbcac021000-7fbcb0000000 ---p 00000000 00:00 0\r\n7fbcb0000000-7fbcb0021000 rw-p 00000000 00:00 0\r\n7fbcb0021000-7fbcb4000000 ---p 00000000 00:00 0\r\n7fbcb4000000-7fbcb402f000 rw-p 00000000 00:00 0\r\n7fbcb402f000-7fbcb8000000 ---p 00000000 00:00 0\r\n...[too long, snipped, tell me if you need it]..\r\n7fbccfaf5000-7fbccfb0c000 r-xp 00000000 08:02 5767855                    /usr/lib64/libpthread-2.20.soAborted (core dumped"}}