Resizing window on boot sends SIGABRT

Bugs, glitches and unexpected behaviour.
Post Reply
brenchen
Posts: 2
Joined: Thu May 09, 2019 10:31 pm

Resizing window on boot sends SIGABRT

Post by brenchen »

Basically, if I resize/move the UI straight after running StarTools-Linux64 (i.e. in the load screen), the program crashes (SIGABRT).

This is run under Ubuntu 16.04.6 LTS.

Steps to Reproduce
  1. From terminal, run ./StarTools-Linux64
  2. As soon as the load screen comes up, drag the top bar of StarTools and let go
  3. Program should exit with SIGABRT
I ran it through gdb, here's the backtrace:

Code: Select all

(gdb) bt                                                                                                  
#0  0x00007ffff71e2428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54           
#1  0x00007ffff71e402a in __GI_abort () at abort.c:89                                                     
#2  0x00007ffff72247ea in __libc_message (do_abort=2,                                                     
    fmt=fmt@entry=0x7ffff733ded8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#3  0x00007ffff722ddfb in malloc_printerr (ar_ptr=0x7ffff7571b20 <main_arena>, ptr=0x880910,              
    str=0x7ffff733ac75 "corrupted size vs. prev_size", action=3) at malloc.c:5006                         
#4  _int_free (av=0x7ffff7571b20 <main_arena>, p=<optimised out>, have_lock=0) at malloc.c:4014           
#5  0x00007ffff723153c in __GI___libc_free (mem=<optimised out>) at malloc.c:2968                         
#6  0x000000000049624a in ?? ()                                                                           
#7  0x00000000004a940f in ?? ()                                                                           
#8  0x00000000004dc499 in ?? ()                                                                           
#9  0x0000000000583972 in ?? ()                                                                           
#10 0x00000000004026eb in ?? ()                                                                           
But as I try to run strace on it but wasn't able to reproduce the problem. I can supply the full gdb log if needed.

Love to confirm this is a bug or is it something I'm doing? Thanks in advance.
User avatar
admin
Site Admin
Posts: 3367
Joined: Thu Dec 02, 2010 10:51 pm
Location: Melbourne
Contact:

Re: Resizing window on boot sends SIGABRT

Post by admin »

Hi,

Thank you for reporting this.
What version of StarTools is this? Does this happen in the 1.4.x versions?
I'm unable to reproduce this on a fresh install of Ubuntu 16.04.05LTS, nor on Linux Mint 17.3.

Thanks!
Ivo Jager
StarTools creator and astronomy enthusiast
brenchen
Posts: 2
Joined: Thu May 09, 2019 10:31 pm

Re: Resizing window on boot sends SIGABRT

Post by brenchen »

Hi Ivo,

Sorry about the late response. I'm using 1.4.351.
User avatar
admin
Site Admin
Posts: 3367
Joined: Thu Dec 02, 2010 10:51 pm
Location: Melbourne
Contact:

Re: Resizing window on boot sends SIGABRT

Post by admin »

brenchen wrote:Hi Ivo,

Sorry about the late response. I'm using 1.4.351.
Thanks! Really odd. I've been keeping an eye out for this, but I'm just unable to replicate this. Valgrind doesn't show me anything out of the ordinary either. :think:
Ivo Jager
StarTools creator and astronomy enthusiast
Post Reply