![]() |
#1 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2013
Device: Kindle
|
Sigil segmentation fault (`core' generated)
When I try to open Sigil on Ubuntu 12.04, it appears:
Code:
Debug: loaded the dummy plugin Debug: loaded the Linux plugin Segmentation fault (`core' generated) ![]() |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Were there no errors while compiling? Do you have Qt5 installed?
|
![]() |
![]() |
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
What class of CPU does your system have? If I remember correctly, the SSE2 instruction set is required.
I think if you do a cat /proc/cpuinfo you can tell from the flags field if you have SSE2 available or not. |
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2013
Device: Kindle
|
I didn't have erros and I installed Qt5...
|
![]() |
![]() |
![]() |
#5 | |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2013
Device: Kindle
|
cat /proc/cpuinfo
It says that:
Quote:
|
|
![]() |
![]() |
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
sse2 and even sse4a are both mentioned. This is a fairly new processor and should not have the sse2 problem. Something else is the problem.
Dale |
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,570
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'd always get segfaults like that whenever the binary couldn't access/find the necessary Qt libraries. That's why you have to create the special launch script that adds the Qt5 libs to the LD_LIBRARY_PATH environment variable before starting Sigil.
|
![]() |
![]() |
![]() |
#8 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
Quote:
Code:
#!/bin/sh ## point library path and QT plugin path to Qt5 files ## for sigil Qt5 version(s). ## ## NB execute /usr/local/bin/sigil.sh instead of ## /usr/local/bin/sigil # Entry point for Sigil on Unix systems. # Adds the directory the Sigil executable is located # in to the LD_LIBRARY_PATH so the custom Qt libs # are recognized and loaded. dirname="/opt/Qt5.0.2/5.0.2/gcc/lib/" if [ -z "$LD_LIBRARY_PATH" ]; then LD_LIBRARY_PATH="$dirname" else LD_LIBRARY_PATH="$dirname:$LD_LIBRARY_PATH" fi export LD_LIBRARY_PATH ## not sure if the following is necessary. But it doesn't hurt. QT_PLUGIN_PATH="/opt/Qt5.0.2/5.0.2/gcc/lib/cmake/" export QT_PLUGIN_PATH exec /usr/local/bin/sigil "$@" And of course, the absolute paths mentioned may be different on your system. "Take notice and govern yourself accordingly." Albert |
|
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2013
Device: Kindle
|
Well, I try to understand but I couldn't, can you explain me again?
What I have to do, step by step... |
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Step 1: Install Windows
Step 2: Install Sigil |
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,570
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I actually think that might be best in this instance.
|
![]() |
![]() |
![]() |
#12 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2013
Device: Kindle
|
Well I had to installed with wine. It's working well, but I would prefer the native install on Ubuntu...
|
![]() |
![]() |
![]() |
#13 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,570
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
![]() |
![]() |
![]() |
#14 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2013
Device: Kindle
|
...
It didn't work, I got the same error.
|
![]() |
![]() |
![]() |
#15 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,570
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Must be something unique to your system.
I've installed and used the binaries successfully on systems from 11.10 forward (as have others). With Gnome, KDE, or what-have-you. Sorry you have to go the Wine route, but without more to go on... *shrugs* |
![]() |
![]() |
![]() |
Tags |
debuf, fault, segmentation, sigil, ubuntu |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
segmentation fault when using Sigil with Ubuntu Linux | lunixer | Sigil | 1 | 05-31-2011 02:34 PM |
Segmentation Fault on calibre-server | brs480 | Calibre | 2 | 02-08-2011 11:02 PM |
Segmentation Fault | bowsprit | Calibre | 4 | 12-28-2010 04:13 AM |
Segmentation Fault after Qt upgrade | reader42 | Calibre | 8 | 03-21-2010 06:58 PM |
Segmentation fault | weedfreak | Calibre | 10 | 10-01-2009 02:47 PM |