** Description changed:

+ [Impact]
+ 
+  * Crash due to newer compiler exposing issues in old code
+ 
+  * Fix by backporting upstream fix
+ 
+ [Test Case]
+ 
+  * run the tool
+    $ iptstate
+ 
+    while there are cases this works (accidentially) in most of the cases 
+    I tried it crashes with a segfault as reported. If you happen to be  
+    "lucky" and have it working - I realized (for whatever reason) that if 
+    it works once it continues to work. In that case just take a new xenial 
+    container or VM and it will very likely fail there
+ 
+  * Installing the upgrade fixes the issue
+ 
+ [Regression Potential]
+ 
+  * It is a (minor) rework of some sorts which normally would make one 
+    suspicious, but since without it the package is 0% usable it can't be 
+    much of a regression - sorry for this trivialization, but I think this 
+    is what applies to this case.
+ 
+  * OTOH while it failed for me at the first try I realized that you can 
+    get (?somehow?) into a mode where it seems to work for a while.
+    If now statistically my systems are odd (4/6 I tried failed) and "in 
+    the wild" most users would be unaffected, then this could be an issue 
+    for them if the rework causes other issues we don't know about.
+ 
+ 
+ [Other Info]
+  
+  * n/a
+ 
+ ---
+ 
  This is an automatic bug report.
  
  Steps to reproduce:
  
  just install and run.
  
  ProblemType: Crash
  DistroRelease: Ubuntu 16.04
  Package: iptstate 2.2.5-1build1
  ProcVersionSignature: Ubuntu 4.4.0-16.32-generic 4.4.6
  Uname: Linux 4.4.0-16-generic x86_64
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  AssertionMessage: *** Error in `iptstate': munmap_chunk(): invalid pointer: 
0x000000000193c990 ***
  Date: Sat Mar 26 22:30:25 2016
  ExecutablePath: /usr/sbin/iptstate
  InstallationDate: Installed on 2015-08-05 (233 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  ProcCmdline: iptstate
  ProcEnviron:
-  TERM=screen
-  SHELL=/bin/bash
-  PATH=(custom, no user)
-  LANG=ru_RU.UTF-8
-  LANGUAGE=ru
+  TERM=screen
+  SHELL=/bin/bash
+  PATH=(custom, no user)
+  LANG=ru_RU.UTF-8
+  LANGUAGE=ru
  Signal: 6
  SourcePackage: iptstate
  StacktraceTop:
-  __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f479d8c2fb8 "*** 
Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
-  malloc_printerr (ar_ptr=0x0, ptr=<optimized out>, str=0x7f479d8c2fe0 
"munmap_chunk(): invalid pointer", action=<optimized out>) at malloc.c:5007
-  munmap_chunk (p=<optimized out>) at malloc.c:2843
-  __GI___libc_free (mem=<optimized out>) at malloc.c:2964
-  ?? ()
+  __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f479d8c2fb8 "*** 
Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
+  malloc_printerr (ar_ptr=0x0, ptr=<optimized out>, str=0x7f479d8c2fe0 
"munmap_chunk(): invalid pointer", action=<optimized out>) at malloc.c:5007
+  munmap_chunk (p=<optimized out>) at malloc.c:2843
+  __GI___libc_free (mem=<optimized out>) at malloc.c:2964
+  ?? ()
  Title: iptstate assert failure: *** Error in `iptstate': munmap_chunk(): 
invalid pointer: 0x000000000193c990 ***
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

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

Title:
  iptstate assert failure: *** Error in `iptstate': munmap_chunk():
  invalid pointer: 0x000000000193c990 ***

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to