Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-19-2025, 04:31 PM   #1
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,895
Karma: 8821309
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Sigil 2.7.0 crashes

I don't know why, but lately I've had to restart Sigil three or more times under Arch Linux because the program crashes as soon as it starts. I ran it through a console and the message I get is:

Warning: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")

What surprises me is that I don't have any applications installed via Flatpak. What could be causing Sigil 2.7.0 to crash?
RbnJrg is offline   Reply With Quote
Old 12-19-2025, 05:05 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,178
Karma: 6565382
Join Date: Nov 2009
Device: many
DBus is not just associated with Flatpak. It is used to read desktop theme changes as well.

Arch is probably using Qt 6.10.x or later.

I recommend trying our AppImage for Linux (from our Releases page) and not the distribution based build. Does it exhibit the same errors?

If not, then the problem is most likely due to Qt issues.

You could try to enable core dumps and debug the post crash coredump with gdb to generate a backtrace, or even start Sigil, then attach to it with gdb and generate a backtrace that way if Sigil does not crash immediately.

Hopefully a gdb backtrace will provide some hints as to the cause. I regularly run Sigil 2.7.0 on Manjaro with no crashes or issues.

Also you might have somehow corrupted your ini settings files? Try creating a new user on your Linux box and logging in as them and and running Sigil from there to see if it crashes immediately (a new user would start Sigil with clean default settings ini files).

One other question ... Has Sigil 2.7.0 always crashed on startup on your Arch Linux system, or is this just started recently?

Please let us know what you find out.

Last edited by KevinH; 12-19-2025 at 07:57 PM.
KevinH is online now   Reply With Quote
Advert
Old 12-19-2025, 06:32 PM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,008
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I doubt that particular warning is actually related to your crash.

I'm not experiencing any crashes with Sigil 2.7.0 and Qt6.10 on Arch Linux. I don't use the repository version however. I compile it myself.

If you recently updated your system, have tried rebooting (or at least logging out and back in)?

Last edited by DiapDealer; 12-19-2025 at 07:12 PM.
DiapDealer is offline   Reply With Quote
Old 12-20-2025, 06:58 AM   #4
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,895
Karma: 8821309
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
I debugged Sigil with gdb and received the following message:

Starting program: /usr/lib/sigil/sigil
/usr/lib/sigil/sigil: error while loading shared libraries: libsigilgumbo.so: cannot open shared object file: No such file or directory

Apparently, the inability to find this library is causing Sigil to abort. I'm going to reinstall the program to see if that solves the problem.

EDIT: By the way, in /usr/lib/sigil/, both files are in that location: sigil and libsigilgumbo.so, so I should conclude that the last one must be corrupted.

Last edited by RbnJrg; 12-20-2025 at 07:02 AM.
RbnJrg is offline   Reply With Quote
Old 12-20-2025, 07:55 AM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,008
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
If you're starting Sigil directly using /usr/lib/sigil/sigil, you'll need to manually set the variables that are set in the launch script /usr/bin/sigil. Otherwise, as you found out, it won't be able to find libsigilgumbo. Nothing is corrupted. The launch script prepends /usr/lib/sigil/ to LD_LIBRARY_PATH. Binaries in Linux don't automagically find/load shared libraries just because they're in the same directory.

Last edited by DiapDealer; 12-20-2025 at 08:00 AM.
DiapDealer is offline   Reply With Quote
Advert
Old 12-20-2025, 08:15 AM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,008
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
For the purposes of using gdb, just export the new LD_LIBRARY_PATH in the terminal before launching gdb with /usr/lib/sigil/sigil by entering:

export LD_LIBRARY_PATH=/usr/lib/sigil:$LD_LIBRARY_PATH

Then launch /usr/lib/sigil/sigil with gdb. You only need to export that one time per terminal session.
DiapDealer is offline   Reply With Quote
Old 12-20-2025, 10:15 AM   #7
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,895
Karma: 8821309
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
If you're starting Sigil directly using /usr/lib/sigil/sigil, you'll need to manually set the variables that are set in the launch script /usr/bin/sigil. Otherwise, as you found out, it won't be able to find libsigilgumbo. Nothing is corrupted. The launch script prepends /usr/lib/sigil/ to LD_LIBRARY_PATH. Binaries in Linux don't automagically find/load shared libraries just because they're in the same directory.
Indeed! After changing the script /usr/bin/sigil with the following:

Code:
SIGIL_LIB_DIR="/usr/lib/sigil"

export LD_LIBRARY_PATH="$SIGIL_LIB_DIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"

export SIGIL_SHARE_PREFIX="/usr"

exec /usr/lib/sigil/sigil "$@"
did the trick! What surprises me is that with previous versions of Sigil, the program worked fine without needing to change the script.
RbnJrg is offline   Reply With Quote
Old 12-20-2025, 10:33 AM   #8
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,008
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Hmmm... All of those variables should have been properly set in the launch script already. Perhaps your script is what got damaged.

What was in /usr/bin/sigil before you edited it?

Last edited by DiapDealer; 12-20-2025 at 10:43 AM.
DiapDealer is offline   Reply With Quote
Old 12-20-2025, 11:43 AM   #9
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,895
Karma: 8821309
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
Hmmm... All of those variables should have been properly set in the launch script already. Perhaps your script is what got damaged.

What was in /usr/bin/sigil before you edited it?
The following:

Code:
#!/bin/sh

# Entry point for Sigil on Unix systems.
# Adds linked Qt's lib directory to the LD_LIBRARY_PATH

