This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: webbrowser crashes Ubuntu kernel
Type: crash Stage: resolved
Components: Library (Lib) Versions: Python 3.9
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: dizcza
Priority: normal Keywords:

Created on 2022-01-23 18:37 by dizcza, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg411396 - (view) Author: Danylo (dizcza) Date: 2022-01-23 18:37
I've been hunting this problem for half a year already. With other hypotheses rejected - Linux issue, old PC, PyCharm bug, bad luck, - the webbrowser Python lib supposedly makes the Ubuntu kernel panic.

Either from a terminal or within PyCharm (happens on both), I run

    controller = webbrowser.get('google-chrome')
    for link in links_list:  # up to 10 items

and the system crashes (hangs until a hard or soft reset) after several web pages are opened in my Chrome browser as the result of running the program.

All the details you'll find at I first thought it's something wrong with Ubuntu, and I opened a question on the forum.

The only detail I've not added there is that after each crash I can move the mouse on the screen but cannot interact with anything. That thing always puzzled me.

I can neither say the website I'm running the webbrowser nor test it on other domains - the issue happens sporadically, once in several hours of me opening and closing a Chrome browser controlled by the webbrowser lib.

Python 3.9.7, installed with Anaconda. I've tried older versions of Python.

Ubuntu 20.04 LTS.
msg412063 - (view) Author: Danylo (dizcza) Date: 2022-01-29 09:18
Never mind.

I had a crash today with no Python involved. At least, no webbrowser lib was running. Although Python webbrowser lib surely triggers the issue I have with my system. Need to find the origin somewhere else.

Please report back if someone else experiences the same issue. Closed for time being.

Date User Action Args
2022-04-11 14:59:55adminsetgithub: 90647
2022-01-29 09:18:36dizczasetstatus: open -> closed
resolution: not a bug
messages: + msg412063

stage: resolved
2022-01-23 18:37:37dizczacreate