Page MenuHomePhabricator

enlightenment crashes when applications start in full screen window
Open, Incoming QueuePublic

Description

When applications start in full screen windowed mode on the first virtual desktop, E will crash (and it will keep crashing in an infinite loop when restarted with the built-in crash handler).
I noticed this a couple of times with different applications, for example using the "FreeCAD" AppImage[1]

Starting the programs on another desktop still causes the crash, but the crash handler moves to the first vdesktop by default and it will not crash again.

1: https://github.com/FreeCAD/FreeCAD/releases/download/0.17/FreeCAD-13528.glibc2.17-x86_64.AppImage

tg-- created this task.Jul 30 2018, 9:00 AM
zmike added a comment.Jul 30 2018, 9:02 AM

Can you provide a backtrace or crashdump?

tg-- added a comment.Jul 30 2018, 9:02 AM

Crashdump of the issue.

tg-- renamed this task from enlightenment crashes wenn applications start in full screen window to enlightenment crashes when applications start in full screen window.Aug 4 2018, 5:50 AM
bu5hm4n added a subscriber: bu5hm4n.Aug 5 2018, 1:15 AM

Can you reproduce this under valrgrind ? its a crash in malloc, so the backtrace is not _that_ usefull ... :(

tg-- added a comment.Aug 6 2018, 2:27 PM

I'm not entirely sure if I can.
When I run E in valgrind, it will still crash, but it will never show the error handler dialog, so I can't gracefully exit it.
This means to get a meaningful log I have to manually kill it, and I'm not sure if this invalidates the log to some degree.

Anyway, in case it helps, attached is a valgrind log.


Valgrind also generated a coredump, which I can provide, but it's quite huge. (416M uncompressed, 37M xz).

tg-- added a comment.Aug 6 2018, 2:31 PM

Something else I noticed while reproducing the bug: it does not happen when I start the application before I start anything else von the first vdesktop.
When I start FreeCAD as the first application, it will still have the full dimension of my screen (2560x1600), but now it will be positioned below the top bryce and off-screen for a large portion, but not crash.

If I start some other application that uses a larger portion of vdesktop 1 and start FreeCAD afterwards, the crash happens reproducibly.
After hitting (F1) in the crash handler, I will see it pop up taking the whole desktop and being exactly 2560x1600 pixels large, then E will crash again.

zmike added a comment.Aug 6 2018, 5:01 PM

This isn't a crash, it's a debug ACK, as in ACK, A BUG!

I haven't seen that ACK since I first added it, and I didn't think it was even possible to trigger anymore. Can you post the xprop output for that window?

tg-- added a comment.Aug 7 2018, 3:22 PM

Attached is the xprop, during E crashed state.

zmike added a comment.Aug 9 2018, 12:29 PM

To verify, can you run this app in e.g., blackbox and see whether it has a window border?

tg-- added a comment.Aug 10 2018, 10:46 AM

Well, if I start the app on another desktop than "0,0", E will still crash but will then successfully restart, at which point the window is still the same size and does have a border, so I guess it's safe to say that it should have one in the other scenario.

tg-- added a comment.Aug 10 2018, 12:18 PM

I just installed blackbox, and as expected, the window starts as a fullscreen window with 2560x1600 including its border which shows up right away.