New submission from Niels Hofmans <he...@ironpeak.be>:
Ref https://github.com/googleapis/python-pubsub/issues/414#issuecomment-842446505 @hazcod observed a fault when importing google.cloud.pubsub_v1 as above; # strace python3 -c 'from google.cloud import pubsub_v1' ... writev(2, [{iov_base="free(): invalid pointer", iov_len=23}, {iov_base="\n", iov_len=1}], 2free(): invalid pointer ) = 24 ... --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=306, si_uid=0} --- +++ killed by SIGABRT +++ Aborted But importing google.cloud.pubsub_v1 isn't really required here; the fault can be reproduced with importing only these two dependencies... python3 -c 'import proto.message, grpc;' free(): invalid pointer Aborted Importing either by itself doesn't crash. Further, importing them in the other order doesn't crash. I do not understand why. python3 -c 'import grpc, proto.message; print(grpc, proto.message)' <module 'grpc' from '/usr/local/lib/python3.9/site-packages/grpc/__init__.py'> <module 'proto.message' from '/usr/local/lib/python3.9/site-packages/proto/message.py'> ---------- components: Library (Lib) messages: 393830 nosy: hazcod priority: normal severity: normal status: open title: free: invalid pointer on graph and photo.message imports type: crash versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44161> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com