Skip to content

segfault #67

Description

@jp-embedded

I sometimes get segfault using the included c++ lib:

0x0000fffff7b7fa08 in PyUnicode_AsUTF8AndSize () from /lib/aarch64-linux-gnu/libpython3.8.so.1.0
(gdb) bt
#0 0x0000fffff7b7fa08 in PyUnicode_AsUTF8AndSize () from /lib/aarch64-linux-gnu/libpython3.8.so.1.0
#1 0x0000aaaaaab0ed8c in ReverseGeocode::search[abi:cxx11](double, double) (this=0xfffffffff1b8, _lat=55.715805000000003, _lon=12.436966) at ReverseGeocode.cpp:73
#2 0x0000aaaaaaaaf540 in main () at tesla_cron.cpp:605
(gdb)

(gdb) up
#1 0x0000aaaaaab0ed8c in ReverseGeocode::search[abi:cxx11](double, double) (this=0xfffffffff1b8, _lat=55.715805000000003, _lon=12.436966) at ReverseGeocode.cpp:73
73 const char* s1 = PyUnicode_AsUTF8(value);
(gdb) p value
$1 = (PyObject *) 0xffffde03d600
(gdb) p *value
$2 = {ob_refcnt = 281474406537808, ob_type = 0x0}
(gdb)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions