Comments (8)
I've just tried with both Writer
and Calc
but can't reproduce.
Could you run with labwc -d 2>log.txt
to give us a debug log for when it goes down.
If you enable ASAN (meson configure -Db_sanitize=address,undefined build/
) you get a backtrace which helps us see where it went wrong.
--edited--
from labwc.
from labwc.
from labwc.
This issue happens for me too. But after i recompiled libreoffice with gtk use flag it no longer crashes. Anyways in log, it looks like it happens when assert(mappable->connected)
is called in function mappable_disconnect
.
from labwc.
Can confirm with labwc 0.7.0-6-gce3c5ab
: resizing column width in LibreOffice makes labwc crash and return to tty:
01:36:17.041 [ERROR] [types/xdg_shell/wlr_xdg_surface.c:169] A configure is scheduled for an uninitialized xdg_surface 0x56304a54efb0
01:36:18.164 [ERROR] [types/xdg_shell/wlr_xdg_surface.c:169] A configure is scheduled for an uninitialized xdg_surface 0x56304a75c360
01:37:49.061 [ERROR] [xwayland/xwm.c:1607] xcb error: op 2:0, code 3, sequence 507, value 23068689
01:37:49.061 [ERROR] [xwayland/xwm.c:1607] xcb error: op 25:0, code 3, sequence 508, value 23068689
01:43:06.319 [ERROR] [types/xdg_shell/wlr_xdg_surface.c:169] A configure is scheduled for an uninitialized xdg_surface 0x56304a650a60
01:43:32.881 [ERROR] [types/xdg_shell/wlr_xdg_surface.c:169] A configure is scheduled for an uninitialized xdg_surface 0x56304a54efb0
01:43:35.755 [ERROR] [types/xdg_shell/wlr_xdg_surface.c:169] A configure is scheduled for an uninitialized xdg_surface 0x56304a6651e0
01:43:43.014 [ERROR] [types/xdg_shell/wlr_xdg_surface.c:169] A configure is scheduled for an uninitialized xdg_surface 0x56304a477780
01:43:47.683 [ERROR] [types/xdg_shell/wlr_xdg_surface.c:169] A configure is scheduled for an uninitialized xdg_surface 0x56304a75c360
01:46:27.708 [ERROR] [types/xdg_shell/wlr_xdg_surface.c:169] A configure is scheduled for an uninitialized xdg_surface 0x56304a73edb0
01:46:27.994 [ERROR] [types/xdg_shell/wlr_xdg_surface.c:169] A configure is scheduled for an uninitialized xdg_surface 0x56304a72dc70
01:50:04.423 [ERROR] [types/xdg_shell/wlr_xdg_surface.c:169] A configure is scheduled for an uninitialized xdg_surface 0x56304a6d7ba0
01:50:53.002 [INFO] [backend/drm/drm.c:786] connector eDP-1: Turning off
01:53:45.684 [INFO] [backend/drm/drm.c:782] connector eDP-1: Modesetting with 2560x1600 @ 60,030 Hz
01:53:47.878 [ERROR] [types/xdg_shell/wlr_xdg_surface.c:169] A configure is scheduled for an uninitialized xdg_surface 0x56304a54efb0
Warning: failed to launch javaldx - java may not function correctly
01:55:04.979 [ERROR] [xwayland/xwm.c:1607] xcb error: op 18:0, code 3, sequence 640, value 23068673
01:55:04.979 [ERROR] [xwayland/xwm.c:1607] xcb error: op 18:0, code 3, sequence 642, value 23068673
01:55:04.980 [ERROR] [xwayland/xwm.c:1607] xcb error: op 19:0, code 3, sequence 643, value 23068673
01:55:07.477 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.491 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.498 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.499 [ERROR] [xwayland/xwm.c:1607] xcb error: op 12:0, code 3, sequence 744, value 25165868
01:55:07.505 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.505 [ERROR] [xwayland/xwm.c:1607] xcb error: op 12:0, code 3, sequence 766, value 25165870
01:55:07.512 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.512 [ERROR] [xwayland/xwm.c:1607] xcb error: op 12:0, code 3, sequence 788, value 25165872
01:55:07.519 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.519 [ERROR] [xwayland/xwm.c:1607] xcb error: op 12:0, code 3, sequence 810, value 25165874
01:55:07.527 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.527 [ERROR] [xwayland/xwm.c:1607] xcb error: op 12:0, code 3, sequence 832, value 25165876
01:55:07.533 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.533 [ERROR] [xwayland/xwm.c:1607] xcb error: op 12:0, code 3, sequence 854, value 25165878
01:55:07.541 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.541 [ERROR] [xwayland/xwm.c:1607] xcb error: op 12:0, code 3, sequence 876, value 25165880
01:55:07.547 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.547 [ERROR] [xwayland/xwm.c:1607] xcb error: op 12:0, code 3, sequence 898, value 25165882
01:55:07.555 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.555 [ERROR] [xwayland/xwm.c:1607] xcb error: op 12:0, code 3, sequence 920, value 25165884
01:55:07.569 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.569 [ERROR] [xwayland/xwm.c:1607] xcb error: op 12:0, code 3, sequence 945, value 25165887
01:55:07.581 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.595 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.616 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.624 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.624 [ERROR] [xwayland/xwm.c:1607] xcb error: op 12:0, code 3, sequence 1033, value 25165895
01:55:07.637 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.644 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.644 [ERROR] [xwayland/xwm.c:1607] xcb error: op 12:0, code 3, sequence 1077, value 25165899
01:55:07.651 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
01:55:07.651 [ERROR] [xwayland/xwm.c:1607] xcb error: op 12:0, code 3, sequence 1099, value 25165901
01:55:07.658 [ERROR] [xwayland/xwm.c:937] Failed to get window property
01:55:07.658 [ERROR] [xwayland/xwm.c:1143] Failed to get window property
labwc: ../src/view.c:1737: mappable_disconnect: Assertion `mappable->connected' failed.
(EE) failed to read Wayland events: Connection reset by peer
Aborted (core dumped)
X IO Error
ExceptionHandler::GenerateDump cloned child 67640
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Remember, I was the user with the non-QT/GTK LibreOffice, see issue #1161 (SAL_USE_VCLPLUGIN=gen libreoffice
)
from labwc.
With meson configure -Db_sanitize=address,undefined ./build
I get the following error when compiling latest main
:
$ meson subprojects update --reset
Updating seatd...
-> Not used.
Updating wlroots...
-> 3f2aced8 (HEAD -> 0.17, origin/0.17) build: bump vesion to 0.17.1 [Simon Ser]
$ rm -rf ./build
$ meson setup ./build
[...]
$ meson configure -Db_sanitize=address,undefined ./build
[...]
$ meson compile -C ./build
[...]
wlroots 0.17.1
drm-backend : YES
x11-backend : YES
libinput-backend: YES
xwayland : YES
gles2-renderer : YES
vulkan-renderer : YES
gbm-allocator : YES
session : YES
xcb-errors : NO
egl : YES
libliftoff : YES
labwc 0.7.0
Subprojects
wlroots : YES
User defined options
b_sanitize: address,undefined
Found ninja-1.11.1 at /usr/bin/ninja
Cleaning... 0 files.
[260/440] Compiling C object subprojects/wlroots/libwlroots.a.p/backend_wayland_seat.c.o
FAILED: subprojects/wlroots/libwlroots.a.p/backend_wayland_seat.c.o
cc -Isubprojects/wlroots/libwlroots.a.p -Isubprojects/wlroots -I../subprojects/wlroots -Isubprojects/wlroots/include -I../subprojects/wlroots/include -Isubprojects/wlroots/protocol -Isubprojects/wlroots/render/gles2/shaders -Isubprojects/wlroots/render/vulkan/shaders -Isubprojects/wlroots/backend/drm -I/usr/include/libdrm -I/usr/include/pixman-1 -fdiagnostics-color=always -fsanitize=address,undefined -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O0 -g -DWLR_USE_UNSTABLE -DWLR_LITTLE_ENDIAN=1 -DWLR_BIG_ENDIAN=0 -Wundef -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wstrict-prototypes -Wimplicit-fallthrough=2 -Wendif-labels -Wstrict-aliasing=2 -Woverflow -Wmissing-prototypes -Walloca -Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter -fmacro-prefix-map=../subprojects/wlroots/= -march=native -O2 -pipe -fPIC -MD -MQ subprojects/wlroots/libwlroots.a.p/backend_wayland_seat.c.o -MF subprojects/wlroots/libwlroots.a.p/backend_wayland_seat.c.o.d -o subprojects/wlroots/libwlroots.a.p/backend_wayland_seat.c.o -c ../subprojects/wlroots/backend/wayland/seat.c
../subprojects/wlroots/backend/wayland/seat.c: In function ‘keyboard_handle_leave’:
../subprojects/wlroots/backend/wayland/seat.c:50:9: error: ‘memcpy’ specified bound 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=]
50 | memcpy(pressed, keyboard->keycodes,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | num_keycodes * sizeof(uint32_t));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[277/440] Compiling C object subprojects/wlroots/libwlroots.a.p/render_vulkan_renderer.c.o
ninja: build stopped: subcommand failed.
As this seems weirdly related to wlroots, I added the output of meson subproject in the above log.
from labwc.
I have one idea. You can poke if you want to. Download the app image from the official Libreoffice website and try to reproduce the error.
I'm using the latest Libreoffice version (fresh) app image and I can't reproduce this error.
from labwc.
@keongen2 Thanks for reporting. Should be fixed on latest master, please comment if not.
from labwc.
Related Issues (20)
- Is there any way to get an application's icon? HOT 2
- Feature request: Unmaximize
- Feature request: focus/urgency handling for new/activating windows HOT 6
- Do not run dbus-update-activation-environment if dbus implementation is dbus-broker HOT 1
- Various issues with running labwc within a VM since moving to wlroots 0.17 HOT 5
- Inconsistent use of `_` and `-` in filenames HOT 4
- magnifier: improve performance by preventing useless rendering when enabled HOT 1
- Feature Request: Swap all windows from one monitor with the windows from another monitor HOT 1
- show/hide top layer more smartly HOT 5
- SSD: `SetDecorations 'full'` does not work without `forceSSD.action="yes"` HOT 1
- Add XKB_DEFAULT_VARIANT example to docs/environment HOT 1
- Terraria Steam version migrates from primary to secondary display on Alt-Tab HOT 2
- How to fine-tune options for nested usage? HOT 3
- How to force a screen refresh? HOT 4
- Is it possible to customize nested labwc window title? HOT 3
- `forceSSD="no"` not working as expected with pcmanfm-qt in CSD mode
- View matching broken for ForEach action HOT 2
- How to hide the titlebar? HOT 4
- Set squared SSD corners when SSD client is tiled and notified about being tiled HOT 1
- Is it possible to disable the ALT+drag feature? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from labwc.