Lauri
Lauri4mo ago

BSOD when running python code block

I'm encountering BSOD after running simple code. After creating a new notebook, a simple print command is enough get a BSOD with different messages. This is repeatable and after trying couple of times, I seem to get driver irql not less or equal BSOD message most often. Before marimo I haven't had any BSOD-s with that specific computer.
Marimo ver 0.7.16 Any ideas?
8 Replies
Akshay
Akshay4mo ago
Oh my. No ideas yet. We have some Windows users but have never heard of a BSOD being triggered by marimo. Can I ask which version of Windows you’re on, whether you’re using WSL, how you installed marimo (pypi or conda), and any other details you think could help?
Lauri
LauriOP4mo ago
Sure. Extra info: Windows 11 Pro 23H2, build 22631.3958 WSL not enabled Python 3.11.9 Marimo 0.7.17 (note I just updated and still issue persists) Install process & running: 1. Set up new venv & activate 2. pip install marimo 3. marimo new 4. Wait for browser to start 5. print('hello') & click run While I was writing these instructions above my computer managed to BSOD without even pressing run button on the webpage.
Akshay
Akshay4mo ago
Really sorry about that! I will get my hands on a Windows machine today and see if I can reproduce. Likely it doesn’t matter, but which browser are you using?
Lauri
LauriOP4mo ago
Using edge browser 127.0.2651.86. I also tested by closing the web page to see if I get the bsod but seems it's not crashing when website is not open. Tried with firefox as well - same situation.
Akshay
Akshay4mo ago
Thank you; that's helpful. I have a one hypothesis but I'm not certain. I will report back when I've obtained a Windows machine to experiment on.
Lauri
LauriOP4mo ago
BSOD info: stop code: DRIVER_IRQL_NOT_LESS_OR_EQUAL What failed: ws2ifsl.sys
Akshay
Akshay4mo ago
@Lauri , I tried the latest version of marimo on a laptop running Windows 11 and couldn't reproduce the issue. I spoke with someone who knows a lot more about Windows than I do, and they said that marimo couldn't be directly responsible for the BSOD, since we don't have any kernel components. That said, it seems like marimo is somehow exposing an issue on your system, perhaps related to networking looking at the driver that failed. I'm going to ask a Windows expert to join our Discord. They can help you debug and hopefully fix the issue. Thanks for your patience!
Lauri
LauriOP3mo ago
Thanks, that's okay - I kind of suspected it's my issue as I couldn't find any other reports of BSOD here or in github. I don't have much time in the coming days to do more debugging, but I'll try to try out few more things end of this week. Okay, I got it sorted after debugging jupyter connectivity issues (WinError 10038 - An operation was attempted on something that is not a socket). After 'netsh winsock reset' both jupyter and marimo work fine, no crashing or BSOD anymore.