xgnokii segmentation fault on startup

Bug #604936 reported by Konstantin Pelepelin on 2010-07-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnokii (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: gnokii

$ xgnokii
LOG: debug mask is 0x1
LOG: xdebug mask is 0x1
Config read from file /home/cat/.gnokiirc.

(xgnokii:2174): Gtk-WARNING **: horizontal scrolling not implemented

(xgnokii:2174): Gtk-WARNING **: horizontal scrolling not implemented
Initializing connection...
fbusinit: error 0
Lockfile /var/lock/LCK..00:17:B0:63:98:94 is stale. Overriding it...
phone instance config:
model = 6021
port = 00:17:B0:63:98:94
connection = bluetooth
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Connecting
Forcing rfcomm_channel = 14 for FBUS connection
Serial device: opening device 00:17:B0:63:98:94
Channel: 14
Channel: 14
Using channel: 14
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Message received: 0x1b / 0x0032
01 39 00 08 00 01 58 2c 00 26 56 20 30 34 2e 39 | 9 X, &V 04.9
30 0a 30 39 2d 30 35 2d 30 36 0a 52 4d 2d 39 34 | 0 09-05-06 RM-94
0a 28 63 29 20 4e 6f 6b 69 61 2e 20 20 0a 4b 00 | (c) Nokia. K
00 00 |
Received message type 1b
model length: 5
Received model RM-94
Found model "RM-94"
Identifying...
Message sent: 0x1b / 0x0005
00 01 00 00 41 | A
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Message received: 0x1b / 0x001a
01 39 00 01 00 01 41 14 00 10 33 35 39 37 35 31 | 9 A 359751
30 30 35 32 39 32 34 38 32 00 | 005292482
Received message type 1b
Received imei 359751005292482
Message received: 0x1b / 0x0032
01 39 00 08 00 01 58 2c 00 26 56 20 30 34 2e 39 | 9 X, &V 04.9
30 0a 30 39 2d 30 35 2d 30 36 0a 52 4d 2d 39 34 | 0 09-05-06 RM-94
0a 28 63 29 20 4e 6f 6b 69 61 2e 20 20 0a 4b 00 | (c) Nokia. K
00 00 |
Received message type 1b
Received revision V 04.90
model length: 5
Received model RM-94
Found model "RM-94"
Found model "RM-94"
Model: 6021
Product: RM-94
IMEI: 359751005292482
Revision: V 04.90
Detected phone known to be broken using xgnokii
Segmentation fault

$ lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04
$ apt-cache policy xgnokii
xgnokii:
  Installed: 0.6.28.dfsg-1
  Candidate: 0.6.28.dfsg-1
  Version table:
 *** 0.6.28.dfsg-1 0
        500 http://ru.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status
$ egrep -v '^[[:space:]]*(#.*)?$' .gnokiirc
[global]
port = 00:17:B0:63:98:94 # N6021
model = 6021
initlength = default
connection = bluetooth
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10
[xgnokii]
allow_breakage = 0
[gnokiid]
bindir = /usr/local/sbin/
[connect_script]
[disconnect_script]
[logging]
debug = on
rlpdebug = off
xdebug = on
[phone_fake]
port = foobar
model = fake
connection = serial

It doesn't crash when I set
[xgnokii]
allow_breakage = 1

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xgnokii 0.6.28.dfsg-1
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic i686
Architecture: i386
Date: Tue Jul 13 12:42:48 2010
EcryptfsInUse: Yes
InstallationMedia: Xubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
ProcEnviron:
 LANGUAGE=ru:en_US:en
 LANG=ru_RU.utf8
 SHELL=/bin/bash
SourcePackage: gnokii

Konstantin Pelepelin (cat-dtf) wrote :
dforsi (daniele-forsi) wrote :

The segfault seems to be caused by the attempt to show the error message in a dialog window from the thread that handles libgnokii calls.
Problem is that currently there is no way for the thread to show an error message in the GUI.

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

Other bug subscribers