Sailfish IDE crashes when building RPM

asked 2020-06-07 20:36:33 +0300

attah gravatar image

updated 2020-06-07 21:18:31 +0300

I'm using the new Docker-based build system, and i really like the speed of it for normal use. However, when i "Build RPM Package For Manual Deployment", the entire IDE crashes.

Building with sfdk works fine though.

This is all i get when starting the IDE from a terminal:

ConnectionServer error: "QLocalSocket: Remote closed" "/tmp/QtCreator-ejZJqD/ClangBackEnd-5737"
Segmentation fault (core dumped)

Anything else i can do to get more information?

OS: Linux Mint 19.3

edit retag flag offensive close delete

Comments

That's really not enough information for us to figure out what's wrong. It might help if you could give us access to your project which you are trying to build?

Ville Nummela ( 2020-06-08 10:52:46 +0300 )edit

It was SeaPrint: https://github.com/attah/harbour-seaprint but i'll need to check if there were other affected projects. Any suggestions to get more logging?

attah ( 2020-06-08 11:56:25 +0300 )edit

I just tested building your project, and I didn't run into any issues. That makes me believe that the problem is related to Linux Mint. I don't have any good ideas at the moment :(

Ville Nummela ( 2020-06-08 12:22:49 +0300 )edit

After a lot of cleanup etc related to the other question, i was able to build from the IDE, but only once... Can't find a correlation or reproduce that. Another piece of the puzzle (from journal):

Jun 08 18:12:38 obsidian kernel: qtcreator[15794]: segfault at 2 ip 00007fd0b276d590 sp 00007ffd6e4c5c58 error 4 in libSailfishOS.so[7fd0b270a000+142000] Jun 08 18:12:38 obsidian kernel: Code: 4c 08 ff ff e1 0f 1f 44 00 00 48 8b 40 18 48 39 41 08 0f 94 c2 48 85 f6 0f 94 c0 09 c2 eb c6 66 2e 0f 1f 84 00 00 00 00 00 90 <8b> 17 31 c0 85 d2 74 0e 83 fa ff b8 01 00

attah ( 2020-06-08 19:18:12 +0300 )edit