Re: Segment fault when using wireless (adhoc mode)
- From: Dan Williams <dcbw redhat com>
- To: 陈杰 <chenj lemote com>
- Cc: networkmanager-list gnome org
- Subject: Re: Segment fault when using wireless (adhoc mode)
- Date: Thu, 05 Mar 2009 10:05:45 -0500
On Thu, 2009-03-05 at 15:10 +0800, 陈杰 wrote:
> Hi Dan,
> I've tried NM-0.7.1-rc3, and got a log about this problem (see
> attachment: adhoc_crash.log), maybe it will be helpful.
> BTW, this adhoc_crash.log contains some log entries printed by the
> code in the attachment debug.patch.
So the real question here is not about refcounting, but why Stage 5
keeps getting started. If you see in your logs, you'll see multiple
connection success messages when there should only be one:
NetworkManager: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device
Configure) successful. Connected to wireless network 'qicq'.
These cause multiple schedules of the rest of the activation process,
which clearly shouldn't happen. It looks like the root cause is that
the supplicant is sending reconnect events too fast for NM to handle; if
stage3 is already scheduled, NM shouldn't schedule it again, it should
simply ignore the event. Any chance you could get some timing
information to see how long it is between calls of
supplicant_iface_connection_state_cb_handler() ?
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]