Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-03-2020, 07:28 AM   #31
rolgiati
Groupie
rolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the end
 
Posts: 168
Karma: 31650
Join Date: May 2011
Location: Asuncion (Paraguay)
Device: In the house, 3 K3 in use, 4 more in storage, and a K5 for testing
Quote:
Originally Posted by rolgiati View Post
I was trying to run Calibre 4.11.2 which I got from https://download.calibre-ebook.com/l
Saw that my distro (PCLinuxOS) offers me Calibre 4.9.1.
So ran /usr/bin/calibre-uninstall as root, than installed 4.9.1 from my distro.
And that worked; it is a kludge since I dont have the latest version, but at least I can access my books !
The kludge is no longer needed, just update your Mesa package and rune the latest Calibre.
rolgiati is offline   Reply With Quote
Old 03-06-2020, 09:00 AM   #32
texstar
Junior Member
texstar began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2020
Device: none
Calibre 4.12.0/Mesa 20.0.1

Still just as broken as before. Keeping 4.9.1 as it still works.

Calibre is the only program doing this too.

malloc(): corrupted top size
Aborted
texstar is offline   Reply With Quote
Advert
Old 04-25-2020, 06:09 AM   #33
pinoc
Junior Member
pinoc began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2016
Device: ipad
Dear Kovid,

any Calibre version newer than 4.9.1 and including the latest 4.14.0 Linux 64bit binary still does not work here (PCLinuxOS and mesa 20.0.5). I noticed that I get different error messages when running calibre from the user account:
malloc(): invalid size (unsorted)
Aborted

while I get this error when running calibre from the root-account:
double free or corruption (out)
Aborted

The error may indicate that something is deleted which was already deleted before or something that wasn't allocated. Again, 4.9.1 still works fine so something in the more recent Calibre version must have changed with maybe pointer allocations? Any idea how to fix this issue?
pinoc is offline   Reply With Quote
Old 04-25-2020, 07:46 AM   #34
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,607
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre is mostly python, there are no pointers. What has changed is an updated version of Qt, which is incompatible with something on your system. Sadly there is no way to really know what that might be. You can try to get a backtrace to see where the crash occurs, google how to get a backtrace for your sitro.
kovidgoyal is online now   Reply With Quote
Old 04-25-2020, 09:56 AM   #35
rolgiati
Groupie
rolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the end
 
Posts: 168
Karma: 31650
Join Date: May 2011
Location: Asuncion (Paraguay)
Device: In the house, 3 K3 in use, 4 more in storage, and a K5 for testing
Quote:
Originally Posted by kovidgoyal View Post
You can try to get a backtrace to see where the crash occurs, google how to get a backtrace for your sitro.
I have today installed the latest version, it still crashes with
ron@localhost:~ $ calibre
malloc(): invalid size (unsorted)
Aborted

I attach the gdb backtrace.
Attached Files
File Type: txt backtrace.txt (9.5 KB, 182 views)
rolgiati is offline   Reply With Quote
Advert
Old 04-25-2020, 10:42 AM   #36
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,607
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by kovidgoyal View Post
In the sense, that the problematic malloc is still happening inside libGL, from the driver, which is in turn called by the Qt code to initialize the frame buffer context.
@rolgiati: still the same backtrace
kovidgoyal is online now   Reply With Quote
Old 04-25-2020, 11:22 AM   #37
pinoc
Junior Member
pinoc began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2016
Device: ipad
Dear Kovid,

you say "the problematic malloc is still happening inside libGL, from the driver, which is in turn called by the Qt code to initialize the frame buffer context."
Maybe so, but can you explain why on the very same system (same libGL and QT), starting Calibre 4.9.1 works just fine while starting Calibre version 4.10 and later will result in the crash described? My only explanation is that something within Calibre has changed since 4.10.0 causing this crash, or?

Reading your answer again, you mean you have an updated QT version in 4.10 + compared to 4.9.1, and this may cause the crash, correct?

Last edited by pinoc; 04-25-2020 at 11:25 AM. Reason: amending answer
pinoc is offline   Reply With Quote
Old 04-25-2020, 11:37 AM   #38
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,607
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by pinoc View Post

Reading your answer again, you mean you have an updated QT version in 4.10 + compared to 4.9.1, and this may cause the crash, correct?
yes .
kovidgoyal is online now   Reply With Quote
Old 05-28-2020, 07:22 AM   #39
rolgiati
Groupie
rolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the end
 
