conda-forge / qgis-feedstock

A conda-smithy repository for qgis.
BSD 3-Clause "New" or "Revised" License
41 stars 26 forks source link

WIP: Run failing test via lldb #362

Open m-kuhn opened 11 months ago

m-kuhn commented 11 months ago

followup https://github.com/conda-forge/qgis-feedstock/pull/360

conda-forge-webservices[bot] commented 11 months ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

m-kuhn commented 11 months ago

CC @gillins

m-kuhn commented 11 months ago

@conda-forge-admin, please rerender

m-kuhn commented 11 months ago
2023-08-11T19:47:40.9304150Z ls: /cores/*: No such file or directory

looks like the dump is never written

gillins commented 10 months ago

So still doesn't give us the stack dump for SIGSEGV? Is this masked somehow?

gillins commented 10 months ago

Seems there is some crash handling here: https://github.com/qgis/QGIS/blob/1d63d5fce9ff1193df6a4c4690416471ed039008/src/app/main.cpp#L532 but maybe this isn't working like it should on OSX?

m-kuhn commented 10 months ago

To reproduce locally, will I need to build or can I install from some repo?

gillins commented 10 months ago

You should be able to just conda install qgis.

gillins commented 10 months ago

Or:

conda create -n testqgis qgis
conda activate testqgis

To be safe and create in a brand new env.

gillins commented 10 months ago

Although if you want a Debug build you'll need to do it yourself. See the build-locally.py script in this repo.

m-kuhn commented 10 months ago

Is there also an option to get a python debug build?

gillins commented 10 months ago

Seems support has been recently added for Debug Python builds here: https://github.com/conda-forge/python-feedstock/pull/597 - I couldn't actually follow how to do this but maybe you have more patience. Not sure if all extensions need to be rebuilt in debug mode also?

SrNetoChan commented 8 months ago

@m-kuhn can we close this one or you plan to keep working on it?