Bug 692307 - [abrt] applet double-free of NMSetting priv->name for NMSettingWireless settings
Summary: [abrt] applet double-free of NMSetting priv->name for NMSettingWireless settings
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 14
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3189d80a773c93013eafb86439d...
: 682142 682320 683056 688081 691576 694717 694722 696450 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-31 01:08 UTC by Samuel Hoffman
Modified: 2012-08-16 13:00 UTC (History)
19 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-16 13:00:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (20.20 KB, text/plain)
2011-03-31 01:08 UTC, Samuel Hoffman
no flags Details
First run with gdb while trying to find a reproduce pattern. (28.37 KB, text/plain)
2011-04-19 18:25 UTC, Tom Klingenberg
no flags Details
new backtrace (16.56 KB, text/plain)
2011-04-23 07:16 UTC, Misha Shnurapet
no flags Details

Description Samuel Hoffman 2011-03-31 01:08:29 UTC
abrt version: 1.1.17
architecture: x86_64
Attached file: backtrace, 20687 bytes
cmdline: /usr/bin/nm-connection-editor
component: NetworkManager
Attached file: coredump, 15974400 bytes
crash_function: __libc_message
executable: /usr/bin/nm-connection-editor
kernel: 2.6.35.11-83.fc14.x86_64
package: NetworkManager-gnome-1:0.8.3.998-2.fc14
rating: 4
reason: Process /usr/bin/nm-connection-editor was killed by signal 6 (SIGABRT)
release: Fedora release 14 (Laughlin)
time: 1301533607
uid: 500

How to reproduce
-----
1. Created New Wireless Network
2. Edited Wireless Security settings
3. Changed to WPA/Personal

Comment 1 Samuel Hoffman 2011-03-31 01:08:31 UTC
Created attachment 488962 [details]
File: backtrace

Comment 2 Dan Williams 2011-04-06 15:35:39 UTC
*** Bug 691576 has been marked as a duplicate of this bug. ***

Comment 3 Samuel Hoffman 2011-04-06 16:57:33 UTC
The "Automatic Bug Reporting Tool" did not mark this as a duplicate to any other bug - it stated the bug as new when I was submitting.

Comment 4 Peter Robinson 2011-04-11 07:56:37 UTC
Package: NetworkManager-gnome-1:0.8.3.998-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. Resume from suspend
2. Connecting to different network (prev home, now work)
3. nm-applet crashes
4. /etc/resolv.conf doesn't refresh for new network

Comment 5 Dan Williams 2011-04-13 16:44:06 UTC
*** Bug 694319 has been marked as a duplicate of this bug. ***

Comment 6 Dan Williams 2011-04-13 16:45:58 UTC
(In reply to comment #3)
> The "Automatic Bug Reporting Tool" did not mark this as a duplicate to any
> other bug - it stated the bug as new when I was submitting.

Yeah, even so it doesn't always get it right.  This bug is something I've seen before and the stack from yours are virtually identical to the duped bug.

Comment 7 Dan Williams 2011-04-13 19:31:10 UTC
*** Bug 694722 has been marked as a duplicate of this bug. ***

Comment 8 Dan Williams 2011-04-13 19:31:18 UTC
*** Bug 694717 has been marked as a duplicate of this bug. ***

Comment 9 Dan Williams 2011-04-13 19:31:24 UTC
*** Bug 683056 has been marked as a duplicate of this bug. ***

Comment 10 Dan Williams 2011-04-13 19:31:32 UTC
*** Bug 682142 has been marked as a duplicate of this bug. ***

Comment 11 Dan Williams 2011-04-13 20:09:42 UTC
*** Bug 682320 has been marked as a duplicate of this bug. ***

Comment 12 Dan Williams 2011-04-13 20:09:50 UTC
*** Bug 688081 has been marked as a duplicate of this bug. ***

Comment 13 Dan Williams 2011-04-13 20:49:51 UTC
What appears to be going on here is that something is double-freeing the NMSetting object's priv->name field.  That name is used in a few places, but should never be freed except by the NMSetting's finalize() function.  Perhaps we're inadvertently freeing it somewhere in the code...

Comment 14 Dan Williams 2011-04-13 21:02:32 UTC
Something interesting is that it's always an NMSettingWireless that gets its name double-freed, which might indicate that the applet's wifi code is doing something odd.

Comment 15 Dan Williams 2011-04-13 21:15:31 UTC
I can't seem to reproduce this easily, at least valgrinding nm-applet and changing the connection in GConf using nm-connection-editor...

Comment 16 Muse 2011-04-17 23:11:27 UTC
Package: NetworkManager-gnome-1:0.8.3.998-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
crashed somtimes when trying to connect to wlanX network. 

usb wl device
Bus 001 Device 004: ID 0846:9030 NetGear, Inc. 

using ath9k_htc driver with firmware htc_9271.fw

Comment 17 Misha Shnurapet 2011-04-18 08:42:19 UTC
Package: NetworkManager-gnome-1:0.8.3.998-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.
2.
3.
.

Comment 18 Tom Klingenberg 2011-04-18 11:08:02 UTC
Package: NetworkManager-gnome-1:0.8.3.998-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. I used the computer as normal.
2. The WIFI kernel module crashed (see other report)
3. I was editiing one of the same-named network profiles while the applet crashed.


Comment
-----
Had problems to connect to WLAN and the WIFI driver crashed. Reported that with this Automatic But Reporting Tool earlier.

Comment 19 Tom Klingenberg 2011-04-19 11:12:58 UTC
Package: NetworkManager-gnome-1:0.8.3.998-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. Connected to my WLAN after I refreshed the WLAN Routers  Config (because w/o I could not successfully connect)
2. Connect did work, I started to do some work.
3. Crash


Comment
-----
I have the feeling that this is related to my yesterdays crash. I recently booted the machine.

Comment 20 Tom Klingenberg 2011-04-19 11:23:31 UTC
It looks like that I can trigger the crash somehow. Second day in follow. Is there anything that I can run in the background when trying to crash the applet again?

Comment 21 Jirka Klimes 2011-04-19 13:52:02 UTC
What would really help is if you can come with a reliable reproducer ;)

