gnokii assert failure: *** stack smashing detected ***: gnokii terminated

Bug #762191 reported by Michael Wilkinson on 2011-04-15
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnokii (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: gnokii

Writing phone book to Motorola Z3 phone from vcf file.
vcf file had been created by reading phone book from Motorola C385 phone

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: gnokii-cli 0.6.29.dfsg-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
AssertionMessage: *** stack smashing detected ***: gnokii terminated
CrashCounter: 1
Date: Fri Apr 15 22:01:51 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/gnokii
InstallationMedia: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Release i386 (20091028.4)
ProcCmdline: gnokii --writephonebook -o --vcard
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_GB.UTF-8
 LANGUAGE=en_GB:en
Signal: 6
SourcePackage: gnokii
StacktraceTop:
 __kernel_vsyscall ()
 raise () from /lib/i386-linux-gnu/libc.so.6
 abort () from /lib/i386-linux-gnu/libc.so.6
 ?? () from /lib/i386-linux-gnu/libc.so.6
 __fortify_fail () from /lib/i386-linux-gnu/libc.so.6
Title: gnokii assert failure: *** stack smashing detected ***: gnokii terminated
UpgradeStatus: Upgraded to natty on 2011-04-13 (2 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare video

visibility: private → public

StacktraceTop:
 __kernel_vsyscall ()
 raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 abort () at abort.c:92
 __libc_message (do_abort=2, fmt=0x2489aa "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
 __fortify_fail (msg=0x248992 "stack smashing detected") at fortify_fail.c:32

Changed in gnokii (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Pawel Kot (gnokii) wrote :

Can you please provide vcard file in question?

  • xx01 Edit (177 bytes, text/directory; name="xx01"; charset="UTF-8")

On Sat, 2011-04-16 at 15:32 +0000, Pawel Kot wrote:
> Can you please provide vcard file in question?
>

Pawel Kot (gnokii) wrote :

I cannot reproduce with the upstream version. Can you please try a version from https://launchpad.net/~gnokii/+archive/ppa

Download full text (11.6 KiB)

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<cr>]
read : [ATZ<cr><cr><lf>OK<cr><lf>]
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<cr>]
read : [ATE1<cr><cr><lf>OK<cr><lf>]
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<cr>]
read : [AT+CMEE=1<cr><cr><lf>OK<cr><lf>]
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<cr>]
read : [AT+GMM<cr><cr><lf>+GMM:
"GSM900","GSM1800","GSM1900","GSM850","MODEL=Z3"<cr><lf><cr><lf>OK<cr><lf>]
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<cr>]
read : [AT+CGMI<cr><cr><lf>+CGMI: "Motorola CE, Copyright
2000"<cr><lf><cr><lf>OK<cr><lf>]
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...

dino99 (9d9) wrote :

This version has expired long ago; no more supported

Changed in gnokii (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers