|  10-26-2017, 06:05 AM | #1 | 
| Junior Member    Posts: 5 Karma: 294 Join Date: May 2012 Device: Kobo Touch | 
				
				(SOLVED) Kobo Touch crashing (segfault) when loading converted epub
			 
			
			Hi everyone, I am having an issue with my Kobo Touch and I have no idea how to fix it. I downloaded a epub file from gutenberg (Le Rouge et le Noir). If I transfer the epub file as-is on my device, I can read it, as expected. If I convert the epub with calibre (just to remove unnecessary styling, and normalize the font sizes), my device crashes: it dumps a stack log when trying to load the book, then reboots. I have attached the original epub, the converted epub and the stack log. Can you reproduce the issue on your device? What am I doing wrong? I am running calibre 3.10 and my device is running firmware version 4.5.9587. Regards Last edited by Artefact2; 10-26-2017 at 07:00 AM. | 
|   |   | 
|  10-26-2017, 06:43 AM | #2 | 
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 Join Date: Jul 2011 Location: Sydney, Australia Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos | 
			
			I'll have a look at the books in a little bit, but the stack dump says the book is a kepub. Are you sending the book to the device using the KoboTouchExtended driver? And did you delete the book from the device before resending it after the conversion? If you didn't, try that. The reason for the delete is that the conversion will change the internal structure of the book. When a book is added to the device, it is imported and the entries are put into the database for the ToC and internal file structure. Resending a book from calibre doesn't trigger this happening, so the database will have the file structure and ToC from the first version. The conversion will have restructured the book and rebuilt the ToC. The error looks like the device is trying to reopen the book to your last reading location and failing. That location no longer exists, and the crash happens. That's my theory until I have a chance to test. | 
|   |   | 
|  10-26-2017, 06:44 AM | #3 | 
| Wizard            Posts: 2,808 Karma: 7423683 Join Date: May 2016 Location: Ontario, Canada Device: Kobo Mini, Aura Edition 2 v1, Clara HD, Clara BW, Libra Colour |   
			
			Can you try with this file and see what happens? EDIT: I think davidfor is right, I assumed that the book was a converted kepub while reading the stack trace, and I have had a similar issue with converted kepubs on my kobo. If that does not work, you could still try the converted kepub below. Last edited by geek1011; 10-26-2017 at 07:02 AM. Reason: Explain purpose of new book file | 
|   |   | 
|  10-26-2017, 07:00 AM | #4 | |
| Junior Member    Posts: 5 Karma: 294 Join Date: May 2012 Device: Kobo Touch | Quote: 
 | |
|   |   | 
|  10-26-2017, 07:12 AM | #5 | 
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 Join Date: Jul 2011 Location: Sydney, Australia Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos | 
			
			And the theory holds up. Delete the book and send it again. | 
|   |   | 
|  10-30-2017, 11:35 AM | #6 | 
| Resident Curmudgeon            Posts: 80,746 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
			
			The other issue is to validate the ePub before converting it to kepub. That could be an issue as ACCESS may not be expecting errors. Validate with epubckeck 4.0.2. Gutenberg ePub are made by machine and some I've seen were not all that well made.
		 | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| epub covers not loading on a Kobo Touch | dank reader | Devices | 15 | 12-27-2017 08:22 AM | 
| Touch Loading Japanese Books onto Kobo Touch when in the UK | darrenbgray | Kobo Reader | 2 | 03-16-2014 03:35 AM | 
| Kobo Touch - Converted EPUBs - Missing text | smg669 | Devices | 3 | 01-21-2014 08:28 PM | 
| Touch Kobo Freezes with Epub to Epub Calibre Converted Books | CarlBullock | Kobo Reader | 0 | 03-08-2012 07:14 PM | 
| Classic Nook Crashes on Loading Tables in Converted EPUB | nulall | Barnes & Noble NOOK | 3 | 02-01-2011 07:58 AM |