CSV import crash

Dirk Hohndel dirk at hohndel.org
Thu Jan 29 10:15:57 PST 2015


On Thu, Jan 29, 2015 at 07:02:26PM +0100, Henrik Brautaset Aronsen wrote:
> 1) Go to import logfile and choose dives/TestXP5_de.csv
> 2) Select SensusCSV
> 3) Crash
> 
> Yup, I know that this isn't a Sensus CSV file, but it still shouldn't crash.

Totally agree, it shouldn't crash. And it doesn't here (on Linux)

> Here's the stacktrace:
> 
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   org.qt-project.QtCore         	0x000000010dc04c78 QString::operator=(QString const&) + 40
> 1   Subsurface                    	0x000000010c2d7a51 DiveLogImportDialog::loadFileContents(int, DiveLogImportDialog::whatChanged) + 3921

Now that's odd. A QString "==" crashes. reading that files there is
nothing I can find in there where we would compare to a NULL pointer or
something stupid. I need to try to reproduce this on a Mac under the
debugger to see if this can pinpoint what's going on...

Thanks for the report

/D


More information about the subsurface mailing list