Hello Pawel, I suspect crash relates to comms with my Motorola phone rather than the reading of the vcard. I will try to investigate further tomorrow. Tried to add your ppa, but had some problems as I am running Ubuntu natty, not maverick. I have added the output of running gnokii with debug enabled below. Sorry it is a different number than I used earlier, but I have now added the other entry to the phone manually. I had been trying to transfer my phonebook from my old phone to my new phone. gnokii has been very useful in extracting the contents of the old phone, and confirming the contents of the new phone, but I have been forced to add entries to the new phone manually, Michael michael@aspire1wilk:~/Documents/Contacts/t$ gnokii --writephonebook --vcard < missing_phonebook.vcf GNOKII Version 0.6.29 LOG: debug mask is 0x1 Config read from file /home/michael/.config/gnokii/config. phone instance config: model = AT port = /dev/ttyACM0 connection = serial initlength = default serial_baudrate = 19200 serial_write_usleep = -1 handshake = software require_dcd = 0 smsc_timeout = 10 rfcomm_channel = 0 sm_retry = 0 Initializing AT capable mobile phone ... Serial device: opening device /dev/ttyACM0 Serial device: setting RTS to high and DTR to high Message sent: 0x00 / 0x0004 41 54 5a 0d | ATZ write: [ATZ] read : [ATZOK] Message received: 0x00 / 0x000a 02 41 54 5a 0d 0d 0a 4f 4b 0d | ATZ OK Received message type 00 Message sent: 0x00 / 0x0005 41 54 45 31 0d | ATE1 write: [ATE1] read : [ATE1OK] Message received: 0x00 / 0x000b 02 41 54 45 31 0d 0d 0a 4f 4b 0d | ATE1 OK Received message type 00 Message sent: 0x00 / 0x000a 41 54 2b 43 4d 45 45 3d 31 0d | AT+CMEE=1 write: [AT+CMEE=1] read : [AT+CMEE=1OK] Message received: 0x00 / 0x0010 02 41 54 2b 43 4d 45 45 3d 31 0d 0d 0a 4f 4b 0d | AT+CMEE=1 OK Received message type 00 Message sent: 0x06 / 0x0007 41 54 2b 47 4d 4d 0d | AT+GMM write: [AT+GMM] read : [AT+GMM+GMM: "GSM900","GSM1800","GSM1900","GSM850","MODEL=Z3"OK] Message received: 0x06 / 0x0047 02 41 54 2b 47 4d 4d 0d 0d 0a 2b 47 4d 4d 3a 20 | AT+GMM +GMM: 22 47 53 4d 39 30 30 22 2c 22 47 53 4d 31 38 30 | "GSM900","GSM180 30 22 2c 22 47 53 4d 31 39 30 30 22 2c 22 47 53 | 0","GSM1900","GS 4d 38 35 30 22 2c 22 4d 4f 44 45 4c 3d 5a 33 22 | M850","MODEL=Z3" 0d 0a 0d 0a 4f 4b 0d | OK Received message type 06 Message sent: 0x06 / 0x0008 41 54 2b 43 47 4d 49 0d | AT+CGMI write: [AT+CGMI] read : [AT+CGMI+CGMI: "Motorola CE, Copyright 2000"OK] Message received: 0x06 / 0x0036 02 41 54 2b 43 47 4d 49 0d 0d 0a 2b 43 47 4d 49 | AT+CGMI +CGMI 3a 20 22 4d 6f 74 6f 72 6f 6c 61 20 43 45 2c 20 | : "Motorola CE, 43 6f 70 79 72 69 67 68 74 20 32 30 30 30 22 0d | Copyright 2000" 0a 0d 0a 4f 4b 0d | OK Received message type 06 Message sent: 0x63 / 0x0009 41 54 2b 43 53 43 53 3f 0d | AT+CSCS? write: [AT+CSCS?] read : [AT+CSCS?+CSCS: "UCS2"OK] Message received: 0x63 / 0x0020 02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 | AT+CSCS? +CSC 53 3a 20 22 55 43 53 32 22 0d 0a 0d 0a 4f 4b 0d | S: "UCS2" OK Received message type 63 Initialisation completed strings[0] = BEGIN:VCARD strings[1] = VERSION:3.0 strings[2] = FN:C&D Autos Ho strings[3] = N:C&D Autos Ho strings[4] = TEL;TYPE=PREF,VOICE:07768472459 strings[5] = X-GSM-MEMORY:ME strings[6] = X-GSM-LOCATION:44 strings[7] = X-GSM-CALLERGROUP:5 strings[8] = CATEGORIES:None strings[9] = END:VCARD Message sent: 0x00 / 0x000d 41 54 2b 43 50 42 53 3d 22 4d 45 22 0d | AT+CPBS="ME" write: [AT+CPBS="ME"] read : [AT+CPBS="ME"OK] Message received: 0x00 / 0x0013 02 41 54 2b 43 50 42 53 3d 22 4d 45 22 0d 0d 0a | AT+CPBS="ME" 4f 4b 0d | OK Received message type 00 Message sent: 0x67 / 0x000a 41 54 2b 43 50 42 52 3d 3f 0d | AT+CPBR=? write: [AT+CPBR=?] read : [AT+CPBR=?+CPBR: (201-1400),40,24OK] Message received: 0x67 / 0x002b 02 41 54 2b 43 50 42 52 3d 3f 0d 0d 0a 2b 43 50 | AT+CPBR=? +CP 42 52 3a 20 28 32 30 31 2d 31 34 30 30 29 2c 34 | BR: (201-1400),4 30 2c 32 34 0d 0a 0d 0a 4f 4b 0d | 0,24 OK Received message type 67 Adding key CPBRME to map (nil). New map (nil). Getting key CPBRME from map 0x9627100. Memory offset: 200 Memory size: 1200 Message sent: 0x0d / 0x000c 41 54 2b 43 50 42 52 3d 32 34 34 0d | AT+CPBR=244 write: [AT+CPBR=244] read : [AT+CPBR=244OK] Message received: 0x0d / 0x0012 02 41 54 2b 43 50 42 52 3d 32 34 34 0d 0d 0a 4f | AT+CPBR=244 O 4b 0d | K Received message type 0d *** stack smashing detected ***: gnokii terminated ======= Backtrace: ========= /lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x50)[0xdafdf0] /lib/i386-linux-gnu/libc.so.6(+0xe5d9a)[0xdafd9a] /usr/lib/libgnokii.so.6(+0x6fe84)[0x17fe84] /usr/lib/libgnokii.so.6(+0x29404)[0x139404] [0x6f] ======= Memory map: ======== 00110000-00198000 r-xp 00000000 08:06 4859 /usr/lib/libgnokii.so.6.0.0 00198000-0019b000 r--p 00088000 08:06 4859 /usr/lib/libgnokii.so.6.0.0 0019b000-0019d000 rw-p 0008b000 08:06 4859 /usr/lib/libgnokii.so.6.0.0 0019d000-001e2000 rw-p 00000000 00:00 0 001e2000-001e4000 r-xp 00000000 08:06 786729 /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0.2800.5 001e4000-001e5000 r--p 00002000 08:06 786729 /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0.2800.5 001e5000-001e6000 rw-p 00003000 08:06 786729 /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0.2800.5 001e6000-001ed000 r-xp 00000000 08:06 790357 /lib/i386-linux-gnu/librt-2.13.so 001ed000-001ee000 r--p 00006000 08:06 790357 /lib/i386-linux-gnu/librt-2.13.so 001ee000-001ef000 rw-p 00007000 08:06 790357 /lib/i386-linux-gnu/librt-2.13.so 001ef000-001f1000 r-xp 00000000 08:06 790408 /lib/i386-linux-gnu/libdl-2.13.so 001f1000-001f2000 r--p 00001000 08:06 790408 /lib/i386-linux-gnu/libdl-2.13.so 001f2000-001f3000 rw-p 00002000 08:06 790408 /lib/i386-linux-gnu/libdl-2.13.so 001f3000-00230000 r-xp 00000000 08:06 788423 /lib/i386-linux-gnu/libpcre.so.3.12.1 00230000-00231000 r--p 0003c000 08:06 788423 /lib/i386-linux-gnu/libpcre.so.3.12.1 00231000-00232000 rw-p 0003d000 08:06 788423 /lib/i386-linux-gnu/libpcre.so.3.12.1 00232000-0024c000 r-xp 00000000 08:06 786696 /lib/i386-linux-gnu/libgcc_s.so.1 0024c000-0024d000 r--p 00019000 08:06 786696 /lib/i386-linux-gnu/libgcc_s.so.1 0024d000-0024e000 rw-p 0001a000 08:06 786696 /lib/i386-linux-gnu/libgcc_s.so.1 0027c000-00284000 r-xp 00000000 08:06 1562 /lib/libpcsclite.so.1.0.0 00284000-00285000 r--p 00007000 08:06 1562 /lib/libpcsclite.so.1.0.0 00285000-00286000 rw-p 00008000 08:06 1562 /lib/libpcsclite.so.1.0.0 00286000-0035b000 r-xp 00000000 08:06 786735 /lib/i386-linux-gnu/libglib-2.0.so.0.2800.5 0035b000-0035c000 r--p 000d4000 08:06 786735 /lib/i386-linux-gnu/libglib-2.0.so.0.2800.5 0035c000-0035d000 rw-p 000d5000 08:06 786735 /lib/i386-linux-gnu/libglib-2.0.so.0.2800.5 003f2000-00420000 r-xp 00000000 08:06 1932 /lib/libreadline.so.6.2 00420000-00421000 r--p 0002e000 08:06 1932 /lib/libreadline.so.6.2 00421000-00424000 rw-p 0002f000 08:06 1932 /lib/libreadline.so.6.2 00424000-00425000 rw-p 00000000 00:00 0 00463000-00465000 r-xp 00000000 08:06 788519 /usr/lib/i386-linux-gnu/libXau.so.6.0.0 00465000-00466000 r--p 00001000 08:06 788519 /usr/lib/i386-linux-gnu/libXau.so.6.0.0 00466000-00467000 rw-p 00002000 08:06 788519 /usr/lib/i386-linux-gnu/libXau.so.6.0.0 0048d000-004c1000 r-xp 00000000 08:06 426 /lib/libncurses.so.5.7 004c1000-004c2000 ---p 00034000 08:06 426 /lib/libncurses.so.5.7 004c2000-004c4000 r--p 00034000 08:06 426 /lib/libncurses.so.5.7 004c4000-004c5000 rw-p 00036000 08:06 426 /lib/libncurses.so.5.7 004f7000-0060d000 r-xp 00000000 08:06 788393 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 0060d000-0060e000 ---p 00116000 08:06 788393 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 0060e000-0060f000 r--p 00116000 08:06 788393 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 0060f000-00611000 rw-p 00117000 08:06 788393 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 00611000-00612000 rw-p 00000000 00:00 0 00777000-007b9000 r-xp 00000000 08:06 3525 /usr/lib/libical.so.0.44.0 007b9000-007c1000 r--p 00042000 08:06 3525 /usr/lib/libical.so.0.44.0 007c1000-007c2000 rw-p 0004a000 08:06 3525 /usr/lib/libical.so.0.44.0 007db000-007ea000 r-xp 00000000 08:06 1104 /usr/lib/libXpm.so.4.11.0 007ea000-007eb000 r--p 0000e000 08:06 1104 /usr/lib/libXpm.so.4.11.0 007eb000-007ec000 rw-p 0000f000 08:06 1104 /usr/lib/libXpm.so.4.11.0 00831000-00846000 r-xp 00000000 08:06 790369 /lib/i386-linux-gnu/libpthread-2.13.so 00846000-00847000 r--p 00015000 08:06 790369 /lib/i386-linux-gnu/libpthread-2.13.so 00847000-00848000 rw-p 00016000 08:06 790369 /lib/i386-linux-gnu/libpthread-2.13.so 00848000-0084a000 rw-p 00000000 00:00 0 00883000-00897000 r-xp 00000000 08:06 3046 /usr/lib/libbluetooth.so.3.11.0 00897000-00898000 r--p 00013000 08:06 3046 /usr/lib/libbluetooth.so.3.11.0 00898000-00899000 rw-p 00014000 08:06 3046 /usr/lib/libbluetooth.so.3.11.0 008cc000-008cd000 r-xp 00000000 00:00 0 [vdso] 009f1000-009f5000 r-xp 00000000 08:06 788523 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 009f5000-009f6000 r--p 00003000 08:06 788523 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 009f6000-009f7000 rw-p 00004000 08:06 788523 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 00a04000-00a1b000 r-xp 00000000 08:06 788527 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 00a1b000-00a1c000 r--p 00016000 08:06 788527 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 00a1c000-00a1d000 rw-p 00017000 08:06 788527 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 00b64000-00b80000 r-xp 00000000 08:06 790412 /lib/i386-linux-gnu/ld-2.13.so 00b80000-00b81000 r--p 0001b000 08:06 790412 /lib/i386-linux-gnu/ld-2.13.so 00b81000-00b82000 rw-p 0001c000 08:06 790412 /lib/i386-linux-gnu/ld-2.13.so 00cca000-00e24000 r-xp 00000000 08:06 790355 /lib/i386-linux-gnu/libc-2.13.so 00e24000-00e25000 ---p 0015a000 08:06 790355 /lib/i386-linux-gnu/libc-2.13.so 00e25000-00e27000 r--p 0015a000 08:06 790355 /lib/i386-linux-gnu/libc-2.13.so 00e27000-00e28000 rw-p 0015c000 08:06 790355 /lib/i386-linux-gnu/libc-2.13.so 00e28000-00e2b000 rw-p 00000000 00:00 0 00f6a000-00f70000 r-xp 00000000 08:06 1538 /lib/libusb-0.1.so.4.4.4 00f70000-00f71000 r--p 00005000 08:06 1538 /lib/libusb-0.1.so.4.4.4 00f71000-00f72000 rw-p 00006000 08:06 1538 /lib/libusb-0.1.so.4.4.4 00f72000-00f73000 rw-p 00000000 00:00 0 08048000-08067000 r-xp 00000000 08:06 4861 /usr/bin/gnokii 08067000-08068000 r--p 0001e000 08:06 4861 /usr/bin/gnokii 08068000-08069000 rw-p 0001f000 08:06 4861 /usr/bin/gnokii 08069000-0806c000 rw-p 00000000 00:00 0 095ca000-0962d000 rw-p 00000000 00:00 0 [heap] b749e000-b74e2000 rw-p 00000000 00:00 0 Aborted (core dumped) On Sat, 2011-04-16 at 20:55 +0000, Pawel Kot wrote: > I cannot reproduce with the upstream version. Can you please try a > version from https://launchpad.net/~gnokii/+archive/ppa >