[OSGeoLive] BLOB Explorer in spatialite_gui fails on multipolygons

Jochen Albrecht jochen.albrecht at gmail.com
Mon Dec 2 11:31:12 PST 2024


Hi:
I am using OSgeo-Live 16 and ran into a problem with the spatialite_gui
that did not exist in prior versions of the osgeolive distribution.

   1. I issue a SELECT statement on a table in the spatialite database to
   display the records.
   2. I then right-click on the geometry BLOB to explore the geometry.
   3. This throws an error of the nature  "assert 'n>1' failed in
   DoDrawPolyPolygon()."
   4. If I now click continue for each of the 24 polygons that make up the
   multipolygon, then the BLOB Explorer window eventually pops up and displays
   everything alright.
   5. If, on the other hand, I click cancel, then spatialite-gui completely
   bails on me.

Everything works fine for simple polygons and point and line geometries.

The backtrace for the above mentioned error reads as attached.

Cheers,
      Jochen

[1] wxGCDCImpl::DoDrawPolyPolygon(int, int const*, wxPoint const*, int,
int, wxPolygonFillMode)

[2] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&)

[3] wxEvtHandler::SearchDynamicEventTable(wxEvent&)

[4] wxEvtHandler::TryHereOnly(wxEvent&)

[5] wxEvtHandler::ProcessEventLocally(wxEvent&)

[6] wxEvtHandler::ProcessEvent(wxEvent&)

[7] wxEvtHandler::SafelyProcessEvent(wxEvent&)

[8] wxMenuBase::SendEvent(int, int)

[9] g_closure_invoke

[10] g_signal_emit_valist

[11] g_signal_emit

[12] gtk_widget_activate

[13] gtk_menu_shell_activate_item

[14] g_signal_emit_valist

[15] g_signal_emit

[16] gtk_main_do_event

[17] g_main_context_dispatch

[18] g_main_context_iteration

[19] gtk_main_iteration

[20] wxWindow::DoPopupMenu(wxMenu*, int, int)

[21] wxWindowBase::PopupMenu(wxMenu*, int, int)

[22] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&)

[23] wxEvtHandler::SearchDynamicEventTable(wxEvent&)

[24] wxEvtHandler::TryHereOnly(wxEvent&)

[25] wxEvtHandler::ProcessEventLocally(wxEvent&)

[26] wxEvtHandler::ProcessEvent(wxEvent&)

[27] wxWindowBase::TryAfter(wxEvent&)

[28] wxScrollHelperEvtHandler::ProcessEvent(wxEvent&)

[29] wxGrid::SendEvent(int, int, int, wxMouseEvent const&)

[30] wxGrid::ProcessGridCellMouseEvent(wxMouseEvent&)

[31] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&)

[32] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)

[33] wxEvtHandler::TryHereOnly(wxEvent&)

[34] wxEvtHandler::ProcessEventLocally(wxEvent&)

[35] wxEvtHandler::ProcessEvent(wxEvent&)

[36] wxEvtHandler::SafelyProcessEvent(wxEvent&)

[37] g_closure_invoke

[38] g_signal_emit_valist

[39] g_signal_emit

[40] gtk_main_do_event

[41] g_main_context_dispatch

[42] g_main_loop_run

[43] gtk_main

[44] wxGUIEventLoop::DoRun()

[45] wxEventLoopBase::Run()

[46] wxAppConsoleBase::MainLoop()

[47] wxEntry(int&, wchar_t**)

[48] __libc_start_main

Dr. Jochen Albrecht, GISP (he/him/his)

Professor for Computational and Theoretical Geography

and Graduate Adviser (Personal NAVIGATE Availability Link
<https://hunter-cuny.campus.eab.com/pal/4X2VBhV0xc>)

Department of Geography and Environmental Science
<http://www.geo.hunter.cuny.edu/>

Hunter College CUNY

695 Park Avenue

New York, NY 10065

Immediate Past-President, GIS Certification Institute
<https://www.gisci.org/>

Recently published: GIS and Housing: Principles and Practices
<https://sites.google.com/rojasap.com/gisandhousing/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/osgeolive/attachments/20241202/770a6095/attachment.htm>


More information about the osgeolive mailing list