Package: gammu
Version: 1.05.00-4
Severity: important

When you install gammu (apt-get install gammu) and run it, it segfaults 
because there is no configuration file found:

[EMAIL PROTECTED]:~$ gammu --identify
Warning: No configuration file found!
Segmentation fault
[EMAIL PROTECTED]:~$ strace gammu --identify 2>&1  | tail -n 10
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
_sysctl({{CTL_KERN, KERN_VERSION, 0, 20ca9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 2, 0xbfef21a0, 39, (nil), 0}) 
= 0
brk(0)                                  = 0x81aa000
brk(0x81cb000)                          = 0x81cb000
open("/home/edb/.gammurc", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/gammurc", O_RDONLY)          = -1 ENOENT (No such file or directory)
fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7fdb000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Or in gdb:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1212815680 (LWP 4730)]
0xb7e89cf3 in GSM_SetDebugFile () from /usr/lib/libGammu.so.0
(gdb) bt
#0  0xb7e89cf3 in GSM_SetDebugFile () from /usr/lib/libGammu.so.0
#1  0x0807863f in SearchPhoneThread ()
#2  0xb7b73eb0 in __libc_start_main () from /lib/tls/libc.so.6
#3  0x0804b941 in ?? ()


This is easily solved by putting a default configuration file in the package 

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gammu depends on:
ii  libbluetooth1                 2.25-1     Library to use the BlueZ Linux Blu
ii  libc6                         2.3.6-5    GNU C Library: Shared libraries an
ii  libgammu0                     1.05.00-4  Mobile phone management library
ii  libmysqlclient15off           5.0.19-3   mysql database client library
ii  zlib1g                        1:1.2.3-11 compression library - runtime

gammu recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to