Segfault
Berthold Stoeger
bstoeger at mail.tuwien.ac.at
Wed May 2 04:23:57 PDT 2018
Hi,
On Mittwoch, 2. Mai 2018 12:40:32 CEST Martin Měřinský wrote:
> Build.
> Run (do not open any divelog).
> Log > Add dive
> Segmentation fault (core dumped)
>
> (gdb) bt
> #0 0x000055f187bdd0a0 in ProfileWidget2::setProfileState() (this=this@
> entry=0x55f189e2a4f0)
> at /data/ss/subsurface/profile-widget/profilewidget2.cpp:1204
as a quick-fix, please consider the attached patch. But there are other
occurrences of current_dc, which will have to be scrutinized.
Berthold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Profile-Fix-null-pointer-access.patch
Type: text/x-patch
Size: 1198 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20180502/7cb9bdf6/attachment.bin>
More information about the subsurface
mailing list