Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-12-2009, 10:52 AM   #1
reread
Junior Member
reread began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2009
Device: Sony PRS-505
Unhappy calibre 0.6.17 (linux) segfaults when trying to upload books

Just upgraded to calibre 0.6.17 on Linux (Mandriva 2009.1) using the binary installer method.

Now I can't upload a single book (Sony PRS-505), it immediately segfaults with:
/usr/bin/calibre: line 10: 11603 Segmentation fault $loader "$@"

I've had no problems uploading books with 0.6.16 (or other previous versions).

Any ideas? Is there an easy way to downgrade to 0.6.16 in the meanwhile?

Last edited by reread; 10-12-2009 at 10:57 AM.
reread is offline   Reply With Quote
Old 10-17-2009, 09:39 AM   #2
reread
Junior Member
reread began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2009
Device: Sony PRS-505
Unhappy calibre 0.6.18 still segfaults when uploading books

Just upgraded to 0.6.18.

Same error during installation as already mentioned:
Traceback (most recent call last):
File "/home/kovid/build/calibre/src/calibre/linux.py", line 176, in setup_completion
ImportError: cannot import name titles

But calibre still crashes whenever I try to upload a book:
$ calibre
link hasn't been detected!
link hasn't been detected!
/usr/bin/calibre: line 11: 10481 Segmentation fault $loader "$@"
Part of the uploaded file is actually on the reader, it seems to crash halfway through the uploading process.

Again, never had problems uploading with any version prior to 0.6.17.
reread is offline   Reply With Quote
Advert
Old 10-17-2009, 12:28 PM   #3
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: 43,819
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
the segfault is caused by some incompatible library you'll have to enable core dumps and get a backtrace to debug further.

The installation error can be ignored.
kovidgoyal is offline   Reply With Quote
Old 10-18-2009, 08:30 AM   #4
reread
Junior Member
reread began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2009
Device: Sony PRS-505
I created the core dump, it crashes in /lib/libuuid.so.1:

$gdb /opt/calibre/loader core.4907
GNU gdb 6.8-6mdv2009.1 (Mandriva Linux release 2009.1)
...
Reading symbols from /opt/calibre/libpython2.6.so.1.0...(no debugging symbols found)...done.
Loaded symbols for /opt/calibre/libpython2.6.so.1.0
...
Core was generated by `/opt/calibre/loader -v'.
Program terminated with signal 11, Segmentation fault.
[New process 4907]
[New process 4921]
[New process 4940]
[New process 4937]
[New process 4931]
[New process 4918]
[New process 4922]
[New process 4923]
#0 0xb57d51e6 in get_random_fd () at gen_uuid.c:153
153 jrand_seed[0] = getpid() ^ (tv.tv_sec & 0xFFFF);
gen_uuid.c is part of /lib/libuuid.so.1, which is part of libext2fs2

Any idea what changed in calibre between 0.6.16 and 0.6.17 that might cause this?
reread is offline   Reply With Quote
Old 10-18-2009, 01:43 PM   #5
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: 43,819
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The bundled python was upgraded. You have a 32bit or a 64bit machine?
kovidgoyal is offline   Reply With Quote
Advert
Old 10-18-2009, 04:41 PM   #6
reread
Junior Member
reread began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2009
Device: Sony PRS-505
32bit: 2.6.29.6-desktop-2mnb #1 SMP Sun Aug 16 23:23:47 EDT 2009 i686 Pentium(R) Dual-Core CPU E5200 @ 2.50GHz GNU/Linux
reread is offline   Reply With Quote
Old 10-18-2009, 04:44 PM   #7
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: 43,819
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
try dropping the attached copy of libuuid into /opt/calibre or whatever location you chose to install calibre
Attached Files
File Type: zip libuuid.zip (6.8 KB, 316 views)
kovidgoyal is offline   Reply With Quote
Old 10-18-2009, 06:02 PM   #8
reread
Junior Member
reread began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2009
Device: Sony PRS-505
Yep, that's it, now I can upload again! Thanks a lot!
reread is offline   Reply With Quote
Reply

Tags
segfault

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre won't upload epub file to PRS-505. Sarahb69 Calibre 2 09-12-2010 09:56 AM
problem trying to upload from calibre PeteS Calibre 2 08-29-2010 11:53 AM
calibre can't upload books to device Tricky Calibre 4 08-13-2010 07:37 AM
Why do you upload books? Why don't you? mtravellerh Lounge 25 01-26-2009 05:43 AM
cannot upload books with Calibre (Mac) Lanyon Calibre 2 12-26-2008 07:19 PM


All times are GMT -4. The time now is 01:51 AM.


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