Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-11-25 17:41:14

sonycdr
Member
Registered: 2009-01-30
Posts: 130

Some XFCE feature makes Qtractor application crashes

OS: Debian 11

I installed Qtractor, an audio/midi application, in its last version. This is a Qt application.

Well, when I'm working I have a weird crash, when I select a color option the app freeze. When I researched the problem I found to another user with the same problem, here his post with a detailed explanation about the problem for to replicate it.

In the post of another user, Rui (the Qtractor developer) answer him and detects that problem is caused for the Desktop Environment (the original user tells that uses a XFCE), maybe a GTK feature.

The problem is that I can't found how identify the problem. A solution is to use another DE, but I like XFCE, so I think that identifying the problem is possible fix it.

Please, What happened here? Why XFCE can't manage the Qtractor option?

Last edited by sonycdr (2021-11-25 17:45:47)

Offline

#2 2021-11-25 19:30:08

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Some XFCE feature makes Qtractor application crashes

I installed Qtractor here and it worked fine with no crashing when I tried to change the marker colour. It might be related to GTK but probably more likely with another component. Logs would definitely be helpful. Is there anything in ~/.xsession-errors, journalctl, or maybe Xorg.0.log around the time the crash happens?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2021-11-25 21:43:16

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Some XFCE feature makes Qtractor application crashes

Apologies, but I was testing on Debian 10 (always getting my debian versions mixed up). Testing this on debian 11 I get the same hangup. In my terminal window I then see the following:

qtractorTimeScaleForm::markerColor()

(qtractor:2929): GLib-GObject-WARNING **: 16:07:02.984: cannot register existing type 'GtkWidget'

(qtractor:2929): GLib-GObject-WARNING **: 16:07:02.984: cannot add class private field to invalid type '<invalid>'

(qtractor:2929): GLib-GObject-WARNING **: 16:07:02.984: cannot add private field to invalid (non-instantiatable) type '<invalid>'

(qtractor:2929): GLib-GObject-CRITICAL **: 16:07:02.984: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(qtractor:2929): GLib-GObject-WARNING **: 16:07:02.984: cannot register existing type 'GtkBuildable'

(qtractor:2929): GLib-GObject-CRITICAL **: 16:07:02.984: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(qtractor:2929): GLib-CRITICAL **: 16:07:02.984: g_once_init_leave: assertion 'result != 0' failed

(qtractor:2929): GLib-GObject-CRITICAL **: 16:07:02.984: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(qtractor:2929): GLib-GObject-CRITICAL **: 16:07:02.984: g_type_register_static: assertion 'parent_type > 0' failed

(qtractor:2929): GLib-GObject-WARNING **: 16:07:02.984: cannot add private field to invalid (non-instantiatable) type '<invalid>'

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#4 2021-11-26 03:51:30

sonycdr
Member
Registered: 2009-01-30
Posts: 130

Re: Some XFCE feature makes Qtractor application crashes

ToZ I'm looking in .xsession-errors and don't appear nothing about qtractor. I can't see erros hmm

Please What log are you looking?

More OS and software specs:

Qtractor: 0.9.24.9
Qt: 5.15.2

Last edited by sonycdr (2021-11-26 03:57:09)

Offline

#5 2021-11-26 11:35:32

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Some XFCE feature makes Qtractor application crashes

I ran qtractor from a terminal window and that is the output I get when I try to change the marker colour. Also tested on Archlinux and it works well there. The Arch version is built using QT6 though.

Maybe a packaging problem or an issue with some supporting library?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#6 2021-11-26 17:36:39

Misko_2083
Member
Registered: 2015-10-13
Posts: 191
Website

Re: Some XFCE feature makes Qtractor application crashes

Could be libsuil or some plugin for Qtractor that uses GTK2.
https://packages.debian.org/bullseye/libsuil-0-0


Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c

Offline

#7 2021-11-26 20:55:27

sonycdr
Member
Registered: 2009-01-30
Posts: 130