Posts: 168
Karma: 31650
Join Date: May 2011
Location: Asuncion (Paraguay)
Device: In the house, 3 K3 in use, 4 more in storage, and a K5 for testing
After a change of mother board and graphic card, but still same OS I installed the latest version to see if the hardware upgrade had improved the situation.
It did not ;-3(
So I reinstalled the 4.9.1 version, running as root
Code:
calibre-uninstall && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin version=4.9.0
Alas, when I tried to launch calibre again, I got the dreaded message:
Code:
 $ calibre
malloc(): invalid size (unsorted)
Aborted
I notice in the install output a line:
Code:
Using previously downloaded calibre-4.17.0-x86_64.txz
Would that be the problem ? Should that not refer to calibre-4.9.1 ?

Interestingly, locate locate calibre-4.17.0 does not find anything...

Last edited by rolgiati; 05-28-2020 at 07:55 AM. Reason: Sent by mistake
rolgiati is offline   Reply With Quote
Old 05-28-2020, 07:52 AM   #40
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,607
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Try deleting /tmp/calibre-4.17.0-x86_64.txz
kovidgoyal is online now   Reply With Quote
Old 05-28-2020, 09:47 AM   #41
rolgiati
Groupie
rolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the end
 
Posts: 168
Karma: 31650
Join Date: May 2011
Location: Asuncion (Paraguay)
Device: In the house, 3 K3 in use, 4 more in storage, and a K5 for testing
Thank you for your quick reply, and the the advice; I went to /tmp/calibre-installer-cache as root, and deleted both calibre-4.17.0-x86_64.txz and calibre-4.17.0-x86_64.txz.signature.

Then launched the install:
Code:
# calibre-uninstall && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin version=4.9.0

Using python executable: /usr/bin/python3
2020-05-28 09:28:21 URL:https://download.calibre-ebook.com/linux-installer.sh [31887/31887] -> "-" [1]
Installing to /opt/calibre
Downloading tarball signature securely...
Will download and install calibre-4.17.0-x86_64.txz 
Downloading calibre-4.17.0-x86_64.txz                                                
100% [==========================================================================================================================]
                                                                                                                                    Downloaded 102399576 bytes 
<SNIP>
Seems that in spite of being asked to use 4.9.0 it uses 4.17.0

Get the same result trying with 4.9.1
rolgiati is offline   Reply With Quote
Old 05-28-2020, 11:44 AM   #42
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,607
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Works for me:

Code:
wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin version=4.9.0                               *

Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
2020-05-28 21:12:39 URL:https://download.calibre-ebook.com/linux-installer.sh [31887/31887] -> "-" [1]
Using python executable: /usr/bin/python3
Installing to /opt/calibre
Downloading tarball signature securely...
Will download and install calibre-4.9.0-x86_64.txz
kovidgoyal is online now   Reply With Quote
Old 05-28-2020, 12:18 PM   #43
rolgiati
Groupie
rolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the end
 
Posts: 168
Karma: 31650
Join Date: May 2011
Location: Asuncion (Paraguay)
Device: In the house, 3 K3 in use, 4 more in storage, and a K5 for testing
Solved, sort of:

Your reply gave me an idea.

So as root, I first ran
# calibre-uninstall

Then when the uninstall had finished, still as root I ran
# wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sh /dev/stdin version=4.9.1

and this did download and install the right 4.9.1 version.

Now, why this did work I leave to your sagacity ;-3)
rolgiati is offline   Reply With Quote
Old 05-28-2020, 12:40 PM   #44
rolgiati
Groupie
rolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the end
 
Posts: 168
Karma: 31650
Join Date: May 2011
Location: Asuncion (Paraguay)
Device: In the house, 3 K3 in use, 4 more in storage, and a K5 for testing
Next time I have to do this i'll try to add a sleep 120 && berween the uninstall and the wget, and let you know.
rolgiati is offline   Reply With Quote
Old 06-19-2020, 07:00 PM   #45
rolgiati
Groupie
rolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the end
 
Posts: 168
Karma: 31650
Join Date: May 2011
Location: Asuncion (Paraguay)
Device: In the house, 3 K3 in use, 4 more in storage, and a K5 for testing
My distro (PCLinuxOS) has now updated mesa to the 20.1.1-1 version, and calibre 4.19.0 runs without problem.
rolgiati is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
{tags} - just unsorted Irian Library Management 4 11-24-2016 03:39 PM
iBooks messing up my unsorted lists dasboeh ePub 3 09-15-2011 04:36 AM
Full size photo size v. Screensaver size? FF2 Amazon Kindle 5 12-19-2010 11:02 PM
iLiad ipdf compile error (malloc) harpum iRex Developer's Corner 1 06-22-2009 11:10 PM


All times are GMT -4. The time now is 07:41 AM.


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