Opened 6 years ago

Closed 4 years ago

#3472 closed defect (fixed)

g.gui.iclass crashes the GUI

Reported by: cmbarton Owned by: grass-dev@…
Priority: normal Milestone: 7.4.5
Component: wxGUI Version: 7.2.2
Keywords: I.classify Cc:
CPU: Unspecified Platform: MacOSX

Description

IIRC, g.gui.iclass requires 64 bit gdal and would not even launch with wxPython 2.8. I did get to launch with a version of wxPython 3 a year or more ago. But now it crashes on launch and brings down the entire GUI.

Change History (8)

comment:1 by cmbarton, 6 years ago

In the newest 7.2.2 binaries I've made, i.gui.iclass now only crashes the GUI. So I can at least see some kind of error in the terminal. Here it is:

/Applications/GRASS-7.2.2.app/Contents/Resources/bin/pythonw: line 3: 35164 Segmentation fault: 11 /Applications/GRASS-7.2.2.app/Contents/Resources/python.app/Contents/MacOS/python "$@"

Here are some possible causes:

https://stackoverflow.com/questions/43685189/python-ctypes-segmentation-fault-11

https://stackoverflow.com/questions/10035541/what-causes-a-python-segmentation-fault

https://stackoverflow.com/questions/19531969/segmentation-fault-11-in-os-x#19629468

I am skeptical of the last one because GRASS here is using Python 2.7.14

comment:2 by martinl, 6 years ago

Milestone: 7.2.3

Ticket retargeted after milestone closed

comment:3 by martinl, 6 years ago

Milestone: 7.2.4

comment:4 by cmbarton, 6 years ago

This remains an issue in all versions of GRASS 7. Probably related to #3487

comment:5 by martinl, 5 years ago

Milestone: 7.2.47.4.5

comment:6 by nila, 4 years ago

This is still an issue with 7.8 branch and master (7.9.dev), with Python 3.8.2 and wxPython 4.0.7.post2.

comment:7 by nila, 4 years ago

The PR456 will probably fix this.

comment:8 by annakrat, 4 years ago

Resolution: fixed
Status: newclosed

The fix is in master and 78, please create a new ticket if it still fails.

Note: See TracTickets for help on using tickets.