Re: Some XFCE feature makes Qtractor application crashes

Misko_2083 wrote:

Could be libsuil or some plugin for Qtractor that uses GTK2.
https://packages.debian.org/bullseye/libsuil-0-0

I have installed that package.

ToZ wrote:

I ran qtractor from a terminal window and that is the output I get when I try to change the marker colour. Also tested on Archlinux and it works well there. The Arch version is built using QT6 though.

Maybe a packaging problem or an issue with some supporting library?

In Debian 11 and Qtractor deb package downloaded from developer repostiory (look my first post) when I run qtractor on the terminal don't appear nothing. I tried to run qtractor with strace command and see similar errors.

write(2, "\n(qtractor:6475): GLib-GObject-W"..., 99) = 99
ioctl(2, TCGETS, 0x7ffd937b04b0)        = -1 ENOTTY (Inappropriate ioctl for device)
getpid()                                = 6475
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=262, ...}) = 0
write(2, "\n(qtractor:6475): GLib-GObject-W"..., 116) = 116
ioctl(2, TCGETS, 0x7ffd937b04a0)        = -1 ENOTTY (Inappropriate ioctl for device)
getpid()                                = 6475
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=262, ...}) = 0
write(2, "\n(qtractor:6475): GLib-GObject-W"..., 131) = 131
ioctl(2, TCGETS, 0x7ffd937b04b0)        = -1 ENOTTY (Inappropriate ioctl for device)
getpid()                                = 6475
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=262, ...}) = 0
write(2, "\n(qtractor:6475): GLib-GObject-C"..., 147) = 147
ioctl(2, TCGETS, 0x7ffd937b03b0)        = -1 ENOTTY (Inappropriate ioctl for device)
getpid()                                = 6475
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=262, ...}) = 0
write(2, "\n(qtractor:6475): GLib-GObject-W"..., 102) = 102
ioctl(2, TCGETS, 0x7ffd937b0480)        = -1 ENOTTY (Inappropriate ioctl for device)
getpid()                                = 6475
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=262, ...}) = 0
write(2, "\n(qtractor:6475): GLib-GObject-C"..., 149) = 149
ioctl(2, TCGETS, 0x7ffd937b0480)        = -1 ENOTTY (Inappropriate ioctl for device)
getpid()                                = 6475
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=262, ...}) = 0
write(2, "\n(qtractor:6475): GLib-CRITICAL "..., 100) = 100
ioctl(2, TCGETS, 0x7ffd937b04b0)        = -1 ENOTTY (Inappropriate ioctl for device)
getpid()                                = 6475
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=262, ...}) = 0
write(2, "\n(qtractor:6475): GLib-GObject-C"..., 147) = 147
ioctl(2, TCGETS, 0x7ffd937b0510)        = -1 ENOTTY (Inappropriate ioctl for device)
getpid()                                = 6475
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=262, ...}) = 0
write(2, "\n(qtractor:6475): GLib-GObject-C"..., 117) = 117
ioctl(2, TCGETS, 0x7ffd937b0540)        = -1 ENOTTY (Inappropriate ioctl for device)
getpid()                                = 6475
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=262, ...}) = 0
write(2, "\n(qtractor:6475): GLib-GObject-W"..., 131) = 131
futex(0x7f9a4f26bf38, FUTEX_WAIT_PRIVATE, 130, NULL) = ?
+++ killed by SIGKILL +++

Offline

#8 2021-11-27 17:11:36

Misko_2083
Member
Registered: 2015-10-13
Posts: 191
Website

Re: Some XFCE feature makes Qtractor application crashes

Belive it or not it's a style or theme issue. big_smile

I installed qt5-style-plugins

sudo apt install qt5-style-plugins

and then started with

QT_QPA_PLATFORMTHEME=gtk2 qtractor

And it now opens the color selection dialog.

You can try other styles:
https://wiki.archlinux.org/title/Unifor … plications


Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c

Offline

Board footer

Powered by FluxBB