Author Topic: Linux - crashes if my profile (.beersmith2 folder) exists  (Read 5012 times)

Offline lparsons

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 8
  • BeerSmith 2 Rocks!
Linux - crashes if my profile (.beersmith2 folder) exists
« on: May 08, 2017, 07:35:39 PM »
The first time I start the software (with no `.beersmith2` folder, the software starts fine. However, if I quit and go back in, it crashes:

```
lparsons@lparsons-Precision-5520:~$ beersmith2
21:31:44: SLib::Init - logging started
21:31:44: GetDocumentsDir() returning: /home/lparsons/.beersmith2/

(beersmith2:8166): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed

(beersmith2:8166): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)
Segmentation fault (core dumped)
```

I'm not sure if there are more detailed logs to check on. I'm using Ubuntu 16.04. I'd be happy to help debug.

Offline lparsons

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 8
  • BeerSmith 2 Rocks!
Re: Linux - crashes if my profile (.beersmith2 folder) exists
« Reply #1 on: July 06, 2017, 09:02:49 PM »
I'm still running into this issue. It seems to happen if I use my activation code (it's an old upgrade code from 1.0 to 2.0). Would perhaps getting a new code fix this issue?

Offline lparsons

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 8
  • BeerSmith 2 Rocks!
Re: Linux - crashes if my profile (.beersmith2 folder) exists
« Reply #2 on: November 08, 2017, 08:43:57 PM »
Just wondering if there is any hope of fixing this, or I should just abandon BeerSmith2 on Linux (at least Ubuntu 16.04)?

Offline Ck27

  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 529
  • BeerSmith's Unofficial Spam Police.... Do Not Spam
Re: Linux - crashes if my profile (.beersmith2 folder) exists
« Reply #3 on: November 08, 2017, 10:04:38 PM »
Just wondering if there is any hope of fixing this, or I should just abandon BeerSmith2 on Linux (at least Ubuntu 16.04)?

Linux version is probably the least polished to be honest its because Linux keeps updating sh*t and breaking the program.

Offline lparsons

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 8
  • BeerSmith 2 Rocks!
Re: Linux - crashes if my profile (.beersmith2 folder) exists
« Reply #4 on: November 11, 2017, 07:01:56 AM »
I'm happy to help debug and even fix things. Is there a way to get debug output? Perhaps a debug build or something?

Offline sgreene

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 9
  • BeerSmith 2 Rocks!
Re: Linux - crashes if my profile (.beersmith2 folder) exists
« Reply #5 on: November 14, 2017, 04:18:48 PM »
I have substantially the same issue with Linux Mint 18.2 (based on Ubuntu 16.04), but the issue started only recently (Oct-Nov). Is this a damaged profile somehow? Has a pushed-down update broken something. This is the first serious issue I've encountered with the software under Linux in 18 months.

Quote
I'm happy to help debug and even fix things. Is there a way to get debug output? Perhaps a debug build or something?

Ditto!

Offline gregarpp

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 23
  • I love YaBB 1G - SP1!
Re: Linux - crashes if my profile (.beersmith2 folder) exists
« Reply #6 on: December 05, 2017, 07:01:19 PM »
I have used the software back to the original beta days.

This is the only real issue I have had that keeps me from using the software.

I

Offline sgreene

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 9
  • BeerSmith 2 Rocks!
Re: Linux - crashes if my profile (.beersmith2 folder) exists
« Reply #7 on: December 14, 2017, 08:01:26 PM »
My attempt to do a gdb trace points to a possible problem thread:

Quote
1   ../sysdeps/x86_64/dl-procinfo.c: No such file or directory.

Offline sgreene

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 9
  • BeerSmith 2 Rocks!
Re: Linux - crashes if my profile (.beersmith2 folder) exists
« Reply #8 on: December 17, 2017, 04:44:34 PM »
Wondering if Brad has thought about offering a flatpak binary version of beersmith2? Seems like that way the development model would have less issues about changing dependencies: it would run the software in a sandbox and isolate it from the rest of the system.

Offline spastorino

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 5
  • BeerSmith 2 Rocks!
Re: Linux - crashes if my profile (.beersmith2 folder) exists
« Reply #9 on: April 07, 2018, 11:04:16 AM »
Running into this issue. A flatpak binary would be very beneficial.

Offline spastorino

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 5
  • BeerSmith 2 Rocks!
Re: Linux - crashes if my profile (.beersmith2 folder) exists
« Reply #10 on: April 07, 2018, 12:03:07 PM »
Could be related to this issue http://www.beersmith.com/forum/index.php/topic,18097.msg67270.html#msg67270.
Pasted a core dump there.