03-15-2010, 05:06 PM | #1 |
Zealot
Posts: 117
Karma: 2097
Join Date: Feb 2010
Device: none
|
Segmentation Fault after Qt upgrade
I'm running a Kubuntu 9.10 here using calibre 0.6.13 package.
After upgrading Qt (from 4.5.3really4.5.2-0ubuntu1 to 4.6.2-0ubuntu1~karmic1~ppa2) I get a Segmentation Fault when starting calibre: Code:
$ calibre link hasn't been detected! link hasn't been detected! Segmentation fault Any ideas how to fix this? |
03-20-2010, 04:16 AM | #2 |
Zealot
Posts: 117
Karma: 2097
Join Date: Feb 2010
Device: none
|
No ideas?
Can someone tell me, how to get a traceback? |
Advert | |
|
03-20-2010, 05:47 AM | #3 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
use the binary calibre install from the calibre website, it bundles its own Qt. I have nothing to do with the Ubuntu calibre port, so I can't really help with Ubuntu specific issues.
|
03-20-2010, 07:58 AM | #4 | |
Enthusiast
Posts: 31
Karma: 16610
Join Date: Dec 2009
Location: San Jose, CA, USA
Device: Kindle PW, Kobo Glo
|
Quote:
$ uname -a Linux XXXXXXX 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux Calibre segfaults in the same way when I plug in the Sony Reader (PRS-600). Whan I run Calibre on the command line with the Sony reader plugged in, even with -v option, only following is printed: $ ./calibre -v link hasn't been detected! link hasn't been detected! Segmentation fault (Note that after 'link' lines, Calibre's window appears, and it breafly tells that Sony reader is detected, but after 2 sec. the window disappears as Calibre segfaults.) When I run Calibre without Sony reader pluged in, it starts normally and does not crash. So I don't think this is related to QT update, it is more likely related to the Ubuntu Linux kernel update. I will try to reboot to previous kernel version and see what happens. |
|
03-20-2010, 12:01 PM | #5 |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I have the exact same Ubuntu version shown and 6.45 does NOT fault with my Astak PP
Getting a good 6.45 file was a nightmare. I finally got the bz2 from Sourceforge. Good luck |
Advert | |
|
03-21-2010, 04:08 PM | #6 |
Zealot
Posts: 117
Karma: 2097
Join Date: Feb 2010
Device: none
|
I did some debugging:
The segmentation fault occurs, when the function recount of the class TagsView is called. This Code:
self.scrollTo(ci, QTreeView.PositionAtTop) |
03-21-2010, 04:45 PM | #7 |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
What did you do to trigger the segfault?
I can try it here. |
03-21-2010, 04:57 PM | #8 |
Zealot
Posts: 117
Karma: 2097
Join Date: Feb 2010
Device: none
|
Just starting the program triggers the segfault.
I think it has something to do with the Qt-Version, because it occurs since I updated Qt. |
03-21-2010, 06:58 PM | #9 | |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
6.45 on Ubuntu 9.10 32 bit (Intel) Attached reader to USB Cable Started Calibre. It detects my reader (Astak PP ) and SD card perfectly QT is 4.5.3 really... |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Segmentation Fault when adding books to Calibre 0.7.13 | TuxGirl | Calibre | 10 | 08-12-2010 11:47 PM |
Segmentation fault trying to run Calibre on CentOS 5.5 | midders | Calibre | 1 | 07-26-2010 11:32 AM |
Unutterably Silly Whose fault is it? | Logseman | Lounge | 59 | 03-25-2010 12:10 AM |
Segmentation fault | weedfreak | Calibre | 10 | 10-01-2009 02:47 PM |
upgrade failed - but not python-lxml fault | alexxxm | Calibre | 7 | 10-06-2008 09:36 AM |