on 10-17-2015 4:23 PM
Hi,
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?
Regards,
Ingo
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.
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/var/log/messages says something like
segfault at 8 ip .... sp .... error 4 in pyhdbcli.so
The user trace on the database shows that there has at least been an access to the database, but no insert was committed.
The hdb-client revisions are exactly the same: Rev. 97 working on the standalone Linux Server, and not working on the HANA Linux Server.
Regards,
Ingo
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 pyhdbcli.so is not the correct version.
Tools like LDD will show you which other shared objects are loaded by pyhdbcli.so - that would be my next step of analysis here.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.