segmentation fault with last git version

Miika Turkia miika.turkia at gmail.com
Sun Feb 9 20:58:12 UTC 2014


I was able to reproduce with debug and normal builds. I start subsurface
and close default log file immediately. The graph stays on screen, even
though log is closed (with debug build, I first need to switch to the new
profile tab, standard is in that tab by default). Now I just hit ctrl-i for
import. And crash occurs.

Program received signal SIGSEGV, Segmentation fault.
0x00000000004f7a75 in DiveGasPressureItem::paint (this=0xee49c0,
painter=0x7fffffffbbe0, option=0xed9258, widget=0xe0c600) at
../qt-ui/profile/diveprofileitem.cpp:384
384                pen.setBrush(getSacColor(entry->sac, d->sac));
(gdb) bt
#0  0x00000000004f7a75 in DiveGasPressureItem::paint (this=0xee49c0,
painter=0x7fffffffbbe0, option=0xed9258, widget=0xe0c600) at
../qt-ui/profile/diveprofileitem.cpp:384
#1  0x00007ffff3f3d90f in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#2  0x00007ffff3f3e6c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
...
#50 0x00007ffff39ffcb6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#51 0x00007ffff30e230f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#52 0x00007ffff30e2605 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#53 0x00007ffff30e7deb in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#54 0x0000000000447f00 in run_ui () at ../qt-gui.cpp:165
#55 0x0000000000439194 in main (argc=1, argv=0x7fffffffdf68) at
../main.cpp:54

miika

On Sun, Feb 9, 2014 at 11:15 PM, Pedro Neves <nevesdiver at gmail.com> wrote:

> Hi:
>
> I cannot make the steps any more specific. They are exactly the ones I've
> written.
>
> What I find odd is if I choose to import a log file into my default log
> file, there's no seg fault - only if I try to import into a blank logbook.
>
> I haven't tried to use git bisect yet. I'll have to check the git
> documentation for that...
>
> Pedro
>
>
> On 2014-02-09 20:56, Lubomir I. Ivanov wrote:
>
>> On 9 February 2014 22:26, Pedro Neves <nevesdiver at gmail.com> wrote:
>>
>>> Hi all:
>>>
>>> I get a segmentation fault with the latest git version of Subsurface.
>>> Here are the steps to reproduce it:
>>>
>>> 1 - Open Subsurface
>>>
>>> 2 - Create a new logbook
>>>
>>> 3 - Select Import Log Files (Ctrl + I)
>>>
>>> Subsurface crashes with a seg fault.
>>>
>> hello,
>>
>> i can't seem to reproduce this.
>> can you share the log file you try to import or make the steps more
>> specific?
>>
>> lubomir
>> --
>>
>
> _______________________________________________
> subsurface mailing list
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140210/cdae88c8/attachment.html>


More information about the subsurface mailing list