Crash when re-importing from divecomputer

Henrik Brautaset Aronsen subsurface at henrik.synth.no
Wed Jan 23 12:31:40 PST 2013


Dirk Hohndel wrote:
> Everything above is the internal gtk/quartz implementation of 
> gtk_dialog_run - so this makes me think that this must be a memory 
> corruption issue.
>> 13  libgtk-quartz-2.0.0.dylib         0x0000000104d27b99 gtk_dialog_run
>> + 377
>> 14  subsurface                        0x00000001049b4a9a do_import + 234
>> (libdivecomputer.c:752)
>> 15  subsurface                        0x00000001049ce4dc
>> import_dive_computer + 156 (download-dialog.c:134)
>> 16  subsurface                        0x00000001049cf999 download_dialog
>> + 1897 (download-dialog.c:451)
>>
>> If I save and exit after 2) and restart Subsurface, the reimport works fine.
>
> Can you run this under Valgrind and try to reproduce?

I tried, but Valgrind doesn't work properly in MacOSX 10.8 yet:

==17097== WARNING: Support on MacOS 10.8 is experimental and mostly broken.
==17097== WARNING: Expect incorrect results, assertions and crashes.
==17097== WARNING: In particular, Memcheck on 32-bit programs will fail to
==17097== WARNING: detect any errors associated with heap-allocated data.

It just quits after a couple of seconds.

Henrik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130123/62e8d638/attachment-0001.html>


More information about the subsurface mailing list