Make Python segfault on one line without using ctypes

Segfault python in three lines was the beginning of everything and I didn't know this. It's interesting. Some use ctypes, such as Segfault python in 2 lines.

I've come up with a different type of death, so I'll post it. Maybe it only works on Linux.

Just suicide


import os; os.kill(os.getpid(), 11)

Recommended Posts

Make Python segfault on one line without using ctypes
Make python segfault in one line
Make Perl segfault on one line
Broadcast on LINE using python
Make a rock-paper-scissors game in one line (python)
Make python segfault in 2 lines
Run LINE Bot implemented in Python (Flask) "without using Heroku"
[Python] Make your own LINE bot
Introducing Python using pyenv on Ubuntu 20.04
[Python3] Google translate google translate without using api
Notes on using MeCab from Python
Preparing python using vscode on ubuntu
Print with python3 without line breaks
Study on Tokyo Rent Using Python (3-2)
Slice without using Python, colon (:). a.__getitem__ (slice (3,5)).
Notes on installing Python using PyEnv
Make python segfault in three lines
Notes on using rstrip with python.
[Python] I tried to make a simple program that works on the command line using argparse.
Install Python on CentOS using Pyenv
Study on Tokyo Rent Using Python (3-3)
[Python] Make pip available on macOS
Install Python on CentOS using pyenv
Let's make 3D animation only with Python without using Blender! [FBX SDK Python]
Notes for using OpenCV on Windows10 Python 3.8.3.
CGI server (1) python edition in one line
Execute Python code on C ++ (using Boost.Python)
Detect "brightness" using python on Raspberry Pi 3!
Make one Mario using Numpy and OpenCV
Install python library on Lambda using [/ tmp]
Use without installing python 2.x on Windows
Run servomotor on Raspberry Pi 3 using python
Decompose command arguments in one line in Python
Study on Tokyo Rent Using Python (3-1 of 3)
[Python] Invert bool value in one line
Detect temperature using python on Raspberry Pi 3!
Video processing using Python + OpenCV on Mac
Notes on using code formatter in Python
[Python] A story about making a LINE Bot with a practical manned function on its own without using Salesforce [Messaging API]
Stray build Python-3.8.5 on CentOS without root privileges
Build Python3.5 + matplotlib environment on Ubuntu 12 using Anaconda
Detect slide switches using python on Raspberry Pi 3!
Notes on installing Python3 and using pip on Windows7
Install Python 3.8.6 on macOS Big Sur using pyenv
Python: Try using the UI on Pythonista 3 on iPad
Python hand play (one line notation of if)
Python development on Ubuntu on AWS EC2 (using JupyterLab)
Detect magnet switches using python on Raspberry Pi 3!
Notes on using dict in python [Competition Pro]
Make slackbot only react on specific channels (Python slackbot)
Syntax highlighting on the command line using Pygments
My thoughts on python2.6 command line app template
Make DHT11 available on Raspberry Pi + python (memo)
Sound the buzzer using python on Raspberry Pi 3!
Make predictions using regression on actual data ~ part1
Operate Route53 on the command line using AWS-CLI.
Let's make a module for Python using SWIG
Make Python built with jhbuild work on OSX
[Python] Notes on accelerating genetic algorithms using multiprocessing