You are not logged in.

#1 2015-07-12 09:01:10

chsims1
Member
From: Holderness, UK
Registered: 2008-11-25
Posts: 90

[Solved] Calibre crashes on connection of Kindle

Hi,

something has changed recently to cause Calibre to crash on connection of my Kindle by USB.  If I run Calibre in debug mode  then the relevant output is:

 calibre-debug -g
calibre 2.31  isfrozen: False is64bit: True
Linux-4.0.7-2-ARCH-x86_64-with-glibc2.2.5 Linux ('64bit', '')
('Linux', '4.0.7-2-ARCH', '#1 SMP PREEMPT Tue Jun 30 07:50:21 UTC 2015')
Python 2.7.10
Linux: ('', '', '')
Starting up...
Started up in 1.42 seconds with 489 books

Found device nodes: /dev/sdd1 None None
Segmentation fault (core dumped)

The Kindle is mounted fine by the system, and I can manually mount sdd1, but I don't understand the device node "None None" bit ... presumably what is causing the crash.

Any ideas welcome, cheers.

I thought a bit more info might be wanted ...

dmesg |tail
[ 9465.014056] usb 2-1.7.3: new high-speed USB device number 23 using ehci-pci
[ 9465.115280] usb-storage 2-1.7.3:1.0: USB Mass Storage device detected
[ 9465.115360] scsi host9: usb-storage 2-1.7.3:1.0
[ 9466.120309] scsi 9:0:0:0: Direct-Access     Kindle   Internal Storage 0100 PQ: 0 ANSI: 2
[ 9466.126302] sd 9:0:0:0: [sdd] 6328768 512-byte logical blocks: (3.24 GB/3.01 GiB)
[ 9466.233388] sd 9:0:0:0: [sdd] Write Protect is off
[ 9466.233391] sd 9:0:0:0: [sdd] Mode Sense: 0f 00 00 00
[ 9466.343482] sd 9:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 9466.564669]  sdd: sdd1
[ 9467.894805] sd 9:0:0:0: [sdd] Attached SCSI removable disk
 fdisk -l /dev/sdd1
Disk /dev/sdd1: 3 GiB, 3240321024 bytes, 6328752 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk 
|-sda1   8:1    0   600M  0 part /boot/efi
|-sda2   8:2    0 117.1G  0 part 
|-sda3   8:3    0 117.2G  0 part /
|-sda4   8:4    0 229.8G  0 part /home
`-sda5   8:5    0     1G  0 part [SWAP]
sdb      8:16   0 596.2G  0 disk 
|-sdb1   8:17   0 298.1G  0 part /mnt/slug
`-sdb2   8:18   0 298.1G  0 part 
sdc      8:32   0 114.5G  0 disk 
|-sdc1   8:33   0     1K  0 part 
`-sdc5   8:37   0 114.5G  0 part 
sdd      8:48   1     3G  0 disk 
`-sdd1   8:49   1     3G  0 part 
sr0     11:0    1  1024M  0 rom  

Last edited by chsims1 (2015-07-13 11:25:14)

Offline

#2 2015-07-12 15:50:29

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [Solved] Calibre crashes on connection of Kindle

Pretty sure the "None None" isn't relevant. I see that, too, but get no crash.

What kindle? Have you tried getting a backtrace from the coredump?

Last edited by Scimmia (2015-07-12 15:50:42)

Offline

#3 2015-07-12 17:35:43

chouimat
Member
Registered: 2015-07-12
Posts: 1

Re: [Solved] Calibre crashes on connection of Kindle

Not sure if it's related but calibre crashes when I try to access it via the web interface.

Offline

#4 2015-07-12 17:38:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [Solved] Calibre crashes on connection of Kindle

That's an entirely different issue.

Offline

#5 2015-07-13 06:31:24

chsims1
Member
From: Holderness, UK
Registered: 2008-11-25
Posts: 90

Re: [Solved] Calibre crashes on connection of Kindle

Kindle 3.

Don't have a clue what I'm doing here with coredumps, but shouldn't I be able to find the dump with 'coredumpctl list calibre'?  It simply returns "no coredumps found"

Offline

#6 2015-07-13 11:24:13

chsims1
Member
From: Holderness, UK
Registered: 2008-11-25
Posts: 90

Re: [Solved] Calibre crashes on connection of Kindle

Solution found, but rather strange.  I noticed in the journal that the core was dumped directly after a complaint about an AMD catalyst library (I forget the name ... something like libamdl64.so).  I fairly recently swapped my graphics card from AMD to Nvidia and I thought that I had removed all the Catalyst stuff, but I had left a couple of packages somehow.  Removal of these sorted the problem.  Thanks for the replies, and marked as solved.

Offline

Board footer

Powered by FluxBB