You have been subscribed to a public bug:

On Ubuntu 20.04, programming in python and by mixing up left/right and
up/down in matrix operations created an array of size 1x409600 instead
of 2048x200.

When I tried to show the data as an image Ubuntu completely crashes.
Unable to get any form of crash report, only thing I could do was hard
reset my PC.

Here is some code that reproduces the problem:


import cv2
import numpy as np

cv2.imshow("window name", np.zeros((1, 2048*200)))
cv2.waitKey()

** Affects: mutter (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment
-- 
Opening a very wide window crashes the entire system
https://bugs.launchpad.net/bugs/1937090
You received this bug notification because you are a member of Ubuntu Desktop 
Bugs, which is subscribed to mutter in Ubuntu.

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to