G-71
G-71

Reputation: 3682

Segmentation fault which is happened when are imported some libraries in Python?

I've install python2.7 on my controller with linux 2.6.11 (BusyBox). I ran python2.7 - all normal. import os - all ok. But when i import libraries, which is required shared object files from python2.7\lib-dynload (import random, import io and etc) i have Segmentation fault error. What's the problem ?

enter image description here

If i try to rename, for instans _io.so to _io2.so then i have the following error: enter image description here

Upvotes: 0

Views: 610

Answers (1)

Michael Dillon
Michael Dillon

Reputation: 32392

The way to find out why something segfaults is to install Valgrind and run it with that. However that may not work on your controller. If you have a more powerful machine with the same architecture, or even a QEMU emulated copy of the same Linux binaries on a more powerful machine, then you could use that to do Valgrind debugging.

Upvotes: 1

Related Questions