2015-08-27 16:44:37

by Arend Van Spriel

[permalink] [raw]
Subject: NetworkManager crashing

Hi Dan,

I ran into issue when NetworkManager keeps crashing/respawning. I have
no idea what happened. My laptop was rebooted (might been my sons work)
and this was the situation I stumbled upon. Running 4.1 kernel on Linux
Mint. NetworkManager version is 0.9.8.8.

Regards,
Arend


Attachments:
dmesg-nm-segv.txt (57.51 kB)

2015-08-31 17:07:55

by Arend Van Spriel

[permalink] [raw]
Subject: Re: NetworkManager crashing



On 31-08-15 17:43, Dan Williams wrote:
> On Thu, 2015-08-27 at 18:44 +0200, Arend van Spriel wrote:
>> Hi Dan,
>>
>> I ran into issue when NetworkManager keeps crashing/respawning. I have
>> no idea what happened. My laptop was rebooted (might been my sons work)
>> and this was the situation I stumbled upon. Running 4.1 kernel on Linux
>> Mint. NetworkManager version is 0.9.8.8.
>
> Odd, can you get any more log messages out of the machine? Or perhaps a
> backtrace? Looks like it's happening quite early in boot, before
> anything would really get configured...

Ran NetworkManager manually on the machine. On every run the following
shows up in dmesg

[19456.972855] traps: NetworkManager[5497] general protection ip:469f8e
sp:7ffeab94c1f0 error:0 in NetworkManager[400000+10c000]

and in the terminal:

(NetworkManager:5508): GLib-WARNING **: GError set over the top of a
previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL
before it's set.
The overwriting error message was: Key file does not have group
'connectivity'

Not sure which key file it is talking about so no idea where to look.

Regards,
Arend

2015-08-31 18:15:09

by Dan Williams

[permalink] [raw]
Subject: Re: NetworkManager crashing

On Mon, 2015-08-31 at 19:47 +0200, Arend van Spriel wrote:
>
> On 31-08-15 17:43, Dan Williams wrote:
> > On Thu, 2015-08-27 at 18:44 +0200, Arend van Spriel wrote:
> >> Hi Dan,
> >>
> >> I ran into issue when NetworkManager keeps crashing/respawning. I have
> >> no idea what happened. My laptop was rebooted (might been my sons work)
> >> and this was the situation I stumbled upon. Running 4.1 kernel on Linux
> >> Mint. NetworkManager version is 0.9.8.8.
> >
> > Odd, can you get any more log messages out of the machine? Or perhaps a
> > backtrace? Looks like it's happening quite early in boot, before
> > anything would really get configured...
>
> Yikes. My mistake. I have two libnl-3 versions installed and
> NetworkManager loaded the wrong one. Doing walk of shame here.

Yeah, that'll do it... glad to see it got figured out.

Dan


2015-08-31 17:47:34

by Arend Van Spriel

[permalink] [raw]
Subject: Re: NetworkManager crashing



On 31-08-15 17:43, Dan Williams wrote:
> On Thu, 2015-08-27 at 18:44 +0200, Arend van Spriel wrote:
>> Hi Dan,
>>
>> I ran into issue when NetworkManager keeps crashing/respawning. I have
>> no idea what happened. My laptop was rebooted (might been my sons work)
>> and this was the situation I stumbled upon. Running 4.1 kernel on Linux
>> Mint. NetworkManager version is 0.9.8.8.
>
> Odd, can you get any more log messages out of the machine? Or perhaps a
> backtrace? Looks like it's happening quite early in boot, before
> anything would really get configured...

Yikes. My mistake. I have two libnl-3 versions installed and
NetworkManager loaded the wrong one. Doing walk of shame here.

Regards,
Arend


2015-08-31 15:43:30

by Dan Williams

[permalink] [raw]
Subject: Re: NetworkManager crashing

On Thu, 2015-08-27 at 18:44 +0200, Arend van Spriel wrote:
> Hi Dan,
>
> I ran into issue when NetworkManager keeps crashing/respawning. I have
> no idea what happened. My laptop was rebooted (might been my sons work)
> and this was the situation I stumbled upon. Running 4.1 kernel on Linux
> Mint. NetworkManager version is 0.9.8.8.

Odd, can you get any more log messages out of the machine? Or perhaps a
backtrace? Looks like it's happening quite early in boot, before
anything would really get configured...

Dan


2015-08-31 17:10:00

by Arend Van Spriel

[permalink] [raw]
Subject: Re: NetworkManager crashing



On 31-08-15 19:07, Arend van Spriel wrote:
>
>
> On 31-08-15 17:43, Dan Williams wrote:
>> On Thu, 2015-08-27 at 18:44 +0200, Arend van Spriel wrote:
>>> Hi Dan,
>>>
>>> I ran into issue when NetworkManager keeps crashing/respawning. I have
>>> no idea what happened. My laptop was rebooted (might been my sons work)
>>> and this was the situation I stumbled upon. Running 4.1 kernel on Linux
>>> Mint. NetworkManager version is 0.9.8.8.
>>
>> Odd, can you get any more log messages out of the machine? Or perhaps a
>> backtrace? Looks like it's happening quite early in boot, before
>> anything would really get configured...
>
> Ran NetworkManager manually on the machine. On every run the following
> shows up in dmesg
>
> [19456.972855] traps: NetworkManager[5497] general protection ip:469f8e
> sp:7ffeab94c1f0 error:0 in NetworkManager[400000+10c000]
>
> and in the terminal:
>
> (NetworkManager:5508): GLib-WARNING **: GError set over the top of a
> previous GError or uninitialized memory.
> This indicates a bug in someone's code. You must ensure an error is NULL
> before it's set.
> The overwriting error message was: Key file does not have group
> 'connectivity'
>
> Not sure which key file it is talking about so no idea where to look.

Is this about the keyfile plugin that is mentioned in my
NetworkManager.conf:

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

Regards,
Arend