Answer the question
In order to leave comments, you need to log in
Why is my python script crashing?
Greetings,
I would like to clarify right away that I am not waiting for one miracle answer that will immediately help solve this problem (but it would be great), I am more interested in the sequence of actions for debugging such errors, I will try to provide all the output of logs / screenshots, etc. promptly.
There is a script (parser) in which all the code is covered with Exceptions (I did this in the hope that I would understand at what stage of work the error occurs) which uses the DBMS to save the result of its work, and which constantly crashes stably while throwing various errors (so far I have only met these three):
1 error:
Segmentation fault
2 error:
malloc(): corrupted top size
3 error:
free(): corrupted unsorted chunks
Python version:
Python 3.9.2
mysql Ver 15.1 Distrib 10.5.11-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper
ls -la /var/log/mysql/
total 0
drwxr-s--- 1 mysql adm 0 Sep 27 08:35 .
drwxr-xr-x 1 root root 2114 Nov 14 04:16 ..
dmesg | grep -i error
grep -i error
[ 1.477432] [drm:vmw_host_log [vmwgfx]] *ERROR* Failed to send host log message.
[ 1.478244] [drm:vmw_host_log [vmwgfx]] *ERROR* Failed to send host log message.
[12341.367106] traps: python3[101238] general protection fault ip:заменил sp:7fda215383f0 error:0 in libc-2.31.so[7fda37268000+14b000]
[163619.052223] python3[510959]: segfault at 10 ip заменил sp 00007fae7f6a1480 error 4 in _dlib_pybind11.cpython-39-x86_64-linux-gnu.so[7fae8a6a6000+8df000]
libc-2.31.so
_dlib_pybind11.cpython-39-x86_64-linux-gnu.so
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question