#34361 closed Uncategorized (needsinfo)
Missing the package "gdal-bin" results in Segmentation fault.
Reported by: | Simon Kern | Owned by: | nobody |
---|---|---|---|
Component: | GIS | Version: | 4.1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
OS: Linux (ubuntu 22.04)
If you have "django.contrib.gis" enabled, but a required package, e.g., gdal-bin is not installed, every command will be terminated with a segmentation fault.
I feel like this should rather emit an error message informing about the lack of said library, shouldn't it?
Example output:
./manage.py check System check identified no issues (0 silenced). Segmentation fault (core dumped)
Change History (5)
comment:1 by , 21 months ago
Summary: | Missing the package "gdal-bin" results in Segmentation fault (core dumped) → GIS: Missing the package "gdal-bin" results in Segmentation fault (core dumped) |
---|
comment:2 by , 21 months ago
Description: | modified (diff) |
---|
comment:3 by , 21 months ago
Resolution: | → needsinfo |
---|---|
Status: | new → closed |
comment:4 by , 21 months ago
So I just deleted all libs that com along with the gdal-bin package and ran python -X faulthandler manage.py check
. The result is the same. As soon as I install libgdal again, the issue is gone.
python -X faulthandler manage.py check System check identified no issues (0 silenced). Segmentation fault (core dumped)
comment:5 by , 21 months ago
Summary: | GIS: Missing the package "gdal-bin" results in Segmentation fault (core dumped) → Missing the package "gdal-bin" results in Segmentation fault. |
---|
Note:
See TracTickets
for help on using tickets.
Hi, I don't think you've explained the issue in enough detail to confirm a bug in Django. Please reopen the ticket if you can debug your issue and provide details about why and where Django is at fault.
You can try to run
check
withfaulthandler