Jump to content

Spriter incompatible with tiling window managers?


som-one

Recommended Posts

Hi,

I tried to launch Spriter on my archlinux system but got an error.

 segmentation fault (core dumped)  ./Spriter

Running ldd showed nothing unusual and it worked in a lubuntu vm. Gdb told me the error was caused by some qt code.

I found another post with, what looks like the same problem: https://www.scirra.com/forum/spriter-early-adopter-sale-tools_p851923?&sid=216adbd35567c46a162b0a6a9930ee42#p851923.

After searching around I found that it is most likely caused because I'm using http://i3wm.org/. After switching to gnome-session, Spriter worked.

This looks like a general problem and not related to B11.

It would be awesome if a dev could try to launch Spriter in a i3wm session and see if this causes the application to crash.

Is anyone else using i3 and is able to run Spriter?

thanks

edit: I tried running Spriter in an active https://github.com/baskerville/bspwm session and got the same error (looks the same)

edit2: tried the same using http://dwm.suckless.org/ and got the same error

edit3: I changed the title from i3wm to tiling window managers because it looks like a general problem with these.

Link to comment
Share on other sites

I tried to run Spriter with other WMs today:

- http://xmonad.org/ crashes

- http://awesome.naquadah.org/ works

- https://opensource.conformal.com/wiki/spectrwm works

- http://herbstluftwm.org/ crashes

- https://code.google.com/p/wmii/ crashes

All of these were in the same lubuntu vm without changing anything except for the active login session.

From https://faq.i3wm.org/question/3430/how- ... st-id-3462 it could be that the crash is caused because Spriter tries to do something with window related properties.

Link to comment
Share on other sites

  • 2 weeks later...

I apologize for the slow responses, and thanks for the offer to help, but I'm extremely busy with getting the documentation/api stuff done at the moment.  Looking into it will be an involved process, as I don't have several versions of Linux installed to test across, and I won't have time to look into it until I finish all the more urgent matters.  In the meantime, I'm glad that you have working alternatives to use Spriter Pro for now.

 

In general, getting Spriter to work on every flavor of Linux cannot be the highest priority - of the Linux users we have, everyone seems to be able to get it working.   So this means that we'd be spending a disproportionate amount of time that could be used on new (large) features, bug fixes, and getting Spriter supported on as many authoring system as possible (which is our current highest priority).  All of these would benefit all users, including all Linux users.

Link to comment
Share on other sites

Thanks for your response. I can understand that you don't want to waste time on a system with such a low user share.

 

It's just weird, that Spriter is the first QT application that doesn't work on a multitude of tiling window managers (for me). I tried to see if there's something they have in common, but from the ones I tested there wasn't really anything ( see https://wiki.archlinux.org/index.php/Comparison_of_Tiling_Window_Managers#Comparison_table).

 

 

Maybe you're trying to do something with the QT application window that should be done by the window manager instead, like resizing. This could lead to an endless loop because it triggers a resize event and your code tries to correct/manipulate the window size, which in effect, triggers the same event again.

If something like this exists in your code, maybe it should be better to avoid that, because it could lead to weird behavior on other systems too.

 

Anyways, thanks for developing Spriter.

 

Edit: I ran

valgrind --leak-check=full ./Spriter
on Spriter and got this: https://paste.ee/p/HIxxA
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...