[Bug 894] gsmd locks-up if libgsmd-tool disconnects too quickly

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Tue Oct 16 11:00:39 CEST 2007


balrogg at gmail.com changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

------- Additional Comments From balrogg at gmail.com  2007-10-16 11:00 -------
I'm seeing this too, so reopening.  If a libgsm client disconnects too quickly,
gsmd gets confused, and locks-up, gdb showed this backtrace (it was echo n | ...
in my case):

#0  usock_cmd_enqueue (ucmd=0x308d0, gu=0x308d0)
    at ../../include/common/linux_list.h:73
#1  0x0000e07c in network_ownnumbers_cb (cmd=0x30800, ctx=0x308d0,
    resp=0x20060 "+CNUM: ,\"507328011\",129") at usock.c:597
#2  0x0000b2ac in atcmd_done (g=0x1db4c, cmd=0x30800, buf=0x1e3bc "OK")
    at atcmd.c:268
#3  0x0000bf58 in atcmd_newdata_cb (opaque=<value optimized out>,
    data=0x1f0ef "\r\n29,,,0\r\n6A3D100\r\nA3D168341A8D46",
    len=<value optimized out>) at atcmd.c:174
#4  0x0001362c in uart_select_cb (fd=3, what=1, data=<value optimized out>)
    at uart.c:115
#5  0x0000c1f8 in gsmd_select_main () at select.c:98
#6  0x0000ad98 in main (argc=<value optimized out>, argv=<value optimized out>)
    at gsmd.c:463

I will have a look at it later and try to send a patch.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the buglog mailing list