Skip to Content

Segmentation Fault


I try to load documents into HANA with a Python script. The document should be saved in a BLOB field of a table.

The Python script works fine, if I start it locally from a PC or notebook or from a remote Linux Server. The source documents are then either stored in a local file folder or in a directory of the Linux Server.

However, if I start the same Python script (in the Linux Version of course) from the HANA Server itself, it throws a segmentation fault at the insert statement of the Python script, i.e. when it comes to

cursor.execute("INSERT INTO <table> VALUES ...

Has anybody an idea how to solve this?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 19, 2015 at 09:41 AM

    What exactly is throwing the segmentation fault? I suppose it's not the Python script.

    Any hints in the trace directory?

    From what I have seen so far, a segmentation fault usually is caused by a kernel bug. A switch to a higher HANA revision might help.

    Otherwise open a support call, in order to point HANA kernel developers to it.


    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ingo

      without more detailed information it's impossible to tell what exactly causes this error.

      My best guess however would be that one of the objects used by is not the correct version.

      Tools like LDD will show you which other shared objects are loaded by - that would be my next step of analysis here.