Calling qmi from Python

Craig Sylla csyllac at gmail.com
Wed Aug 26 19:22:04 UTC 2020


Hi -
I'm trying to use the qmi interface via the Go introspection library, and
having issues.
Some calls are reliable. The get_capabilities() in the simple-tester.py is
stable. But get_ids is not. If I call it, and immediately call the unref(),
all is good. If I access any of the members using the API - like get_imei()
- then I get "double free detected in tcache 2" as soon as I call the
unref(). It seems like it is trying to release the string twice. I get
similar issues with get_system_info() which fails if I try to access the
lte results.

Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20200826/75932036/attachment.htm>


More information about the libqmi-devel mailing list