Package: python3-notmuch
Version: 0.28.4-1
Severity: normal

Hello,

I'm using pwnm-sync from https://github.com/stewartsmith/pwnm-sync/ (from
commit fa4f19d2487291da6ee000085d62969b4640ee99).

Just now it terminated as follows:

        Processed 2500 linux-pwm patches...
        Error ('Connection aborted.', RemoteDisconnected('Remote end closed 
connection without response'))
        Aborted (core dumped)

This was the first coredump ever, I use the script quite regularily.

The backtrace looks as follows:

        #0  0x00007eff69ed4db1 in __GI_raise (sig=sig@entry=6) at 
../sysdeps/unix/sysv/linux/raise.c:50
        #1  0x00007eff69ebe537 in __GI_abort () at abort.c:79
        #2  0x00007eff695b449e in talloc_abort (reason=0x7eff695be070 "Bad 
talloc magic value - unknown value") at ../../talloc.c:505
        #3  0x00007eff695b4497 in talloc_abort_unknown_value () at 
../../talloc.c:534
        #4  0x00007eff695b4497 in talloc_chunk_from_ptr (ptr=0x21a1ff0) at 
../../talloc.c:534
        #5  0x00007eff695b4497 in _talloc_free (ptr=0x21a1ff0, 
location=<optimized out>) at ../../talloc.c:1767
        #6  0x00007eff69805ccd in ffi_call_unix64 () at ../src/x86/unix64.S:101
        #7  0x00007eff6980525a in ffi_call_int
            (cif=0x7ffdb95c5640, fn=0x7eff697e83e0 <notmuch_query_destroy>, 
rvalue=<optimized out>, avalue=<optimized out>, closure=<optimized out>)
            at ../src/x86/ffi64.c:669
        #8  0x00007eff6984d54a in _call_function_pointer
            (argcount=1, resmem=0x7ffdb95c55a0, restype=<optimized out>, 
atypes=0x7ffdb95c5580, avalues=0x7ffdb95c5590, pProc=0x7eff697e83e0 
<notmuch_query_destroy>, flags=<optimized out>) at 
./Modules/_ctypes/callproc.c:871
        #9  0x00007eff6984d54a in _ctypes_callproc
            (pProc=0x7eff697e83e0 <notmuch_query_destroy>, argtuple=<optimized 
out>, flags=<optimized out>, argtypes=<optimized out>, restype=None, 
checker=0x0)
            at ./Modules/_ctypes/callproc.c:1214
        #10 0x00007eff6984ce0c in PyCFuncPtr_call (self=<optimized out>, 
inargs=<optimized out>, kwds=0x0) at ./Modules/_ctypes/_ctypes.c:4201
        #11 0x0000000000510243 in _PyObject_MakeTpCall
            (callable=<_FuncPtr(__name__='notmuch_query_destroy') at remote 
0x7eff68ccf340>, args=<optimized out>, nargs=<optimized out>, 
keywords=<optimized out>)
            at ../Include/internal/pycore_pyerrors.h:13
        #12 0x000000000050a847 in _PyObject_Vectorcall
            (kwnames=0x0, nargsf=<optimized out>, args=0x7eff672e7ec0, 
callable=<_FuncPtr(__name__='notmuch_query_destroy') at remote 0x7eff68ccf340>)
            at ../Include/cpython/abstract.h:125
        #13 0x000000000050a847 in _PyObject_Vectorcall
            (kwnames=0x0, nargsf=<optimized out>, args=0x7eff672e7ec0, 
callable=<_FuncPtr(__name__='notmuch_query_destroy') at remote 0x7eff68ccf340>)
            at ../Include/cpython/abstract.h:115
        #14 0x000000000050a847 in call_function (kwnames=0x0, oparg=<optimized 
out>, pp_stack=<synthetic pointer>, tstate=0x1c74060) at ../Python/ceval.c:4963
        #15 0x000000000050a847 in _PyEval_EvalFrameDefault (f=<optimized out>, 
throwflag=<optimized out>) at ../Python/ceval.c:3469
        #16 0x000000000051aa70 in PyEval_EvalFrameEx
            (throwflag=0, f=Frame 0x7eff672e7d40, for file 
/usr/lib/python3/dist-packages/notmuch/query.py, line 237, in __del__ 
(self=<Query(_db=<Database(_db=<LP_NotmuchDatabaseS at remote 0x7eff672d2ec0>, 
mode=1) at remote 0x7eff67da8850>, _query=<LP_NotmuchQueryS at remote 
0x7eff672d2c40>, sort=None) at remote 0x7eff67db0610>)) at ../Python/ceval.c:741
        #17 0x000000000051aa70 in function_code_fastcall (globals=<optimized 
