09-10-2013, 09:31 AM | #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) |
09-10-2013, 11:13 AM | #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?
|
Advert | |
|
09-10-2013, 01:43 PM | #3 |
Grand Sorcerer
Posts: 12,168
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
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. |
09-10-2013, 09:18 PM | #4 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2013
Device: Kindle
|
I didn't have erros and I installed Qt5...
|
09-10-2013, 09:21 PM | #5 | |
Member
Posts: 10
Karma: 10
Join Date: Sep 2013
Device: Kindle
|
cat /proc/cpuinfo
It says that:
Quote:
|
|
Advert | |
|
09-10-2013, 09:38 PM | #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 |
09-10-2013, 09:41 PM | #7 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
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.
|
09-11-2013, 08:55 PM | #8 | |
Guru
Posts: 696
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 |
|
09-12-2013, 12:42 AM | #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... |
09-12-2013, 01:20 AM | #10 |
Grand Sorcerer
Posts: 12,168
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Step 1: Install Windows
Step 2: Install Sigil |
09-12-2013, 10:50 AM | #11 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I actually think that might be best in this instance.
|
09-14-2013, 05:21 PM | #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...
|
09-14-2013, 05:26 PM | #13 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
09-22-2013, 12:38 PM | #14 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2013
Device: Kindle
|
...
It didn't work, I got the same error.
|
09-22-2013, 01:09 PM | #15 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
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 |
|
Similar Threads | ||||
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 |