bugDenemo - Bugs: bug #55923, Pressing escape on wayland leads...

 
 

bug #55923: Pressing escape on wayland leads to crash

Submitter:  None
Submitted:  Thu 14 Mar 2019 05:53:20 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 25 Mar 2019 07:12:31 PM UTC, comment #3: 

"The compiled piece crashes too" do you mean my test case? Then it is a Gtk bug all right - I'm sure they will want to be told...
I can mark this as closed for Denemo now - thank you for testing.

Richard Shann <rshann>
Group administrator
Mon 25 Mar 2019 06:24:41 PM UTC, comment #2: 

The crash happens exactly when i hide menu and press esc to show it again. The compiled piece crashes too:

Gdk-CRITICAL **: 21:14:42.620: gdk_monitor_get_workarea: assertion 'GDK_IS_MONITOR (monitor)' failed
Screen is 0 x 0 pixels

So, this is gtk-related issue, i guess?

Anonymous
Sat 16 Mar 2019 05:18:17 PM UTC, comment #1: 

Esc is, by default a keyboard short cut for the command

Command: Hide/Show Menus
Hides/Shows menus, panes etc. The ones shown are those checked in the view menu.
Location: Main Menu ▶ View
Internal Name: ToggleReduceToDrawingArea

this command is not, in fact, a simple toggle - it is a three-step command, on the first invocation it hides the menus on the next it changes the page to fit in more systems and on the third it returns to the default view. Assuming this is the command you are invoking, is it on the second or third invocation that the crash occurs?

As to the message from the log, it looks like the call to get the size of the screen is causing the crash - attached is a very short C program that just runs that code. The command to compile it is in the first comment of the code. If you have gcc etc installed perhaps you could compile it and test if it fails. If so, I guess the question is one for the Gtk team to answer.



(file #46558)

Richard Shann <rshann>
Group administrator
Thu 14 Mar 2019 05:53:20 PM UTC, original submission:  

Steps to reproduce:
1) Run denemo 2.2.0 on wayland, fedora 29, mutter 3.30.2
2) Press Esc several times
3) It crashes

Last part of the log:
Log level set to 287
! SyncTeX Error : No file?
   Gdk - CRITICAL: gdk_monitor_get_workarea: assertion 'GDK_IS_MONITOR (monitor)' failed
   Gdk - CRITICAL: gdk_monitor_get_workarea: assertion 'GDK_IS_MONITOR (monitor)' failed

(denemo:10475): Gdk-CRITICAL **: 20:50:26.480: gdkdisplay-wayland.c:1321: Truncating shared memory file failed: Invalid argument
Segmentation fault (core dumped)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #46558:  TestWayland.c added by rshann (390B - text/x-csrc - This should test the code that determines the size of the monitor)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rshann (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-25 rshann Open/ClosedOpen Closed
    2019-03-16 rshann Attached File- Added TestWayland.c, #46558

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code