out>, nargs=1, args=<optimized out>, co=<optimized out>) at 
../Objects/call.c:283
        #18 0x000000000051aa70 in _PyFunction_Vectorcall (func=<optimized out>, 
stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>)
            at ../Objects/call.c:410
        #19 0x00000000005628bd in _PyObject_Vectorcall (kwnames=0x0, nargsf=1, 
args=0x7ffdb95c5918, callable=<function at remote 0x7eff68cce550>)
            at ../Include/cpython/abstract.h:147
        #20 0x00000000005628bd in _PyObject_FastCall (nargs=1, 
args=0x7ffdb95c5918, func=<function at remote 0x7eff68cce550>) at 
../Include/cpython/abstract.h:147
        #21 0x00000000005628bd in call_unbound_noarg (unbound=<optimized out>, 
func=<function at remote 0x7eff68cce550>, self=<optimized out>)
            at ../Objects/typeobject.c:1465
        #22 0x0000000000603fb7 in slot_tp_finalize
            (self=<Query(_db=<Database(_db=<LP_NotmuchDatabaseS at remote 
0x7eff672d2ec0>, mode=1) at remote 0x7eff67da8850>, _query=<LP_NotmuchQueryS at 
remote 0x7eff672d2c40>, sort=None) at remote 0x7eff67db0610>) at 
../Objects/typeobject.c:6835
        #23 0x00000000004f5789 in finalize_garbage (collectable=0x7ffdb95c59d0) 
at ../Modules/gcmodule.c:883
        #24 0x00000000004f5789 in collect.constprop.0 (generation=2, 
n_collected=0x7ffdb95c5aa0, n_uncollectable=0x7ffdb95c5aa8, nofail=0, 
state=<optimized out>)
            at ../Modules/gcmodule.c:1112
        #25 0x00000000005ca15a in collect_with_callback.constprop.0 
(generation=generation@entry=2, state=<optimized out>) at 
../Modules/gcmodule.c:1240
        #26 0x00000000005edb28 in PyGC_Collect () at ../Modules/gcmodule.c:1833
        #27 0x00000000005ec616 in Py_FinalizeEx () at 
../Python/pylifecycle.c:1223
        #28 0x00000000005fb138 in Py_Exit (sts=1) at 
../Python/pylifecycle.c:2295
        #29 0x00000000005f1f2b in handle_system_exit () at 
../Python/pythonrun.c:658
        #30 0x00000000005f1e72 in _PyErr_PrintEx (set_sys_last_vars=1, 
tstate=0x1c74060) at ../Python/pythonrun.c:763
        #31 0x00000000005f1e72 in PyErr_PrintEx (set_sys_last_vars=1) at 
../Python/pythonrun.c:763
        #32 0x00000000005efdde in PyErr_Print () at ../Python/pythonrun.c:769
        #33 0x00000000005efdde in PyRun_SimpleFileExFlags (fp=<optimized out>, 
filename=<optimized out>, closeit=<optimized out>, flags=0x7ffdb95c5bd8)
            at ../Python/pythonrun.c:434
        #34 0x00000000005e4f45 in pymain_run_file (cf=0x7ffdb95c5bd8, 
config=0x1c73450) at ../Modules/main.c:381
        #35 0x00000000005e4f45 in pymain_run_python (exitcode=0x7ffdb95c5bd0) 
at ../Modules/main.c:606
        #36 0x00000000005e4f45 in Py_RunMain () at ../Modules/main.c:685
        #37 0x00000000005c3899 in Py_BytesMain (argc=<optimized out>, 
argv=<optimized out>) at ../Modules/main.c:739
        #38 0x00007eff69ebfcca in __libc_start_main (main=
            0x5c3860 <main>, argc=2, argv=0x7ffdb95c5dc8, init=<optimized out>, 
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdb95c5db8)
            at ../csu/libc-start.c:308
        #39 0x00000000005c379a in _start () at ../Objects/object.c:1492

I didn't try to debug this. Skimming through the bug reports this might
or might not be related to #893057.

Best regards
Uwe

-- System Information:
Debian Release: 10.5
  APT prefers stable-updates
  APT policy: (800, 'stable-updates'), (800, 'stable'), (700, 'testing'), (600, 
'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'stable-debug'), (500, 'oldstable-updates'), (500, 'oldstable'), (499, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.19.0-9-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-notmuch depends on:
ii  libnotmuch5  0.31-1
ii  python3      3.8.2-3

python3-notmuch recommends no packages.

python3-notmuch suggests no packages.

-- no debconf information

Reply via email to