Open Source Telephony
 help / color / mirror / Atom feed
From: Kalle Valo <kalle.valo@canonical.com>
To: ofono@ofono.org
Subject: Crash in ppp_disconnect()
Date: Fri, 11 Jun 2010 14:18:08 +0300	[thread overview]
Message-ID: <877hm5yg0f.fsf@potku.valot.fi> (raw)

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

Hi,

I saw a crash in ppp_disconnect() when I unplugged my huawei modem while
connected. Also connman crashed at the same time.

(Note to myself: core.1493)

Entering new phase: 5
Entering new phase: 0
ofonod[1439]: drivers/atmodem/gprs-context.c:ppp_disconnect() 

Program received signal SIGSEGV, Segmentation fault.
0x0000000000447d78 in ppp_disconnect (reason=G_AT_PPP_REASON_LINK_DEAD, 
    user_data=0x6f1680) at drivers/atmodem/gprs-context.c:93
93              g_at_chat_resume(gcd->chat);
(gdb) bt
#0  0x0000000000447d78 in ppp_disconnect (reason=G_AT_PPP_REASON_LINK_DEAD, 
    user_data=0x6f1680) at drivers/atmodem/gprs-context.c:93
#1  0x0000000000431f64 in ppp_dead (ppp=0x6e7080) at gatchat/gatppp.c:204
#2  0x0000000000431fa5 in ppp_enter_phase (ppp=0x6e7080, phase=PPP_PHASE_DEAD)
    at gatchat/gatppp.c:214
#3  0x00000000004322d6 in ppp_lcp_finished_notify (ppp=0x6e7080)
    at gatchat/gatppp.c:316
#4  0x00000000004344e6 in lcp_finished (pppcp=0x6e7300)
    at gatchat/ppp_lcp.c:140
#5  0x0000000000432d28 in pppcp_this_layer_finished (data=0x6e7300)
    at gatchat/ppp_cp.c:340
#6  0x0000000000433990 in pppcp_generate_event (data=0x6e7300, 
    event_type=CLOSE, packet=0x0, len=0) at gatchat/ppp_cp.c:688
#7  0x0000000000433a09 in pppcp_signal_close (data=0x6e7300)
    at gatchat/ppp_cp.c:703
#8  0x00000000004323a8 in io_disconnect (user_data=0x6e7080)
    at gatchat/gatppp.c:349
#9  0x000000000042a856 in read_watcher_destroy_notify (user_data=0x6dd170)
    at gatchat/gatio.c:77
#10 0x00007ffff792fe8e in g_source_callback_unref (
    cb_data=<value optimized out>)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1077
#11 0x00007ffff79304b5 in g_source_destroy_internal (source=0x6e1790, 
    context=0x6d9000, have_lock=1)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:856
#12 0x00007ffff7930933 in g_main_dispatch (context=0x6d9000)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1985
#13 IA__g_main_context_dispatch (context=0x6d9000)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#14 0x00007ffff7934748 in g_main_context_iterate (context=0x6d9000, 
    block=<value optimized out>, dispatch=<value optimized out>, 
    self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#15 0x00007ffff7934c55 in IA__g_main_loop_run (loop=0x6d90e0)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2799
#16 0x000000000045ce35 in main (argc=1, argv=0x7fffffffe668) at src/main.c:227

-- 
Kalle Valo

             reply	other threads:[~2010-06-11 11:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-11 11:18 Kalle Valo [this message]
2010-06-11 11:19 ` Crash in ppp_disconnect() Kalle Valo

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=877hm5yg0f.fsf@potku.valot.fi \
    --to=kalle.valo@canonical.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