Segfault caused by "Hook qt model for country"

Dirk Hohndel dirk at hohndel.org
Mon Oct 2 21:04:04 PDT 2017


I am redoing the country implementation - but I haven't run into the crash you
mention here.

The problem with changing the implementation (I want to use the taxonomy
data, not add a new field to the data structure and the storage format) uncovered
several bugs in the current implementation that apparently no one noticed so far.

And with every bug I fix, I seem to find two more.
This still isn't in the shape I want it to be in when I create the PR, so right now
I'd consider master in "maybe not the best time to use it" state...

/D

> On Oct 2, 2017, at 7:50 PM, Gaetan Bisson <bisson at archlinux.org> wrote:
> 
> Hi,
> 
> I'm building the latest git snapshot of Subsurface on Arch Linux (we've
> got qt-5.9.1) and the latest commit "Hook qt model for country"
> (d5ab03ef4e84820f9530152dbf4ffc29dec6e652) causes a segfault.
> 
> Building goes well but then when running the binary I get:
> 
> 	Thread 1 "subsurface" received signal SIGSEGV, Segmentation fault.
> 	0x0000555555721d87 in DiveListView::DiveListView(QWidget*) ()
> 	(gdb) bt
> 	#0  0x0000555555721d87 in DiveListView::DiveListView(QWidget*) ()
> 	#1  0x000055555566f07e in MainWindow::MainWindow() ()
> 	#2  0x000055555566858d in init_ui() ()
> 	#3  0x0000555555666f9d in main ()
> 
> I've bisected this segfault to that precise commit. I have no idea how
> to debug this further but will be happy to help in any way I can.
> 
> Cheers.
> 
> -- 
> Gaetan
> _______________________________________________
> 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