DISQUS

jessenoller.com comments: Does anyone know what this error is? (Segfault)

  • Terry Peppers · 1 year ago
    Jesse, I'm not sure which I loathe more from my son. The winter set of colds, flus and viruses. Or the summer set of rashes, flus and viruses - of the gastrointestinal variation.

    I think summer.
  • Brodie Rao · 1 year ago
    Were you not able to run gdb? You can usually use it to get the stack trace of a segfault (using bt/backtrace). You have to load the Python binary with it though (and not your script), and then use "run /path/to/your/script arg1 arg2 ...".

    You can also change the user limit on core dumps so a full dump is produced on a segfault using "ulimit -c unlimited", and then load that core dump into gdb with "core core.123456".
  • anonymous · 1 year ago
    Pure python code should *never* segfault! Every segfault should be considered a bug and get fixed.