10-12-2009, 10:52 AM | #1 |
Junior Member
Posts: 7
Karma: 10
Join Date: Oct 2009
Device: Sony PRS-505
|
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. |
10-17-2009, 09:39 AM | #2 |
Junior Member
Posts: 7
Karma: 10
Join Date: Oct 2009
Device: Sony PRS-505
|
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): But calibre still crashes whenever I try to upload a book:File "/home/kovid/build/calibre/src/calibre/linux.py", line 176, in setup_completion ImportError: cannot import name titles $ calibre Part of the uploaded file is actually on the reader, it seems to crash halfway through the uploading process.link hasn't been detected! link hasn't been detected! /usr/bin/calibre: line 11: 10481 Segmentation fault $loader "$@" Again, never had problems uploading with any version prior to 0.6.17. |
Advert | |
|
10-17-2009, 12:28 PM | #3 |
creator of calibre
Posts: 44,350
Karma: 23661992
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. |
10-18-2009, 08:30 AM | #4 |
Junior Member
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); Any idea what changed in calibre between 0.6.16 and 0.6.17 that might cause this? |
10-18-2009, 01:43 PM | #5 |
creator of calibre
Posts: 44,350
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The bundled python was upgraded. You have a 32bit or a 64bit machine?
|
Advert | |
|
10-18-2009, 04:41 PM | #6 |
Junior Member
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
|
10-18-2009, 04:44 PM | #7 |
creator of calibre
Posts: 44,350
Karma: 23661992
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
|
10-18-2009, 06:02 PM | #8 |
Junior Member
Posts: 7
Karma: 10
Join Date: Oct 2009
Device: Sony PRS-505
|
Yep, that's it, now I can upload again! Thanks a lot!
|
Tags |
segfault |
|
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 |