[Bug 1974446] Re: [SRU] sngrep in Jammy segfaults in del_panel (fixed upstream)

Simon Quigley 1974446 at bugs.launchpad.net
Thu Dec 28 17:22:52 UTC 2023


s/reoder/reorder/g

update-maintainer

SRU version

Not blocking, just fixed :)

** Changed in: sngrep (Ubuntu Jammy)
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1974446

Title:
  [SRU] sngrep in Jammy segfaults in del_panel (fixed upstream)

Status in sngrep package in Ubuntu:
  Fix Released
Status in sngrep source package in Jammy:
  In Progress

Bug description:
  [ Impact ]

  sngrep results in a segfault when the user tries to exit the display screen.
  It is not unusable for this issue but the user will not expect an error message about a segmentation fault with a coredump while trying to exit the display.

  [ Test Plan ]

   * Execute the command "sngrep", which will display the sngrep panel.
   * Pres ESC key to exit the display panel.

  [ Where problems could occur ]

  This is an upstream fix which reorders the deallocation of the panel
  window and panel pointer. It does not touch any other part of the code
  and only fixes the code on the panel destroy path. imho, there is very
  little chance of regression due to this change.

  [ Other Info ]

  * The problem has been fixed by upstream on v1.5.0 so only Jammy is
  affected. Lunar, Mantic and Noble are not affected.

  [ Original Bug Description ]

  When pressing ESC after going into a trace, I got this:

  ```
  (gdb) bt
  #0  0x00007ffff7bf470b in del_panel () from /lib/x86_64-linux-gnu/libpanelw.so.6
  #1  0x000055555556ab18 in ui_destroy (ui=0x5555555856a0 <ui_call_flow>) at curses/ui_panel.c:64
  #2  ui_default_handle_key (ui=ui at entry=0x5555555856a0 <ui_call_flow>, key=key at entry=27) at curses/ui_manager.c:292
  #3  0x000055555555fdd6 in ui_wait_for_input () at curses/ui_manager.c:248
  #4  main (argc=<optimized out>, argv=0x7fffffffe5c8) at ./src/main.c:435
  ```

  Looks very much like this bug:

  https://github.com/irontec/sngrep/issues/389
  https://github.com/irontec/sngrep/commit/7ed9942c859bab13222d86b4d0fdd370c94664a3

  # lsb_release -a
  No LSB modules are available.
  Distributor ID:	Ubuntu
  Description:	Ubuntu 22.04 LTS
  Release:	22.04
  Codename:	jammy

  # dpkg -l sngrep | grep ^ii
  ii  sngrep         1.4.10-1     amd64        Ncurses SIP Messages flow viewer

  sngrep 1.5.0 has been released a month ago. I think it would be nice
  if the Ubuntu version got bumped:

  https://github.com/irontec/sngrep/releases/tag/v1.5.0

  Cheers,
  Walter Doekes
  OSSO B.V.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sngrep/+bug/1974446/+subscriptions




More information about the Ubuntu-sponsors mailing list