Skip to content

Instantly share code, notes, and snippets.

@legoktm
Created November 18, 2020 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save legoktm/ef86b76242e853d53826d4e885391c03 to your computer and use it in GitHub Desktop.
Save legoktm/ef86b76242e853d53826d4e885391c03 to your computer and use it in GitHub Desktop.
python-libzim bt
#0 0x00007864231cf0cd in __gnu_cxx::__exchange_and_add (__val=-1, __mem=0x11)
at /usr/include/c++/10/ext/atomicity.h:50
#1 __gnu_cxx::__exchange_and_add_dispatch (__val=-1, __mem=0x11) at /usr/include/c++/10/ext/atomicity.h:84
#2 std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x9)
at /usr/include/c++/10/bits/shared_ptr_base.h:155
#3 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x7ffdcf0b1f18,
__in_chrg=<optimized out>) at /usr/include/c++/10/bits/shared_ptr_base.h:733
#4 std::__shared_ptr<zim::Buffer const, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=0x7ffdcf0b1f10,
__in_chrg=<optimized out>) at /usr/include/c++/10/bits/shared_ptr_base.h:1183
#5 std::shared_ptr<zim::Buffer const>::~shared_ptr (this=0x7ffdcf0b1f10, __in_chrg=<optimized out>)
at /usr/include/c++/10/bits/shared_ptr.h:121
#6 zim::Blob::~Blob (this=0x7ffdcf0b1f00, __in_chrg=<optimized out>) at /usr/include/zim/blob.h:33
#7 blob_cy_call_fct (
__pyx_v_obj=<SimpleArticle(_blob=<libzim.wrapper.WritingBlob at remote 0x786420ba7b90>, content='<!DOCTYPE html>\n <html class="client-js">\n <head><meta charset="UTF-8">\n <title>Monadical</title>\n </head>\n <h1> \xf1\xf1\xf1 Hello, it works \xf1\xf1\xf1 </h1></html>', url='A/Monadical_SAS', title='Monadical SAS', mime_type='text/html') at remote 0x786420c1d400>, __pyx_v_method="_get_data",
__pyx_v_error=__pyx_v_error@entry=0x7ffdcf0b1fe0) at libzim/wrapper.cpp:3206
#8 0x00007864231d0d20 in ZimArticleWrapper::callCythonReturnBlob (this=0x23dee80, methodName=...)
at libzim/lib.cxx:82
#9 0x00007864231d0ddd in ZimArticleWrapper::getData (this=0x23dee80) at libzim/lib.cxx:176
#10 0x00007864231cfd64 in ZimArticleWrapper::getSize (this=<optimized out>) at libzim/lib.cxx:182
#11 0x0000786423165177 in zim::writer::CreatorData::addDirent (this=0x27542c0, dirent=<optimized out>,
article=0x23dee80) at ../src/writer/creator.cpp:462
#12 0x0000786423166be0 in zim::writer::Creator::addArticle (this=0x2603810,
article=std::shared_ptr<zim::writer::Article> (use count 3, weak count 0) = {...})
at /usr/include/c++/10/bits/shared_ptr_base.h:1324
#13 0x00007864231d0bac in ZimCreatorWrapper::addArticle (this=<optimized out>,
article=std::shared_ptr<ZimArticleWrapper> (use count 3, weak count 0) = {...}) at libzim/lib.cxx:251
#14 0x00007864231cf6e9 in __pyx_pf_6libzim_7wrapper_7Creator_4add_article (
__pyx_v_article=<unknown at remote 0x26a4f88>, __pyx_v_self=0x23dee80) at libzim/wrapper.cpp:4501
#15 __pyx_pw_6libzim_7wrapper_7Creator_5add_article (
__pyx_v_self=__pyx_v_self@entry=<libzim.wrapper.Creator at remote 0x786423247e30>,
__pyx_v_article=__pyx_v_article@entry=<SimpleArticle(_blob=<libzim.wrapper.WritingBlob at remote 0x786420ba7b90>, content='<!DOCTYPE html>\n <html class="client-js">\n <head><meta charset="UTF-8">\n <title>Monadical</title>\n </head>\n <h1> \xf1\xf1\xf1 Hello, it works \xf1\xf1\xf1 </h1></html>', url='A/Monadical_SAS', title='Monadical SAS', mime_type='text/html') at remote 0x786420c1d400>) at libzim/wrapper.cpp:4400
#16 0x0000000000527c95 in method_vectorcall_O (func=<optimized out>, args=0x786420bb1a30, nargsf=<optimized out>,
kwnames=<optimized out>) at ../Objects/descrobject.c:416
#17 0x0000000000505a6c in _PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x786420bb1a30,
callable=<method_descriptor at remote 0x786423216f40>) at ../Include/cpython/abstract.h:127
#18 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x23d57c0)
at ../Python/ceval.c:4963
#19 _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3486
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment