Bug#489362: wammu: crashes on phone search

2008-07-09 Thread Michal Čihař
On Tue, 8 Jul 2008 20:34:39 +0200
Paolo [EMAIL PROTECTED] wrote:

 On Sun, Jul 06, 2008 at 11:37:53PM +0200, Michal ??iha?? wrote:
   [pid  2958] +++ killed by SIGIO +++
   PANIC: handle_group_exit: 2958 leader 2953
   Process 2958 detached
  
  This is actually a Gammu bug which was hidden until upgrading to Linux
  kernel 2.6.21 or newer. Gammu 1.11.0 fixes this.
 
 ok, that means the 'hard' bug is elsewhere, but that's also a wammu bug:
 a gui should yield a proper error msg should an external tool/util fail,
 not suddenly crash with no clues to the user wrt the cause.

The bug is in libGammu that it does not catch SIGIO even though it did
order it from kernel. Older kernel versions did not make this properly,
so the application did not get the signal, but since 2.6.21 they fixed
this in kernel and applications using libGammu now get this signal.
libGammu 1.11.0 and newer properly handles this.

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


signature.asc
Description: PGP signature


Bug#489362: wammu: crashes on phone search

2008-07-08 Thread Paolo
On Sun, Jul 06, 2008 at 11:37:53PM +0200, Michal ??iha?? wrote:
  [pid  2958] +++ killed by SIGIO +++
  PANIC: handle_group_exit: 2958 leader 2953
  Process 2958 detached
 
 This is actually a Gammu bug which was hidden until upgrading to Linux
 kernel 2.6.21 or newer. Gammu 1.11.0 fixes this.

ok, that means the 'hard' bug is elsewhere, but that's also a wammu bug:
a gui should yield a proper error msg should an external tool/util fail,
not suddenly crash with no clues to the user wrt the cause.


thanks
-- 
paolo



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



Bug#489362: wammu: crashes on phone search

2008-07-06 Thread Michal Čihař
Hi

Dne Sat, 05 Jul 2008 11:36:25 +0200
Paolo [EMAIL PROTECTED] napsal(a):

 [pid  2958] --- SIGIO (I/O possible) @ 0 (0) ---
 [pid  2958] +++ killed by SIGIO +++
 PANIC: handle_group_exit: 2958 leader 2953
 Process 2958 detached

This is actually a Gammu bug which was hidden until upgrading to Linux
kernel 2.6.21 or newer. Gammu 1.11.0 fixes this.

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


signature.asc
Description: PGP signature


Bug#489362: wammu: crashes on phone search

2008-07-05 Thread Paolo
Package: wammu
Version: 0.17-1
Severity: important

hi,

I'm trying to use wammu with Nokia E65 (cable), but as soon as I clic on
'search phone' wammu crashes; I don't see anything much useful in the log
though:

[ERROR 2: Error opening device. Unknown/busy or no permissions.]
[ERROR 2: Error opening device. Unknown/busy or no permissions.]
[ERROR 2: Error opening device. Unknown/busy or no permissions.]
[ERROR 2: Error opening device. Unknown/busy or no permissions.]
[ERROR 2: Error opening device. Unknown/busy or no permissions.]
[ERROR 2: Error opening device. Unknown/busy or no permissions.]
Setting speed to 19200
[Module   - auto]
Escaping SMS mode
[ERROR 12: Error during reading device.]
[ERROR 12: Error during reading device.]
[ERROR 12: Error during reading device.]
[ERROR 12: Error during reading device.]
[ERROR 12: Error during reading device.]
[ERROR 12: Error during reading device.]
Setting speed to 19200
[Module   - auto]
Escaping SMS mode
Sending simple AT command to wake up some devices

an 'strace -e execve ' shows
...
[pid  2958] --- SIGIO (I/O possible) @ 0 (0) ---
[pid  2958] +++ killed by SIGIO +++
PANIC: handle_group_exit: 2958 leader 2953
Process 2958 detached
[pid  2956] +++ killed by SIGIO +++
PANIC: handle_group_exit: 2956 leader 2953
Process 2956 detached
[pid  2959] +++ killed by SIGIO +++
PANIC: handle_group_exit: 2959 leader 2953
Process 2959 detached
[pid  2954] +++ killed by SIGIO +++
PANIC: handle_group_exit: 2954 leader 2953
Process 2954 detached
+++ killed by SIGIO +++
Process 2953 detached

the phone is visible on the bus as:

$ lsusb 
Bus 003 Device 001: ID :  
Bus 002 Device 028: ID 0421:0508 Nokia Mobile Phones
...

and is assigned a tty port:

crw-rw 1 root dialout 166,   0 2008-07-05 11:12 /dev/ttyACM0

Here's the dependency chain:

Package: wammu
Version: 0.17-1
Package: python
Version: 2.4.4-2
Package: python-central
Version: 0.5.12
Package: python-gammu
Version: 0.15-1
Package: python-wxgtk2.6
Version: 2.6.3.2.1.5
Package: timidity
Version: 2.13.2-9
Package: python-bluez
Version: 0.9.1-1
Package: python-bluetooth

clues?

thanks
-- 
paolo




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