Open Source Telephony
 help / color / mirror / Atom feed
From: Marko Saukko <marko.saukko@gmail.com>
To: ofono@ofono.org
Subject: Segmentation fault
Date: Thu, 06 Aug 2009 14:51:27 +0300	[thread overview]
Message-ID: <4A7AC3BF.1090008@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2198 bytes --]

Hi,

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

Sent dbus commands:

[root(a)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(a)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(a)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


             reply	other threads:[~2009-08-06 11:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-06 11:51 Marko Saukko [this message]
2009-08-06 22:03 ` Segmentation fault Denis Kenzior
2009-08-07  5:15   ` Marko Saukko
2009-08-08  1:15     ` Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A7AC3BF.1090008@gmail.com \
    --to=marko.saukko@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox