Author Topic: Latest Linux Mint (19.3) segmentation fault when printing  (Read 359 times)

Offline bagofhammers

  • BeerSmith New Brewer
  • *
  • Posts: 1
  • BeerSmith 2 Rocks!
Latest Linux Mint (19.3) segmentation fault when printing
« on: February 26, 2020, 10:54:04 PM »
Hi everyone,

I had been using BeerSmith3 happily on Linux Mint 19.2 (and BeerSmith2 before that) without problems.  I upgraded to 19.3, and now can't print, though everything else seems to work well.
If I run from the command line, I get:

21:42:22: SLib::Init - logging started
21:42:22: BeerSmith3
21:42:22: SLib::Init - Creating BResource
21:42:22: SLib::Init - Loading resources
21:42:23: SLib::Init - Loading opts table
21:42:25: BSApp: m_scale=1000, m_xpix=8, m_ypix=16
21:42:26: Warning: Web extension not found in "/usr/local/lib/wx/3.1.1/web-extensions", some wxWebView functionality will be not available
21:42:27: DoCheckActivate called
21:42:27: DoCheckActivate: actid=A68G3G, state=1, uid=70819 hash=10851623 autorenew=1 commercial=0
21:42:27: UpdateLicense(state=1,actid=A68G3G,uid=70819, uname=*********** expire=2020-07-02, perm=0, hash=*********)
21:42:27: Expire is: 1969-12-31
21:42:35: Warning: Web extension not found in "/usr/local/lib/wx/3.1.1/web-extensions", some wxWebView functionality will be not available
21:42:35: Warning: Web extension not found in "/usr/local/lib/wx/3.1.1/web-extensions", some wxWebView functionality will be not available
Segmentation fault (core dumped)

I believe that BeerSmith uses some web packages for the printing, so perhaps that Warning is important?  I can't find a package that installs into /usr/local/lib/wx/3.1.1/web-extensions though.

A stack trace didn't help, I couldn't divine anything from the core dump.

Any ideas?  I print off a copy of the recipe for every batch for records and note taking.

Thanks!
Todd


Offline jem

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 3
  • Brewing since 2010
Re: Latest Linux Mint (19.3) segmentation fault when printing
« Reply #1 on: July 01, 2020, 01:16:12 AM »
Check to see if you distribution has wxGTK3-webview version 3.0 with web-extensions and install it if needed. On Fedora wxGTK3-webview installs in /usr/lib64/wx/3.0/web-extensions.

Then create a link for /usr/local/lib/wx/3.1.1/web-extensions that points to the 3.0 version in /usr/lib64/wx/3.0/web-extensions.  Ex:

$ sudo mkdir -p /usr/local/lib/wx/3.1.1/
$ sudo ln -s /usr/lib64/wx/3.0/web-extensions /usr/local/lib/wx/3.1.1/web-extensions

This should address the web extensions messages.

 

modification