One thing you can try is to run nm-applet in gdb and possible also set MALLOC_CHECK_=3 for aborting when memory problem occurs:

$ gdb /usr/bin/nm-applet
...
(gdb) set env MALLOC_CHECK_=3
(gdb) r

Comment 22 Tom Klingenberg 2011-04-19 18:25:55 UTC
Created attachment 493251 [details]
First run with gdb while trying to find a reproduce pattern.

I could now crash it by using the applet (connecting to a profile, disconnecting , manually connecting, cancelling the password window) and the network settings in parallel (editing and renaming the profile currently connecting to). That crashed it after some actions. Sorry for the still imprecise description.

Comment 23 Dan Williams 2011-04-19 21:32:55 UTC
*** Bug 696450 has been marked as a duplicate of this bug. ***

Comment 24 Sam Mingo 2011-04-20 19:50:56 UTC
Package: NetworkManager-gnome-1:0.8.3.998-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. Click on NetworkManager icon
2. add a new hidden wireless SSID network
3. activate it


Comment
-----
All I was doing was adding another hidden wireless SSID into NetworkManager.

Comment 25 eduardovra 2011-04-22 05:05:37 UTC
Package: NetworkManager-gnome-1:0.8.3.998-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.rmmod wl
2.modprobe wl
3.

Comment 26 Misha Shnurapet 2011-04-23 06:40:16 UTC
Package: NetworkManager-gnome-1:0.8.3.998-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.
2.
3.
.

Comment 27 Misha Shnurapet 2011-04-23 07:15:25 UTC
Package: NetworkManager-gnome-1:0.8.3.998-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.
2.
3.
.

Comment
-----
Connected to WLAN over AP, established an sftp connection on a client and played a video in mplayer on the client.

Comment 28 Misha Shnurapet 2011-04-23 07:16:36 UTC
Created attachment 494375 [details]
new backtrace

Comment 29 John J. Egan 2011-04-24 21:12:50 UTC
Package: NetworkManager-gnome-1:0.8.3.998-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. After wireless drop-out & re-establish (happens frequesntly)
2.
3.


Comment
-----
nothing

Comment 30 Lari Tanase 2011-04-27 17:43:44 UTC
Package: NetworkManager-gnome-1:0.8.3.998-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. some internet connection problems 
2. connection to the router was ok but in one moment nm creashed and ping to router was ok
3. only reboot was ok

Comment 31 Joel Cordero 2011-05-19 05:53:57 UTC
Package: NetworkManager-gnome-1:0.8.3.998-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.just conect to wlan
2.then crash
3.

Comment 32 Fedora End Of Life 2012-08-16 13:00:52 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.