![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,623
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
core dump
Hi
I installed the latest Sigil as an Arch package on my brand new computer to get this short statement: ![]() [CODE][roger@lenovo ~]$ sigil Debug: using qt5ct plugin Warning: libpng warning: iCCP: known incorrect sRGB profile Warning: libpng warning: iCCP: known incorrect sRGB profile Debug: D-Bus system tray: no Debug: D-Bus global menu: no *** Error in `/usr/lib/sigil/sigil': free(): invalid pointer: 0x00007f482ef303c0 *** Abandon (core dumped) [roger@lenovo ~]$[CODE] Previously I had added some files (mostly plugins) from my former Sigil in /home/roger/.local. It's also fairly possible some software could not be installed yet... Last edited by roger64; 11-09-2017 at 05:52 AM. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,359
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I've not tried the community Arch Sigil package in a while. Did you try launching Sigil before copying your prefs from your old installation?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,623
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
No I did not. I shall take them out to check.
No change: core dump all the same I shall see what happens with the new version just announced Last edited by roger64; 11-09-2017 at 07:09 AM. |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,683
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
My home-built Sigil version runs fine on my Arch Linux machine.
I also got: Code:
Warning: libpng warning: iCCP: known incorrect sRGB profile Code:
Debug: using qt5ct plugin Debug: D-Bus system tray: no Debug: D-Bus global menu: no @roger64: Maybe your system isn't up-to-date. Enter the following command in a terminal window and then reboot your machine: Code:
sudo pacman -Syu Code:
/home/roger/.local./share/sigil-ebook/sigil/sigil.ini Code:
/home/roger/.local./share/sigil-ebook/sigil/sigil.bak |
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,359
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I think Roger installed the community version (pacman -S sigil).
Quote:
As far as the original error message goes, I have experienced those kinds of segfaults when config files could not be read (be it from permissions problems or non-existence). |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,623
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
(except the warning for the new version) |
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,683
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
What is the new warning?
AFAIK, there are two Arch Linux Sigil packages, sigil and sigil-git. What you could try is uninstall whatever package you've installed and then install the other one. I.e., if you installed sigil, uninstall it and then install sigil-git. IIRC, you'll need to use yaourt to install sigil-git: Code:
yaourt -S sigil-git Last edited by Doitsu; 11-09-2017 at 08:50 AM. |
![]() |
![]() |
![]() |
#8 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,485
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Also simply launching sigil via gdb and running doing a backtrace after the crash/abort would certainly help us to see what might be going on. It should be an easy add to the script that launches sigil after setting the right environment variables.
If not, we could/should add a command line switch to the sigil launch script to enable running it through gdb just to make bug reports from Linux users easier to get given the huge number of different Linux variants. What do you think? |
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,359
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I think we'd have to manually set the environment variables in a shell and launch /usr/lib/sigil/sigil via gdb manually. It may have changed, but at one time, gdb only worked with binary executables. So running the launch script (/usr/bin/sigil) with gdb didn't work.
I'll install a clean instance of Sigil with pacman on Arch later today and see if there's any problems. I've experienced some issues with that community-supplied package before in the past. Last edited by DiapDealer; 11-09-2017 at 09:56 AM. |
![]() |
![]() |
![]() |
#10 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,485
Karma: 5703586
Join Date: Nov 2009
Device: many
|
I was thinking maybe we should be adding a command line option to the /usr/bin/sigil shell script to force it to launch sigil within gdb instead of just sigil. I do this on my own linux scripts on my research box to set the appropriate LD_LIBRARY_PATH, and set any other environment variables as normal in the script and then do:
gdb PATH_TO_REAL_EXECUTABLE/sigil instead of just launching the real sigil executable itself. My 2 cents ... |
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,359
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yes, that would probably work. We could even provide a separate debug launch-script. We'd just have to make sure to configure it with cmake, so the paths were sure to match the build/install.
|
![]() |
![]() |
![]() |
#12 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,359
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Sorry. I'm not much help. The Arch community package for Sigil 0.9.8 works fine for me--both as a clean install and when copying a previous config to the new installation (although it reports itself as v0.9.7 because of a tagging issue we had at release time).
If you'd like to do a little debugging, run the attached script (make it executable if necessary) from a terminal to launch sigil via gdb. Once you see the (gdb) prompt type 'run' (without the quotes, of course) followed by enter. I've had to zip the script because Mobileread doesn't like any of the file extensions I've tried. You'll need to unzip it. You can run it from your home directory. NOTE: the script will only work for the version of Sigil installed by pacman into the standard /usr prefix. |
![]() |
![]() |
![]() |
#13 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,359
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
By the way ... for those following along, the debug messages are from having the qt5ct package installed. The qt5ct package provides a DE independent Qt5 QPA and a configuration utility. which allows you to set custom colors, icon sets, fonts and themes for your Qt5 applications.
|
![]() |
![]() |
![]() |
#14 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,623
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Here it is
I had to install gdb Code:
[roger@lenovo Bureau]$ ./sigil-debug GNU gdb (GDB) 8.0.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/lib/sigil/sigil...(no debugging symbols found)...done. (gdb) run Starting program: /usr/lib/sigil/sigil [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffe5915700 (LWP 10296)] [New Thread 0x7fffe1722700 (LWP 10297)] Debug: using qt5ct plugin [New Thread 0x7fffd6baa700 (LWP 10298)] Warning: libpng warning: iCCP: known incorrect sRGB profile Warning: libpng warning: iCCP: known incorrect sRGB profile Debug: D-Bus system tray: no [New Thread 0x7fffd49ff700 (LWP 10299)] Debug: D-Bus global menu: no *** Error in `/usr/lib/sigil/sigil': free(): invalid pointer: 0x00007fff8f7313c0 *** Thread 1 "sigil" received signal SIGABRT, Aborted. 0x00007ffff1ad68a0 in raise () from /usr/lib/libc.so.6 (gdb) |
![]() |
![]() |
![]() |
#15 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,359
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
When you get to that point (after the crash) type 'bt' followed by enter. That should give us a bit of a backtrace.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-600 Need dump | Snack | Sony Reader | 17 | 08-02-2017 10:38 AM |
Time to dump the NC... | joedubya | Nook Color & Nook Tablet | 68 | 02-04-2011 02:13 PM |
Why you should dump your publisher | wannabee | General Discussions | 18 | 11-12-2010 12:30 AM |
How to dump firmware? | gwynevans | Sony Reader Dev Corner | 16 | 05-10-2009 03:24 PM |
Dump IE | sUnShInE | Lounge | 9 | 07-02-2004 08:07 AM |