Segmentation fault

Marko Saukko marko.saukko at gmail.com
Thu Aug 6 04:51:27 PDT 2009


Hi,

I'm getting segmentation fault with the latest git version. As a modem
I'm using Nokia E51.

Sent dbus commands:

[root at localhost ~]# dbus-send --print-reply --system --dest=org.ofono /
org.ofono.at.Manager.Create string:"dev:/dev/ttyACM0" string:"at"
method return sender=:1.404 -> dest=:1.405 reply_serial=2
   object path "/modem1"
[root at localhost ~]# dbus-send --print-reply --system --dest=org.ofono /
org.ofono.at.Manager.Destroy objpath:"/modem1"
method return sender=:1.404 -> dest=:1.406 reply_serial=2
[root at localhost ~]# dbus-send --print-reply --system --dest=org.ofono /
org.ofono.at.Manager.Create string:"dev:/dev/ttyACM0" string:"at"
method return sender=:1.404 -> dest=:1.407 reply_serial=2
   object path "/modem2"

gdb output:

ofonod[2191]: SIMManager interface for modem: /modem2 created
ofonod[2191]: Registered call forwarding interface
ofonod[2191]: Registered call settings interface
ofonod[2191]: Sending voice initialization commands
ofonod[2191]: cops_list_cb got result: 1
ofonod[2191]: Final response: OK
ofonod[2191]: Got 0 elements

Program received signal SIGSEGV, Segmentation fault.
operator_list_callback (error=0xbfffe85c, total=0, list=0x0,
data=0x80888f0) at network.c:981
981     network.c: No such file or directory.
        in network.c
Missing separate debuginfos, use: debuginfo-install dbus.i586 glibc.i586
(gdb) where
#0  operator_list_callback (error=0xbfffe85c, total=0, list=0x0,
data=0x80888f0) at network.c:981
#1  0x0806d4fe in cops_list_cb (ok=1, result=0xbffff0d4,
user_data=0x8089600) at atmodem/network-registration.c:316
#2  0x08074513 in g_at_chat_finish_command (p=0x8087820, ok=1,
final=0x808af98 "OK") at gatchat.c:347
#3  0x08074e0e in g_at_chat_handle_command_response () at gatchat.c:396
#4  have_line (p=0x8087820, strip_preceding=1) at gatchat.c:480
#5  0x080752a9 in new_bytes () at gatchat.c:664
#6  received_data (channel=0x80876f0, cond=<value optimized out>,
data=0x8087820) at gatchat.c:759
#7  0xb7f336c7 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0x080876f0 in ?? ()
#9  0x00000001 in ?? ()
#10 0x08087820 in ?? ()
#11 0x00000000 in ?? ()

Regards,
Marko



More information about the ofono mailing list