crash - Delay Qt UI construction

Amit Chaudhuri amit.k.chaudhuri at gmail.com
Wed Apr 17 01:05:33 PDT 2013


Hi Dirk,

the patch I sent (Delay Qt ui ...) may indirectly be causing a crash. May
want to hold off a while.

It's a little odd as I've not changed the input data but this morning it
crashes.  Yesterday it was happy.  Crash occurs in the gtk code:

nr_data_func (col=0x9d8e10, renderer=0xa13070, model=0xa01010,
iter=0x7fffffffd8a0,
    data=0x1) at divelist-gtk.c:391
391                     if (!DIVE_IN_TRIP(dive))


..after I add some code to read the dive_table from the mainwindow ctor.

        while( (d = *dive_table.dives++) != NULL ){
            qDebug("dive %d on date to %f duration %f at %s", d->number,
                   (float)d->maxdepth.mm/1000 ,
                   (float)d->duration.seconds/60,
                   d->location);
        }

Will investigate further after work.

A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130417/c9ad6b90/attachment-0001.html>


More information about the subsurface mailing list