FS#50463 - [networkmanager] nmtui crashes when Push <Quit>

Attached to Project: Arch Linux
Opened by Reverend Homer (reverendhomer) - Saturday, 20 August 2016, 20:24 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 26 September 2016, 13:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture i686
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When I run "nmtui", don't want to change anything and just press the <Quit> button, nmtui crashes with SIGSEGV.

ecko@patience:~$ coredumpctl dump 8622
PID: 8622 (nmtui)
UID: 1000 (ecko)
GID: 1000 (ecko)
Signal: 11 (SEGV)
Timestamp: Sat 2016-08-20 23:18:46 MSK (16s ago)
Command Line: nmtui
Executable: /usr/bin/nmtui
Control Group: /user.slice/user-1000.slice/session-c1.scope
Unit: session-c1.scope
Slice: user-1000.slice
Session: c1
Owner UID: 1000 (ecko)
Boot ID: 34dae6babb4240cbbacc59103e42ee80
Machine ID: 7be08acd9e714dbf88069bd84318e8a9
Hostname: patience
Coredump: /var/lib/systemd/coredump/core.nmtui.1000.34dae6babb4240cbbacc59103e42ee80.8622.1471724326000000000000.lz4
Message: Process 8622 (nmtui) of user 1000 dumped core.

Stack trace of thread 8622:
#0 0x000000000806bee6 nmt_newt_form_show (nmtui)
#1 0x000000000805390b _start (nmtui)
#2 0x00000000b724ea1b g_main_context_dispatch (libglib-2.0.so.0)
#3 0x00000000b724ee09 n/a (libglib-2.0.so.0)
#4 0x00000000b724f1b9 g_main_loop_run (libglib-2.0.so.0)
#5 0x0000000008053345 main (nmtui)
#6 0x00000000b704a196 __libc_start_main (libc.so.6)
#7 0x00000000080535ab _start (nmtui)
Refusing to dump core to tty.

Additional info:
* package version(s)
networkmanager 1.2.5dev+5+g99e34d7-1
* config and/or log files etc.
Just clean install of networkmanager


Steps to reproduce:
Run "nmtui"
Push <Quit>
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 26 September 2016, 13:02 GMT
Reason for closing:  Fixed
Comment by Reverend Homer (reverendhomer) - Tuesday, 23 August 2016, 16:29 GMT
I have rebuilt networkmanager with debug symbols and no strip and ran nmtui with gdb. Here is a backtrace of the crash:

(gdb) bt
#0 0x0806bee6 in nmt_newt_form_show (form=0x80a1bd8) at nmt-newt-form.c:388
#1 0x0805390b in idle_run_subprogram (user_data=0xffffdc60) at nmtui.c:185
#2 0xf7affa1b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#3 0xf7affe09 in ?? () from /usr/lib/libglib-2.0.so.0
#4 0xf7b001b9 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#5 0x08053345 in main (argc=<optimized out>, argv=<optimized out>) at nmtui.c:281
(gdb)

Also, I've discovered that this crash is only on 32-bit systems. On 64-bit ArchLinux nmtui doesn't crash at all.
Comment by Reverend Homer (reverendhomer) - Monday, 29 August 2016, 20:33 GMT
Looks like it was fixed in 1.4.0, so the bug may be closed now.

Loading...