QTLIB_DIR="/usr/lib"
SIGIL_BIN_DIR="/usr/lib/sigil"

if [ -z "$LD_LIBRARY_PATH" ]; then
  LD_LIBRARY_PATH="$SIGIL_BIN_DIR:$QTLIB_DIR"
else
  LD_LIBRARY_PATH="$SIGIL_BIN_DIR:$QTLIB_DIR:$LD_LIBRARY_PATH"
fi

# Create an environment var for the Sigil share directory location.
if [ -z "$SIGIL_SHARE_PREFIX" ]; then
  SIGIL_SHARE_PREFIX="/usr"
  export SIGIL_SHARE_PREFIX
fi

# Not really needed anymore but left in for fringe cases
if [ -z "$SIGIL_EXTRA_ROOT" ]; then
  SIGIL_EXTRA_ROOT="/usr/share/sigil"
  export SIGIL_EXTRA_ROOT
fi

export LD_LIBRARY_PATH

exec /usr/lib/sigil/sigil "$@"
#!/bin/sh
But after restarting the system, the fix didn't work anymore. So I asked Gemini what can be wrong and told me to create a file named sigil.conf in /etc/ld.so.conf.d/ with the following content:

Code:
/usr/lib/sigil
and so far, all is working (even after restarting the system).
RbnJrg is offline   Reply With Quote
Old 12-20-2025, 11:56 AM   #10
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,008
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The script is correct already (except for the extra #!/bin/sh line at the very end). If you exclusively use the launch script to start Sigil (and never the binary in /usr/lib/sigil) it should work. It works for everyone one else using the distro version of Sigil (without an ld.so.conf.d entry).

Are you perhaps using a shortcut to launch Sigil that points directly to the binary in /usr/lib/sigil instead of the launch script in /usr/bin? Sigil should never be launched with anything other than the script in /usr/bin under normal circumstances.

Last edited by DiapDealer; 12-20-2025 at 12:25 PM.
DiapDealer is offline   Reply With Quote
Old 12-20-2025, 12:24 PM   #11
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,178
Karma: 6565382
Join Date: Nov 2009
Device: many
Maybe the menu or gui to launch sigil is pointing to the wrong place and skipping the script?
KevinH is online now   Reply With Quote
Old 12-20-2025, 12:34 PM   #12
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,008
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
If Sigil can't find the libsigilgumbo shared library, it's a dead giveaway that the launch script is 1) misconfigured; or 2) not being processed (skipped). A reboot should have no effect whatsoever on a properly configured launch script that is correctly (and consistently) being used to start Sigil.

Last edited by DiapDealer; 12-20-2025 at 12:41 PM.
DiapDealer is offline   Reply With Quote
Old 12-20-2025, 03:32 PM   #13
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,895
Karma: 8821309
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
If Sigil can't find the libsigilgumbo shared library, it's a dead giveaway that the launch script is 1) misconfigured; or 2) not being processed (skipped). A reboot should have no effect whatsoever on a properly configured launch script that is correctly (and consistently) being used to start Sigil.
For some time now I have been using the following launcher without issues (until this problem where the library is not found):

Code:
[Desktop Entry]
Type=Application
Name=Sigil
Comment=ePUB file editor
TryExec=sigil
Exec=env QT_QUICK_BACKEND=software sigil %F
Icon=sigil
Categories=Office;
MimeType=application/epub+zip;
Path=
Terminal=false
StartupNotify=true
RbnJrg is offline   Reply With Quote
Old 12-20-2025, 04:18 PM   #14
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,008
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
When you type "which sigil" (no quotes) at a terminal, what are the results?

Also, can you verify that the last line of /usr/bin/sigil is really #!/bin/sh (as indicated in your previous post)? If it is, please remove that line. It's not part of the original. I would hope it would be interpreted as a comment, but I'm not entirely sure.
DiapDealer is offline   Reply With Quote
Old 12-20-2025, 04:54 PM   #15
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,895
Karma: 8821309
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
When you type "which sigil" (no quotes) at a terminal, what are the results?
Code:
/usr/bin/sigil
Quote:
Also, can you verify that the last line of /usr/bin/sigil is really #!/bin/sh (as indicated in your previous post)? If it is, please remove that line. It's not part of the original. I would hope it would be interpreted as a comment, but I'm not entirely sure.
The /usr/bin/sigil I'm using now is:

Code:
SIGIL_LIB_DIR="/usr/lib/sigil"

export LD_LIBRARY_PATH="$SIGIL_LIB_DIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"

export SIGIL_SHARE_PREFIX="/usr"

exec /usr/lib/sigil/sigil "$@"
The code I posted was to answer your question:

Quote:
What was in /usr/bin/sigil before you edited it?
With that code (and also with the above one) Sigil crashed. But after writing /etc/ld.so.conf.d/sigil.conf (with the comand /usr/lib/sigil) all is working fine. I don't know why Sigil couldn't find the .so file.
RbnJrg is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil 0.8.5 Random Crashes SuicycoMania Sigil 46 06-05-2015 04:29 PM
Sigil 0.7.4 crashes jiarevalo Sigil 3 12-06-2013 07:44 AM
Epub crashes on Sigil for Mac, OK on Sigil for PC crystamichelle Sigil 6 08-14-2013 03:52 PM
sigil crashes? bobcdy Sigil 7 03-05-2011 06:36 AM
Sigil crashes when saving Sanderfox Sigil 8 02-25-2010 12:50 PM


All times are GMT -4. The time now is 11:24 PM.


MobileRead.com is a privately owned, operated and funded community.