|
|
#31 | |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
|
|
|
|
|
|
|
#32 |
|
Junior Member
![]() 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 |
|
|
|
| Advert | |
|
|
|
|
#33 |
|
Junior Member
![]() 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? |
|
|
|
|
|
#34 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
|
|
|
|
|
#35 | |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
ron@localhost:~ $ calibre malloc(): invalid size (unsorted) Aborted I attach the gdb backtrace. |
|
|
|
|
| Advert | |
|
|
|
|
#36 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,607
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
|
|
|
|
#37 |
|
Junior Member
![]() 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 |
|
|
|
|
|
#38 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,607
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
|
|
|
|
#39 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 Code:
$ calibre malloc(): invalid size (unsorted) Aborted Code:
Using previously downloaded calibre-4.17.0-x86_64.txz 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 |
|
|
|
|
|
#40 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,607
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Try deleting /tmp/calibre-4.17.0-x86_64.txz
|
|
|
|
|
|
#41 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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>
Get the same result trying with 4.9.1 |
|
|
|
|
|
#42 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
|
|
|
|
|
#43 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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) |
|
|
|
|
|
#44 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
|
|
|
|
|
#45 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
|
|
|
![]() |
|
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 |