Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Run failing test via lldb #362

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

m-kuhn
Copy link
Contributor

@m-kuhn m-kuhn commented Aug 11, 2023

followup #360

@conda-forge-webservices
Copy link

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 m-kuhn changed the title Run failing test via lldb WIP: Run failing test via lldb Aug 11, 2023
@m-kuhn
Copy link
Contributor Author

m-kuhn commented Aug 11, 2023

CC @gillins

@m-kuhn
Copy link
Contributor Author

m-kuhn commented Aug 11, 2023

@conda-forge-admin, please rerender

@m-kuhn
Copy link
Contributor Author

m-kuhn commented Aug 12, 2023

2023-08-11T19:47:40.9304150Z ls: /cores/*: No such file or directory

looks like the dump is never written

@gillins
Copy link
Contributor

gillins commented Aug 13, 2023

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

@gillins
Copy link
Contributor

gillins commented Aug 14, 2023

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
Copy link
Contributor Author

m-kuhn commented Aug 14, 2023

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

@gillins
Copy link
Contributor

gillins commented Aug 14, 2023

You should be able to just conda install qgis.

@gillins
Copy link
Contributor

gillins commented Aug 14, 2023

Or:

conda create -n testqgis qgis
conda activate testqgis

To be safe and create in a brand new env.

@gillins
Copy link
Contributor

gillins commented Aug 14, 2023

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
Copy link
Contributor Author

m-kuhn commented Aug 14, 2023

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

@gillins
Copy link
Contributor

gillins commented Aug 14, 2023

Seems support has been recently added for Debug Python builds here: conda-forge/python-feedstock#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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants