You are not logged in.

#1 2015-09-05 22:26:33

sosonok
Member
Registered: 2008-11-18
Posts: 70

[SOLVED] Sigil segfaults (only) in Plasma 5

I've done a fresh installation, Arch + Plasma. Sigil starts but crashes when you try to use it. I have another Arch installation in the same PC (Gnome Desktop) and this doesn't happen.

Sorry but no more information. I tried

gdb sigil

but I get this message:

"/usr/bin/sigil": not in executable format: File format not recognized

Qt 5.5.1 solved this issue

Last edited by sosonok (2015-11-03 23:10:19)

Offline

#2 2015-09-06 22:56:23

abveritas
Member
Registered: 2012-05-04
Posts: 29

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

To run sigil in gdb:

gdb /usr/share/sigil/sigil-real

Offline

#3 2015-09-07 12:48:47

sosonok
Member
Registered: 2008-11-18
Posts: 70

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

Thank you, abveritas.
Here's the output: https://paste.kde.org/pteiidxa8

Offline

#4 2015-09-09 18:04:51

m-rv
Member
Registered: 2015-09-09
Posts: 1

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

Hello, exactly the same problem here.
Fresh install with plasma.
Sigil crash under plasma (segfault) but not under xfce.
Thank you.

Last edited by m-rv (2015-09-09 18:05:29)

Offline

#5 2015-09-19 09:16:38

hifi25nl
Member
Registered: 2011-05-07
Posts: 264

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

I am investigating the problem.
Both sigil and sigil-git crash in Plasma. Under Lxqt all is fine!
If I cannot find the problem I will send a bug report.

Last edited by hifi25nl (2015-09-19 09:21:04)

Offline

#6 2015-09-19 09:58:52

hifi25nl
Member
Registered: 2011-05-07
Posts: 264

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

Reported
https://github.com/Sigil-Ebook/Sigil/issues/114

Last edited by hifi25nl (2015-09-19 10:04:20)

Offline

#7 2015-09-19 15:32:14

hifi25nl
Member
Registered: 2011-05-07
Posts: 264

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

The bug has already been closed.

It seems that the variables QT_PLUGIN_PATH and possibly QML2_IMPORT_PATH must be unset
Reference
https://bugreports.qt.io/browse/QTBUG-46714

Some other could test this?

I have tried

export  QT_PLUGIN_PATH=; sigil

and

unset QT_PLUGIN_PATH; sigil

but I have always a segmentation fault

Last edited by hifi25nl (2015-09-19 16:52:24)

Offline

#8 2015-09-19 18:03:28

sosonok
Member
Registered: 2008-11-18
Posts: 70

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

hifi25nl wrote:

Some other could test this?

I have tried

export  QT_PLUGIN_PATH=; sigil

and

unset QT_PLUGIN_PATH; sigil

but I have always a segmentation fault

Same here. Segmentation fault persists.

Thanks for your interest, hifi25nl.

Offline

#9 2015-09-20 03:45:42

abveritas
Member
Registered: 2012-05-04
Posts: 29

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

Plasma 5 does not set that path anymore since 5.4.0, see the commit:
https://quickgit.kde.org/?p=plasma-work … 9d469c2fc1

Sigil (same for sigil-git) does run when compiled with clang on plasma 5 with Qt.5.5, but it is rather useless, segfaults on almost any action.

Last edited by abveritas (2015-09-20 03:46:01)

Offline

#10 2015-09-26 20:43:47

kyndair
Member
Registered: 2015-09-26
Posts: 1

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

Just been searching around on this issue and found that running sudo sigil works (not a great solution I know)

further info at http://chakraos.org/forum/viewtopic.php?id=14167

Offline

#11 2015-09-26 21:04:36

hifi25nl
Member
Registered: 2011-05-07
Posts: 264

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

The ticked is closed but the problem is not fixed, check this:

https://github.com/Sigil-Ebook/Sigil/issues/114

Offline

#12 2015-09-26 21:17:20

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,313

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

This is crashing on the kde integration plugin, as a workaround unset XDG_DESKTOP_SESSION XDG_CURRENT_DESKTOP

Last edited by arojas (2015-09-26 22:09:54)

Offline

#13 2015-09-26 21:25:40

hifi25nl
Member
Registered: 2011-05-07
Posts: 264

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

No way, it always crash...

[piero@archlinux ~]$ env | grep XDG_DESKTOP_SESSION
[piero@archlinux ~]$ unset XDG_DESKTOP_SESSION; sigil
Errore di segmentazione (core dump creato)
[piero@archlinux ~]$ 

Offline

#14 2015-09-26 22:08:32

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,313

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

Sorry, that should be XDG_CURRENT_DESKTOP, not XDG_DESKTOP_SESSION

Offline

#15 2015-09-27 07:57:06

sosonok
Member
Registered: 2008-11-18
Posts: 70

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

Still crashes:

[yorick@Arch-Plasma ~]$ unset XDG_CURRENT_DESKTOP; sigil
Violación de segmento (`core' generado)

Offline

#16 2015-09-29 13:14:59

sosonok
Member
Registered: 2008-11-18
Posts: 70

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

Any news?

Unset XDG_SESSION_DESKTOP and XDG_CURRENT_DESKTOP doesn't work; but while

sudo sigil

works,

sudo -E sigil

doesn't... so it must be an enviroment variable.

EDIT: I've found a solution

unset KDE_FULL_SESSION; sigil

It works, but no Plasma/QT5 theme nor Plasma font settings.

Last edited by sosonok (2015-09-29 13:18:38)

Offline

#17 2015-09-29 14:23:17

hifi25nl
Member
Registered: 2011-05-07
Posts: 264

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

Crash, always crash...

Offline

#18 2015-11-01 18:48:42

sosonok
Member
Registered: 2008-11-18
Posts: 70

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

Qt 5.5.1 update solved this issue. Can you confirm it?

Offline

#19 2015-11-02 07:59:56

hifi25nl
Member
Registered: 2011-05-07
Posts: 264

Re: [SOLVED] Sigil segfaults (only) in Plasma 5

Yes, this issue is solved.

Offline

Board footer

Powered by FluxBB