| 
			
			 | 
		#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?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 117 
				Karma: 2097 
				Join Date: Feb 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			No ideas? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Can someone tell me, how to get a traceback?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				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.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				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  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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)  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				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.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | |
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
   problems6.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-13-2010 12:47 AM | 
| Segmentation fault trying to run Calibre on CentOS 5.5 | midders | Calibre | 1 | 07-26-2010 12:32 PM | 
| Unutterably Silly Whose fault is it? | Logseman | Lounge | 59 | 03-25-2010 01:10 AM | 
| Segmentation fault | weedfreak | Calibre | 10 | 10-01-2009 03:47 PM | 
| upgrade failed - but not python-lxml fault | alexxxm | Calibre | 7 | 10-06-2008 10:36 AM |