| 
			
			 | 
		#1 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 7 
				Karma: 10 
				Join Date: Oct 2009 
				
				
				
				Device: Sony PRS-505 
				
				
				 | 
	
	
	
		
		
			
			 
			
			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 11:57 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 7 
				Karma: 10 
				Join Date: Oct 2009 
				
				
				
				Device: Sony PRS-505 
				
				
				 | 
	
	
	
		
		
			
			 
			
			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 | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				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.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The bundled python was upgraded. You have a 32bit or a 64bit machine?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#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
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				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
		 
		
	
		
		
			 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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 10:56 AM | 
| problem trying to upload from calibre | PeteS | Calibre | 2 | 08-29-2010 12:53 PM | 
| calibre can't upload books to device | Tricky | Calibre | 4 | 08-13-2010 08:37 AM | 
| Why do you upload books? Why don't you? | mtravellerh | Lounge | 25 | 01-26-2009 06:43 AM | 
| cannot upload books with Calibre (Mac) | Lanyon | Calibre | 2 | 12-26-2008 08:19 PM |