Bug#444046: libgammu2: segfault on startup

2007-09-26 Thread Samuel Mimram
Hi,

Michal Čihař wrote:
 On Tue, 25 Sep 2007 19:05:44 +0100
 Samuel Mimram [EMAIL PROTECTED] wrote:
 
 Package: libgammu2
 Version: 1.13.0-1
 Severity: important

 Hi,

 Since wammu does not work for now, I tried gammu... which segfaults on
 startup even when no phone is connected:

 % gdb --args gammu identify
 
 Can you please enable debugging and run it as gammu textall identify and
 send me output?

Here it is:

% gammu textall identify
[Gammu- 1.13.0 built 15:39:27 Aug 20 2007 using gcc 4.1]
[Connection   - (null)]
[Connection index - 0]
[Model type   - ]
[Device   - (null)]
[Runing on- Linux, kernel 2.6.21-2-686 (#1 SMP Wed Jul 11
03:53:02 UTC 2007)]
zsh: segmentation fault  gammu textall identify

Cheers,

Samuel.




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



Bug#444046: libgammu2: segfault on startup

2007-09-26 Thread Samuel Mimram
Hi,

Michal Čihař wrote:
 On Tue, 25 Sep 2007 19:05:44 +0100
 Samuel Mimram [EMAIL PROTECTED] wrote:
 
 Here is the contents of my .gamurc file:
 
 I found the issue. Gammu wrongly parses your config file.
 
 [ gammu ]
 
 Deleting spaces around gammu should fix the crash. I just commited fix
 to upstream, so it will not crash in further releases.

You seem to be right, it does not crash anymore if I remove the spaces.
Thanks for your help!

Cheers,

Samuel.



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



Bug#444046: libgammu2: segfault on startup

2007-09-25 Thread Samuel Mimram
Package: libgammu2
Version: 1.13.0-1
Severity: important

Hi,

Since wammu does not work for now, I tried gammu... which segfaults on
startup even when no phone is connected:

% gdb --args gammu identify
[...]
(gdb) r
Starting program: /usr/bin/gammu identify
[Thread debugging using libthread_db enabled]
[New Thread 0xb786f6b0 (LWP 9245)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb786f6b0 (LWP 9245)]
0xb7bb6a63 in strcasecmp () from /lib/i686/cmov/libc.so.6
(gdb) where
#0  0xb7bb6a63 in strcasecmp () from /lib/i686/cmov/libc.so.6
#1  0xb7edb191 in GSM_InitConnection (s=0xb7573008, ReplyNum=3)
at /home/mic/private/svn/debian/build-area/gammu-1.13.0/common/gsmstate.c:96
#2  0x08062e33 in GSM_Init (checkerror=1)
at /home/mic/private/svn/debian/build-area/gammu-1.13.0/gammu/common.c:236
#3  0x0808049b in Identify (argc=2, argv=0xbfe5bfe4)
at /home/mic/private/svn/debian/build-area/gammu-1.13.0/gammu/misc.c:105
#4  0x08083776 in ProcessParameters (start=0 '\0', argc=2, argv=0xbfe5bfe4)
at /home/mic/private/svn/debian/build-area/gammu-1.13.0/gammu/gammu.c:927
#5  0x08084add in main (argc=2, argv=0xbfe5bfe4)
at /home/mic/private/svn/debian/build-area/gammu-1.13.0/gammu/gammu.c:1165

Here is the contents of my .gamurc file:

[ gammu ]
port = /dev/ttyACM0
connection = at19200
model = at

Feel free to ask me if you need some more information.

Thanks!

Cheers,

Samuel.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libgammu2 depends on:
ii  libbluetooth2 3.11-1 Library to use the BlueZ Linux Blu
ii  libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii  libgammu-common   1.13.0-1   Mobile phone management library

libgammu2 recommends no packages.

-- no debconf information



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



Bug#444046: libgammu2: segfault on startup

2007-09-25 Thread Michal Čihař
Hi

On Tue, 25 Sep 2007 19:05:44 +0100
Samuel Mimram [EMAIL PROTECTED] wrote:

 Package: libgammu2
 Version: 1.13.0-1
 Severity: important
 
 Hi,
 
 Since wammu does not work for now, I tried gammu... which segfaults on
 startup even when no phone is connected:
 
 % gdb --args gammu identify

Can you please enable debugging and run it as gammu textall identify and
send me output?

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature


Bug#444046: libgammu2: segfault on startup

2007-09-25 Thread Michal Čihař
tags 444046 pending
thanks

On Tue, 25 Sep 2007 19:05:44 +0100
Samuel Mimram [EMAIL PROTECTED] wrote:

 Here is the contents of my .gamurc file:

I found the issue. Gammu wrongly parses your config file.

 [ gammu ]

Deleting spaces around gammu should fix the crash. I just commited fix
to upstream, so it will not crash in further releases.

 port = /dev/ttyACM0
 connection = at19200
 model = at

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature