Fwd: RE: [gtkmm] TreeView Model, SEGV on append [erik_ohrnberger dme net]



(Please use "Reply to all" with mailing lists!)

Am 2003.10.24 22:29 schrieb(en) "Ohrnberger, Erik":
Martin,
	That's the thing.  I pulled the class out of the application
that
I'm working on, put in an example type program and it works fine.
However,
in the application, that's the line that causes the SEGV.

	I comment out the call to the method that tries to load data
into
the treeview, and the program runs fine.

	So I guess I'm looking for clues as to what would cause SEGVs in
that routine, and check the greater application code for issues that
could
cause it to happen.

	Sorry if the original posting didn't explain that sufficiently.

	Given that this is what I'm looking for, would have any hints
for
ideas?

	Thanks,
		Erik.

-----Original Message-----
From: Martin Schulze [mailto:martin-ml hippogriff de]
Sent: Friday, October 24, 2003 4:23 PM
To: Ohrnberger, Erik
Cc: gtkmm-list gnome org
Subject: Re: [gtkmm] TreeView Model, SEGV on append


Am 2003.10.24 21:26 schrieb(en) "Ohrnberger, Erik":
I'm hoping that someone can give me a pointer on tracking the issue
down
with my code.

I build a scrolled windows, attach a treeview to it, create the
ListStore::create to create the model, and set this model to the
treeview.

Next, I append my columns to the treeview and try and perform an
append on
the model.  It's right on the statement below:

	TreeModel::Row row = *( pMoldListModel->append() );

This line of code in itself doesn't seem to be faulty. Could you
post a more complete code snippet, preferably a compilable one?

Regards,

   Martin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]