After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 785232 - Segmentation fault
Segmentation fault
Status: RESOLVED DUPLICATE of bug 783935
Product: gjs
Classification: Bindings
Component: general
1.48.x
Other Linux
: Normal major
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks:
 
 
Reported: 2017-07-21 14:18 UTC by François Guerraz
Modified: 2017-07-22 07:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
backtrace (1.58 KB, text/plain)
2017-07-21 14:18 UTC, François Guerraz
Details
crash test (282 bytes, text/x-python)
2017-07-22 07:16 UTC, François Guerraz
Details

Description François Guerraz 2017-07-21 14:18:01 UTC
Created attachment 356119 [details]
backtrace

I've got a small python / opencv program that opens a window with an image for me to do some processing on it, and then it goes to the next image by closing the window and opening a new one immediately. After doing that a few times (randomly between 10 and 100 times) gnome-shell crashes with the attached backtrace, always.

Configuration: Wayland, HiDPI, Gnome 3.24, arch 64 bits (up to date).
Comment 1 François Guerraz 2017-07-21 14:38:52 UTC
To reproduce the issue, run this code

while True:
  cv2.startWindowThread()
  image = cv2.imread("image.tif")
  windowName = "Color"
  cv2.namedWindow(windowName, cv2.WINDOW_NORMAL)
  cv2.resizeWindow(windowName, 600,600)
  cv2.imshow(windowName, image)
  time.sleep(0.1)
  cv2.destroyAllWindows()
Comment 2 Philip Chimento 2017-07-21 22:00:47 UTC
Thanks so much! This is a duplicate, but hopefully this script will help reproduce the issue more easily.

*** This bug has been marked as a duplicate of bug 783935 ***
Comment 3 François Guerraz 2017-07-22 07:16:04 UTC
Created attachment 356159 [details]
crash test

This scrip makes gnome-shell crash in less than 1 min both on wayland and X11 on my laptop