Segfault upon exit from coordinates specification

Guido Lerch guido.lerch at gmail.com
Sun Oct 11 05:52:41 PDT 2015


Hi Willem
I had similar issues, can you try the following?
Open your logbook with an xml editor, remove all duplicates.
Retry.

When doing a lot of testing and interrupting a debug, sometimes the duplication handling has issues when importing dives.

Regards,
Guido
+41 79 3217739

> Am 11.10.2015 um 14:19 schrieb Willem Ferguson <willemferguson at zoology.up.ac.za>:
> 
> I do the following:
> Create new dive using log->Add dive
> I provide name for an existing dive site and hit Apply changes
> Edit coordinates in dive site info panel by hitting the globe button (these happen to be existing coordinates)
> Type existing coordinates (this generates some warnings in the terminal)
> Hit Discard changes: do not accept the information
> Exit Subsurface.
> Subsurface gives segfault.
> Here is the terminal output:
> 
> Setting a New dive site
> Setting the dive site id on the dive: 304245814
> Warning, two different dive sites with same name have a different id 2893376900 and 304245814
> Warning, two different dive sites with same name have a different id 2893376900 and 304245814
> Warning, two different dive sites with same name have a different id 2893376900 and 304245814
> Warning, two different dive sites with same name have a different id 2893376900 and 304245814
> Warning, two different dive sites with same name have a different id 2893376900 and 304245814
> Warning, two different dive sites with same name have a different id 2893376900 and 304245814
> Warning, two different dive sites with same name have a different id 2893376900 and 304245814
> Warning, two different dive sites with same name have a different id 2893376900 and 304245814
> cannot open "/home/willem/subsurface/hashes"
> *** Error in `./subsurface': double free or corruption (fasttop): 0x00000000025be950 ***
> Aborted (core dumped)
> 
> Kind regards,
> willem
> 
> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


More information about the subsurface mailing list