Public bug reported:

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: ubuntu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1937090

Title:
  Opening a very wide window crashes the entire system

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1937090/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to