Bug 1056810 - [abrt] NetworkManager-ssh: strcmp(): nm-ssh-auth-dialog killed by SIGSEGV
Summary: [abrt] NetworkManager-ssh: strcmp(): nm-ssh-auth-dialog killed by SIGSEGV
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager-ssh
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Fruehauf
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:dd1ee037dbc34843bad82180c0b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-23 00:20 UTC by Justin Pearce
Modified: 2014-03-15 15:05 UTC (History)
3 users (show)

Fixed In Version: NetworkManager-ssh-0.9.2-0.2.20140209git46247c2.fc20
Clone Of:
Environment:
Last Closed: 2014-03-15 15:05:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (65.65 KB, text/plain)
2014-01-23 00:20 UTC, Justin Pearce
no flags Details
File: cgroup (172 bytes, text/plain)
2014-01-23 00:20 UTC, Justin Pearce
no flags Details
File: core_backtrace (3.48 KB, text/plain)
2014-01-23 00:20 UTC, Justin Pearce
no flags Details
File: dso_list (15.36 KB, text/plain)
2014-01-23 00:20 UTC, Justin Pearce
no flags Details
File: environ (1.50 KB, text/plain)
2014-01-23 00:20 UTC, Justin Pearce
no flags Details
File: exploitable (82 bytes, text/plain)
2014-01-23 00:20 UTC, Justin Pearce
no flags Details
File: limits (1.29 KB, text/plain)
2014-01-23 00:20 UTC, Justin Pearce
no flags Details
File: maps (46.66 KB, text/plain)
2014-01-23 00:20 UTC, Justin Pearce
no flags Details
File: open_fds (528 bytes, text/plain)
2014-01-23 00:20 UTC, Justin Pearce
no flags Details
File: proc_pid_status (945 bytes, text/plain)
2014-01-23 00:20 UTC, Justin Pearce
no flags Details
File: var_log_messages (334 bytes, text/plain)
2014-01-23 00:20 UTC, Justin Pearce
no flags Details

Description Justin Pearce 2014-01-23 00:20:21 UTC
Description of problem:
Initiated VPN connection from Gnome 3 top right corner menu (not sure of the technical name). The program appears to attempt to connect and then the crash notification appears.

Version-Release number of selected component:
NetworkManager-ssh-0.9.1-0.5.20130706git6bf4649.fc20

Additional info:
reporter:       libreport-2.1.11
backtrace_rating: 4
cmdline:        /usr/libexec/nm-ssh-auth-dialog -u 61fa52da-a2b9-4b3e-bf9f-eb4092a4ad79 -n 'ArcAngel SSH' -s org.freedesktop.NetworkManager.ssh -i
crash_function: strcmp
executable:     /usr/libexec/nm-ssh-auth-dialog
kernel:         3.12.8-300.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (1 frames)
 #0 strcmp at /lib64/libc.so.6

Comment 1 Justin Pearce 2014-01-23 00:20:29 UTC
Created attachment 854128 [details]
File: backtrace

Comment 2 Justin Pearce 2014-01-23 00:20:31 UTC
Created attachment 854129 [details]
File: cgroup

Comment 3 Justin Pearce 2014-01-23 00:20:36 UTC
Created attachment 854130 [details]
File: core_backtrace

Comment 4 Justin Pearce 2014-01-23 00:20:38 UTC
Created attachment 854131 [details]
File: dso_list

Comment 5 Justin Pearce 2014-01-23 00:20:40 UTC
Created attachment 854132 [details]
File: environ

Comment 6 Justin Pearce 2014-01-23 00:20:42 UTC
Created attachment 854133 [details]
File: exploitable

Comment 7 Justin Pearce 2014-01-23 00:20:43 UTC
Created attachment 854134 [details]
File: limits

Comment 8 Justin Pearce 2014-01-23 00:20:45 UTC
Created attachment 854135 [details]
File: maps

Comment 9 Justin Pearce 2014-01-23 00:20:47 UTC
Created attachment 854136 [details]
File: open_fds

Comment 10 Justin Pearce 2014-01-23 00:20:49 UTC
Created attachment 854137 [details]
File: proc_pid_status

Comment 11 Justin Pearce 2014-01-23 00:20:52 UTC
Created attachment 854138 [details]
File: var_log_messages

Comment 12 Dan Fruehauf 2014-01-23 00:27:29 UTC
That's pretty severe. Thanks for reporting, I'll look at it soon. I have a good idea where it's coming from.

Comment 13 Dan Fruehauf 2014-01-26 11:59:28 UTC
Upstream issue:
https://github.com/danfruehauf/NetworkManager-ssh/issues/25

Regardless of whether I can reproduce this or not, I'm just going to replace all strcmp with strncmp.

Comment 14 Dan Fruehauf 2014-01-26 13:20:15 UTC
Hi Justin,

I'm interested in the NM configuration you've been using, you should be able to find it at:
/etc/NetworkManager/system-connections/

Please conceal any passwords in it if you have any. I was not able to reproduce the problem just yet...

Comment 15 Justin Pearce 2014-01-26 22:33:39 UTC
Configuration is as follows:
=========================================

[connection]
id=ArcAngel SSH
uuid=61fa52da-a2b9-4b3e-bf9f-eb4092a4ad79
type=vpn
autoconnect=false

[vpn]
service-type=org.freedesktop.NetworkManager.ssh
local-ip=10.11.12.1
extra-opts=-o ServerAliveInterval=10 -o TCPKeepAlive=yes
remote=arcangel.example.tld #Masked
netmask=255.255.255.252
auth-type=ssh-agent
remote-ip=192.168.1.102

[vpn-secrets]
ssh-auth-sock=/run/user/1000/keyring-kjBb04/ssh

[ipv6]
method=auto

[ipv4]
method=auto

=========================================

Hope this helps.

Comment 16 Dan Fruehauf 2014-01-26 23:27:26 UTC
Unfortunately I couldn't reproduce the problem, however I understood why the crash could happen.

Either way, when choosing remote and local IPs, you must make sure they are in the same network, such that 10.11.12.1/255.255.255.252 and 192.168.1.102/255.255.255.252 are on the same network. Otherwise things wouldn't work.

Is it still BTW constantly crashing for you?

Comment 17 Justin Pearce 2014-01-27 00:23:57 UTC
I am not seeing the catastrophic crash I experienced earlier.

Comment 18 Fedora Update System 2014-02-09 11:28:41 UTC
NetworkManager-ssh-0.9.2-0.2.20140209git46247c2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/NetworkManager-ssh-0.9.2-0.2.20140209git46247c2.fc20

Comment 19 Fedora Update System 2014-02-10 03:13:50 UTC
Package NetworkManager-ssh-0.9.2-0.2.20140209git46247c2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing NetworkManager-ssh-0.9.2-0.2.20140209git46247c2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-2221/NetworkManager-ssh-0.9.2-0.2.20140209git46247c2.fc20
then log in and leave karma (feedback).

Comment 20 Fedora Update System 2014-03-15 15:05:26 UTC
NetworkManager-ssh-0.9.2-0.2.20140209git46247c2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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