![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295
Karma: 2139988
Join Date: Nov 2014
Device: bookeen
|
Segfault when changing libs
Hi
I am on Debian 64 I get segfault when I change between libs. ' This happens when I change to a lib the second time. So I open C then change to a lib, no crash. Then I change back to the first one I get consistent crashes. Here is something from strace. The debug mode did not give anything useful. read(23, "\377\330\377\340\0\20JFIF\0\1\1\1\0\226\0\226\0\0 \377\333\0C\0\10\6\6\7\6\5\10"..., 16384) = 16384 read(23, "0#\25\346\332\203\260\325\347P\312\240\34\344\327 f\v\342gV\33\342h\202%\211!9r\256\274\340"..., 16384) = 16384 read(23, "m$\360q\330\322\20]s\330u\317zV\33@\300\353\326\206\35\1\271\301\4Rn# \2561\351J"..., 16384) = 16384 read(23, "\343\30\316I\364\24\363\234a\213\36\300\236\325\3 0\340\257c\322\254\222\332F]\224\0Gs\203O\262@"..., 16384) = 16384 read(23, "\235\7q\305K|\261+a\30t\373\252:\32\3162\f\355\0\ 361\3235 b_\270\351\315.]n"..., 16384) = 16384 read(23, "\301\265\235=U\0\"e\34zg\232\364\271\3012\266;\23 6\225\346co\316\275\16<g\302\204\344d"..., 16384) = 16384 read(23, "\201\200F\0\353O\0\204\332s\363v4\370\210\217\16U N\17\361t9\252\362>\371;\251\306jw"..., 16384) = 16384 read(23, "\3\1\233\3\34\363[\376\0B\2361\265\4\372\237\322\261]\361\0\7\0103\234{\326\377\0\201\16|"..., 16384) = 3259 read(23, "", 12288) = 0 read(23, "", 16384) = 0 close(23) = 0 munmap(0x7fbee76b5000, 4096) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}]) writev(3, [{"&\0\2\0\236\0\0\0", 8}], 1) = 8 futex(0x7fff805b76f4, FUTEX_WAIT_PRIVATE, 1, NULL) = 0 futex(0x165b5a8, FUTEX_WAKE_PRIVATE, 1) = 0 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fbe0000001a} --- +++ killed by SIGSEGV +++ |
![]() |
![]() |
![]() |
#2 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,611
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@loviedovie - try upgrading to latest version of calibre ==>> Download calibre and ensure all your PI's are latest too.
There were some changes in 2.10 that caused similar errors, the fix required changes to some PI's, see ==>> Calibre 2.10, Plugins, Shortcuts and Dynamic Menus BR |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295
Karma: 2139988
Join Date: Nov 2014
Device: bookeen
|
Quote:
I am alrady using 2.12 and it looks like the plugins are updated |
|
![]() |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,611
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@loviedovie - it could be a manifestation of the same problem, the PIs that were changed was because they manifested the problem, not because of any exhaustive analysis of the structure or code of each every PI
![]() Try running without any PI's, using the --ignore-plugins option see ==>> calibre command If that works then you'll have to remove all PI's (don't worry you wont lose your PI settings - but to be safe backup your config directory) add them back one-by-one until you find the culprit and report the problem in its PI thread. If ignoring all the plug-ins doesn't work I'm out of ideas, you can report a bug here ==>> Bugs : calibre BR Last edited by BetterRed; 12-13-2014 at 04:30 PM. Reason: clarity |
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295
Karma: 2139988
Join Date: Nov 2014
Device: bookeen
|
BetterRed disabling plugins solves it but I have just way to many plugins installed and not much time to waste on it. If anyone finds the offending plugin please post it here.
I will test couple plugins but it will take a while to figure this out which sux ;( Btw here are some logs when Calibre starts up Traceback (most recent call last): File "site-packages/calibre/gui2/ui.py", line 150, in __init__ File "site-packages/calibre/gui2/ui.py", line 164, in init_iaction File "site-packages/calibre/customize/__init__.py", line 580, in load_actual_plugin File "importlib/__init__.py", line 37, in import_module File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module File "calibre_plugins.savetoformat.savetoformatacti on", line 3, in <module> File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module File "calibre_plugins.savetoformat.gui.prompt", line 5, in <module> ImportError: cannot import name NONE Traceback (most recent call last): File "site-packages/calibre/gui2/ui.py", line 150, in __init__ File "site-packages/calibre/gui2/ui.py", line 164, in init_iaction File "site-packages/calibre/customize/__init__.py", line 580, in load_actual_plugin File "importlib/__init__.py", line 37, in import_module File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module File "calibre_plugins.recoll_fulltext_search.ui", line 18, in <module> File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module File "calibre_plugins.recoll_fulltext_search.main", line 17, in <module> ImportError: No module named PyQt4.Qt thanks Last edited by loviedovie; 12-13-2014 at 11:50 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Try enabling half of them, if it crashes, enable only half of those, etc -- should help narrow down problematic plugins.
You can post the list of plugins you use, for others' reference. ![]() |
![]() |
![]() |
![]() |
#7 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,611
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I have 19 installed PI's, to find out which were causing problems I uninstalled all of them, then installed them one by one until I found the culprits (30 minutes) - they were Open With and Reading List. Open With was tricky to find and apparently to fix - took Jim 2 attempts
![]() Here's a list of my installed PI's Code:
Barnes & Noble.zip Beam Ebooks.zip Count Pages.zip EpubSplit.zip Extract ISBN.zip Favourites Menu.zip FictionDB.zip Find Duplicates.zip Generate Cover.zip Goodreads.zip Import List.zip Modify ePub.zip Open With.zip Quality Check.zip Quick Preferences.zip Reading List.zip Resize Cover.zip View Manager.zip Walk Search History.zip BR |
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,325
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,611
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() Neither PI has been updated to be calibre 2.x compatible, see Stats for porting of calibre plugins to Qt 5. @loviedovie - remove those two PIs, if stops the crashing and you need the PI's then you should post something with a link to this thread in the Save to Format and Recoll Full Text Search PI threads. Ah-ha... I see PeterT has done some work on Save to Format, there's a version at the end of the PI thread waiting for someone to test it. BR |
|
![]() |
![]() |
![]() |
#10 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295
Karma: 2139988
Join Date: Nov 2014
Device: bookeen
|
I think it was open with was the culprit for me, whcih sux because I use it alot ;(
|
![]() |
![]() |
![]() |
#11 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,889
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#12 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,611
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Can you let us know if installing that version fixes your problem BR |
|
![]() |
![]() |
![]() |
#13 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295
Karma: 2139988
Join Date: Nov 2014
Device: bookeen
|
Hi
That did not do it for me. The issue back after I install it. Quote:
|
|
![]() |
![]() |
![]() |
#14 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,611
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() As you've no doubt seen JimmXinu and I had very a similar problem with the Open With PI in Windows - which was fixed by JimmXinu. And he did update the 'official' version. The only thing I can suggest is to close calibre and rename <wherever your config directory is>\plugins\Open With.json to *.json.save. See if the Segfault goes away, if its OK re-enter the Open With PI config details and test. BR Last edited by BetterRed; 12-14-2014 at 08:14 PM. |
|
![]() |
![]() |
![]() |
#15 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,611
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@loviedovie - in case you missed it, JimmXinu has posted this ===>>> [GUI Plugin] Open With - fix
BR |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ebook-convert segfault | mala88 | Conversion | 1 | 01-30-2011 10:38 AM |
DR800 non-stripped libs? pleeease? | dima_tr | iRex Developer's Corner | 0 | 10-20-2010 08:14 AM |
Calibre 0.6.40 source - segfault after successful build on Linux | Megatron-UK | Calibre | 7 | 02-20-2010 04:29 AM |
SegFault in 0.6.16 when trying to convert | ikarus9999 | Calibre | 1 | 10-03-2009 06:02 PM |
Recipe causes segfault: Ubuntu Intrepid, Calibre 0.6.14 | rogue_ronin | Calibre | 1 | 10-02-2009 12:35 AM |