Skip to content

WIP: Run failing test via lldb#362

Closed
m-kuhn wants to merge 3 commits into
conda-forge:mainfrom
m-kuhn:patch-1
Closed

WIP: Run failing test via lldb#362
m-kuhn wants to merge 3 commits into
conda-forge:mainfrom
m-kuhn:patch-1

Conversation

@m-kuhn

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

Copy link
Copy Markdown
Contributor

followup #360

@conda-forge-webservices

Copy link
Copy Markdown

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

m-kuhn commented Aug 11, 2023

Copy link
Copy Markdown
Contributor Author

CC @gillins

@m-kuhn

m-kuhn commented Aug 11, 2023

Copy link
Copy Markdown
Contributor Author

@conda-forge-admin, please rerender

@m-kuhn

m-kuhn commented Aug 12, 2023

Copy link
Copy Markdown
Contributor Author
2023-08-11T19:47:40.9304150Z ls: /cores/*: No such file or directory

looks like the dump is never written

@gillins

gillins commented Aug 13, 2023

Copy link
Copy Markdown
Contributor

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

@gillins

gillins commented Aug 14, 2023

Copy link
Copy Markdown
Contributor

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

m-kuhn commented Aug 14, 2023

Copy link
Copy Markdown
Contributor Author

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

@gillins

gillins commented Aug 14, 2023

Copy link
Copy Markdown
Contributor

You should be able to just conda install qgis.

@gillins

gillins commented Aug 14, 2023

Copy link
Copy Markdown
Contributor

Or:

conda create -n testqgis qgis
conda activate testqgis

To be safe and create in a brand new env.

@gillins

gillins commented Aug 14, 2023

Copy link
Copy Markdown
Contributor

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

m-kuhn commented Aug 14, 2023

Copy link
Copy Markdown
Contributor Author

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

@gillins

gillins commented Aug 14, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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

@m-kuhn m-kuhn closed this Jan 25, 2025
@m-kuhn

m-kuhn commented Jan 25, 2025

Copy link
Copy Markdown
Contributor Author

I unfortunately wasn't able to fully debug and understand this issue

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