View Issue Details

IDProjectCategoryView StatusLast Update
0002203Double CommanderDefaultpublic2022-09-16 20:27
Reportermilk Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
ProjectionnoneETAnone 
OSLinuxOS VersionArch Linux 
Product Version0.8.4Product Build2018/12/10 
Summary0002203: Fails to start with sway or Weston (wayland)
Description
[FORMS.PP] ExceptionOccurred
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $00000000005B6663
  $0000000000595F29
  $00000000006FB026
  $00000000006FA9BC
  $00000000006F67D5
  $0000000000518E2B
  $0000000000518D2D
  $00000000004A757D
TApplication.HandleException Access violation
  Stack trace:
  $00000000005B6663
  $0000000000595F29
  $00000000006FB026
  $00000000006FA9BC
  $00000000006F67D5
  $0000000000518E2B
  $0000000000518D2D
  $00000000004A757D
[FORMS.PP] ExceptionOccurred
Steps To ReproduceRun sway, open a terminal;

% export QT_QPA_PLATFORM=wayland
% doublecmd

Get the above error.
TagsNo tags attached.
Fixed in Revision
Operating systemLinux
WidgetsetQt5
Architecture64-bit

Activities

Alexx2000

2019-01-14 07:47

administrator   ~0002998

"QT_QPA_PLATFORM=wayland" is not supported, only QT_QPA_PLATFORM=xcb".

milk

2019-02-11 10:11

reporter   ~0003035

Ah, this appears to be a more general issue (unless there are two issues).


QT_QPA_PLATFORM=xcb doublecmd

(doublecmd:26300): GLib-GObject-WARNING **: 07:05:08.067: cannot register existing type 'GdkDisplayManager'

(doublecmd:26300): GLib-CRITICAL **: 07:05:08.067: g_once_init_leave: assertion 'result != 0' failed

(doublecmd:26300): GLib-GObject-CRITICAL **: 07:05:08.067: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

(doublecmd:26300): GLib-GObject-WARNING **: 07:05:08.067: invalid (NULL) pointer instance

(doublecmd:26300): GLib-GObject-CRITICAL **: 07:05:08.067: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(doublecmd:26300): GLib-GObject-WARNING **: 07:05:08.067: invalid (NULL) pointer instance

(doublecmd:26300): GLib-GObject-CRITICAL **: 07:05:08.067: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(doublecmd:26300): GLib-GObject-WARNING **: 07:05:08.141: cannot register existing type 'GdkDisplay'

(doublecmd:26300): GLib-CRITICAL **: 07:05:08.141: g_once_init_leave: assertion 'result != 0' failed

(doublecmd:26300): GLib-GObject-CRITICAL **: 07:05:08.141: g_type_register_static: assertion 'parent_type > 0' failed

(doublecmd:26300): GLib-CRITICAL **: 07:05:08.141: g_once_init_leave: assertion 'result != 0' failed

(doublecmd:26300): GLib-GObject-CRITICAL **: 07:05:08.141: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
[FORMS.PP] ExceptionOccurred
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $0000000000712DD2
  $0000000000712BA1
  $00000000007127C6
  $000000000070E545
  $000000000051A95B
  $000000000051A862
  $00000000004A5C7D
[FORMS.PP] ExceptionOccurred


This is with 8650-1 (from the herecura doublecmd-svn-qt5 bin package for Arch Linux)

milk

2019-03-10 22:27

reporter   ~0003086

doublecmd-gtk2 works fine, it for sure runs under Xwayland

the usual way, as advised by sway/wlroots devs, to force an app to run under Xwayland, is to use envars, like;

XDG_SESSION_TYPE=x11 QT_QPA_PLATFORM=xcb WAYLAND_DISPAY="" doublecmd

but this does indeed still throw an exception.

beyond that, i don't know, i'll stick with the gtk version for now.

Alexx2000

2022-09-16 20:27

administrator   ~0003841

https://github.com/doublecmd/doublecmd/issues/193#issuecomment-1242784104

Issue History

Date Modified Username Field Change
2019-01-14 00:48 milk New Issue
2019-01-14 07:47 Alexx2000 Note Added: 0002998
2019-01-14 07:47 Alexx2000 Status new => acknowledged
2019-02-11 10:11 milk Note Added: 0003035
2019-03-10 22:27 milk Note Added: 0003086
2022-09-16 20:27 Alexx2000 Status acknowledged => closed
2022-09-16 20:27 Alexx2000 Resolution open => fixed
2022-09-16 20:27 Alexx2000 Note Added: 0003841