Main Menu

FET is segfaulting

Started by math, January 31, 2020, 01:03:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

math

When using FET 5.42.2 or the most recent snapshot, FET is sporadically crashing with a segfault.

Process:               fet [79174]
Path:                  /Applications/fet.app/Contents/MacOS/fet
Identifier:            FET.fet
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           fet [79174]
User ID:               501

Date/Time:             2020-01-31 10:08:01.892 +0100
OS Version:            Mac OS X 10.15.2 (19C57)
Report Version:        12
Bridge OS Version:     3.0 (14Y908)
Anonymous UUID:        E2F7D2E3-BB09-09F6-6D9B-5C90FD06E457
Sleep/Wake UUID:       8EC3FC3F-CDF8-4B9B-ADC8-36D6BEDEF4C9

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000014
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [79174]

VM Regions Near 0x14:
-->
    __TEXT                 0000000108a4d000-00000001094d8000 [ 10.5M] r-x/r-x SM=COW  /Applications/fet.app/Contents/MacOS/fet

The weird thing is the following: it's NOT happening when actually using the program, but when it runs in the background. I recently upgraded my installation to Catalina (10.15.2), so perhaps it's related to this?

Is there a way to produce a segmentation dump that helps you identifying or debugging this issue?

Liviu Lalescu

Thank you for your bug report!

1) Your previous post contains an unwanted smiley, so you might want to set "Don't use smileys" for it.

2) I have filled FET code with asserts. Also, the code is stable for a long time now. So it is probably related to your new Mac OS X version.

3) FET runs in the background: do you mean it does nothing (just started, and present in the status bar), or it is generating?

math

Hi!

FET was doing nothing. It's the situation where you add some constraints and switch to your mail application for checking further requirements of your colleagues. And while you're reading an email, FET crashes in the background.

I was not able to make this problem reproducable. It does not seem to be related in any way what I did in FET nor which other application I used. It just takes a little patience, but FET crashed with 100% probability within a 10 minute timespan.

Since I did not obverse this behavior in any other application, I guess it's realted with the FET binary in some weird way.

But the good news is: after upgrading from 10.15.2 to 10.15.3 the problem disappeared.

So if somebody has this problem with 10.15.2, the simple solution seems to be an upgrade.

Liviu Lalescu

Thank you for the information! Maybe it's Qt+Mac combination.

I just wonder that you upgraded to 10.15.2 and only after a couple of days Mac released 10.15.3, so they might have fixed some urgent bugs? Do they release that fast?

PS: About your first post, you forgot to select "Don't use smileys" and there is an unwanted smiley. May I edit your post or you would like to do that yourself?

math

I just set the smily flag of my first posting, thanks for reminding me.

Regarding 10.15.3, it's probably just bad timing. I updated my systems to Catalina about 1-2 weeks ago and at that time 10.15.2 was the most current version. In fact, 10.15.2 has been released on Dec 10. The update to 10.15.3 followed six weeks later on Jan 28. It has also been six week between 10.15.1 and 10.15.2, so it seems to be their regular release cycle.