Trying to jettison spaceMINES (second weapon) causes segfault

Create issue
Issue #378 resolved
Former user created an issue

I attached the buggy save file.

Steps to reproduce:

  1. Wait until you're in the sphere.
  2. ESC → Inventory.
  3. Select spaceMINES.
  4. Jettison.
  5. Segmentation fault.


It does not happen if either of these apply:

  • You try to jettison the mines on the tunnel.
  • You change your weapon to the mines and then drop them.

No other weapon causes this error when trying to jettison them (i.e. spreadGUN).

System information

$ screenfetch
                          ./+o+-       lonami@lonami-pc
                  yyyyy- -yyyyyy+      OS: Ubuntu 17.04 zesty
               ://+//////-yyyyyyo      Kernel: x86_64 Linux 4.10.0-21-generic
           .++ .:/++++++/-.+sss/'      Uptime: 42m
         .:++o:  /++++++++/:--:/-      Packages: 2131
        o:+o+:++.'..'''.-/oo+++++/     Shell: bash 4.4.7
       .:+o:+o/.          '+sssoo+/    Resolution: 1366x768
  .++/+:+oo+o:'             /sssooo.   DE: XFCE
 /+++//+:'oo+o               /::--:.   WM: Xfwm4
 \+/+o+++'o++o               ++////.   WM Theme: Greybird
  .++.o+++oo+:'             /dddhhh.   GTK Theme: Greybird [GTK2]
       .+.o+oo:.          'oddhhhh+    Icon Theme: elementary-xfce-darker
        \+.++o+o''-''''.:ohdhhhhh+     Font: Noto Sans 9
         ':o+++ 'ohhhhhhhhyo++os:      CPU: Intel Core i5-5200U CPU @ 2.7GHz
           .o:'.syhhhhhhh/.oo++o'      GPU: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) 
               /osyyyyyyo++ooo+++/     RAM: 1324MiB / 7884MiB
                   ''''' +oo+++o\:    

Comments (2)

  1. Lonami

    This is me, I forgot to login before posting the issue.

    Edit: Some more information, I think I pick it up right after jettisoning it. Maybe jettison sets some pointer to nullptr but on pick-up, it's used, and crashes?

  2. Log in to comment