Segfault on Gtk::ListStore::clear ()

Phil Wolff via gtkmm-list <[email protected]> Tue, 1 Dec 2020 08:27:12 -0800
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <[email protected]>
Consider this Gtk::ListStore (in a Gtk::ComboBox, if that matters):

             Gtk::TreeIter iList = m_refServModel->get_iter( "0" );
             while ( iList ) {
                 std::cout << (*iList)[m_cServings.m_sStdServ] << std::endl;
                 ++iList;
             }
             m_refServModel->clear ();

The while() loop correctly displays the several items in the list, but 
the clear() generates a segfault.

Any insight would be appreciated!

_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list