On 13 June 2017 at 22:38, Pedro Neves <[email protected]> wrote: > > #0 0x00007fffef3b51a6 in strlen () at /usr/lib/libc.so.6 > #1 0x00000000005a5c33 in QString::QString(char const*) > (this=0x7fffffffcbd0, ch=0x1770 <error: Cannot access memory at address > 0x1770>) at /usr/include/qt/QtCore/qstring.h:659 > #2 0x000000000072e14d in TankInfoModel::data(QModelIndex const&, int) const > (this=0x10ae1f0, index=..., role=2) at > /home/xxxx/Diveapps/subsurface/qt-models/tankinfomodel.cpp:76
that's very odd, i cannot reproduce the problem, but also the above should not happen as we allocate the cylinder "type" (tank_info_t->name) on the heap and it's address cannot be so low (0x1770). random questions: - are you running from an app-image or is this your build? - which OS / subsurface version? - does it happen if you plan a dive and insert a new cylinder? - can you send a file where it happens consistently + plus exact steps to reproduce it? lubomir -- _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
