When importing the attached log file, the stable releases crash. I
have not been able to figure out what is wrong (apart from apparent
memory corruption). This seems to work on development version, but
fails on the stable releases. Moreover, when I dump the imported log
to a file before the crash, this log file opens up just fine.
miika
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff1ee90d5 in malloc_consolidate (av=av@entry=0x7ffff222ec00
<main_arena>) at malloc.c:4150
4150 malloc.c: No such file or directory.
(gdb) bt
#0 0x00007ffff1ee90d5 in malloc_consolidate
(av=av@entry=0x7ffff222ec00 <main_arena>) at malloc.c:4150
#1 0x00007ffff1eeb9d4 in _int_malloc (av=av@entry=0x7ffff222ec00
<main_arena>, bytes=bytes@entry=31040) at malloc.c:3417
#2 0x00007ffff1eee4ae in __GI___libc_malloc (bytes=31040) at malloc.c:2895
#3 0x00000000006aed93 in copy_samples (s=0x1a4b290, d=0xab4b60
<displayed_dive+768>) at
/home/mturkia/source/static/test/subsurface/dive.c:634
#4 0x00000000006ae620 in copy_dive (s=0x1a4af90, d=0xab4860
<displayed_dive>) at
/home/mturkia/source/static/test/subsurface/dive.c:480
#5 0x00000000006463f9 in ProfileWidget2::plotDive (this=0x10d2f40,
d=0x1a4af90, force=false) at
/home/mturkia/source/static/test/subsurface/qt-ui/profile/profilewidget2.cpp:511
#6 0x0000000000510eb9 in MainWindow::current_dive_changed
(this=0xd25950, divenr=0) at
/home/mturkia/source/static/test/subsurface/qt-ui/mainwindow.cpp:385
#7 0x00000000005d63c6 in MainWindow::qt_static_metacall (_o=0xd25950,
_c=QMetaObject::InvokeMetaMethod, _id=37, _a=0x7fffffffc460) at
/home/mturkia/source/static/test/subsurface/build/moc_mainwindow.cpp:400
#8 0x00007ffff2d8778a in QMetaObject::activate(QObject*, int, int,
void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9 0x00000000005d2647 in DiveListView::currentDiveChanged
(this=0x10c8b40, _t1=0) at
/home/mturkia/source/static/test/subsurface/build/moc_divelistview.cpp:218
#10 0x00000000005e91bf in DiveListView::selectionChanged
(this=0x10c8b40, selected=..., deselected=...) at
/home/mturkia/source/static/test/subsurface/qt-ui/divelistview.cpp:567
#11 0x00007ffff392b111 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ffff2d8778a in QMetaObject::activate(QObject*, int, int,
void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ffff2d08247 in
QItemSelectionModel::selectionChanged(QItemSelection const&,
QItemSelection const&) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ffff2d0c6bb in
QItemSelectionModel::emitSelectionChanged(QItemSelection const&,
QItemSelection const&) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ffff2d0eae6 in QItemSelectionModel::select(QItemSelection
const&, QFlags<QItemSelectionModel::SelectionFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff2d0a0dc in QItemSelectionModel::select(QModelIndex
const&, QFlags<QItemSelectionModel::SelectionFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff2d08624 in
QItemSelectionModel::setCurrentIndex(QModelIndex const&,
QFlags<QItemSelectionModel::SelectionFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007ffff3924352 in
QAbstractItemView::setCurrentIndex(QModelIndex const&) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00000000005e7d3c in DiveListView::reload (this=0x10c8b40,
layout=DiveTripModel::TREE, forceSort=true) at
/home/mturkia/source/static/test/subsurface/qt-ui/divelistview.cpp:446
#20 0x0000000000510aca in MainWindow::recreateDiveList (this=0xd25950)
at /home/mturkia/source/static/test/subsurface/qt-ui/mainwindow.cpp:331
#21 0x00000000005109c3 in MainWindow::refreshDisplay (this=0xd25950,
doRecreateDiveList=true) at
/home/mturkia/source/static/test/subsurface/qt-ui/mainwindow.cpp:319
#22 0x000000000056d1d1 in DiveLogImportDialog::on_buttonBox_accepted
(this=0x147ade0) at
/home/mturkia/source/static/test/subsurface/qt-ui/divelogimportdialog.cpp:861
#23 0x00000000005d2c08 in DiveLogImportDialog::qt_static_metacall
(_o=0x147ade0, _c=QMetaObject::InvokeMetaMethod, _id=0,
_a=0x7fffffffd1b0)
at
/home/mturkia/source/static/test/subsurface/build/moc_divelogimportdialog.cpp:363
#24 0x00000000005d2e1a in DiveLogImportDialog::qt_metacall
(this=0x147ade0, _c=QMetaObject::InvokeMetaMethod, _id=0,
_a=0x7fffffffd1b0) at
/home/mturkia/source/static/test/subsurface/build/moc_divelogimportdialog.cpp:400
#25 0x00007ffff2d87940 in QMetaObject::activate(QObject*, int, int,
void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ffff2d8778a in QMetaObject::activate(QObject*, int, int,
void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007ffff3a62fe2 in QAbstractButton::clicked(bool) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
...
//SEABEAR DIVING TECHNOLOGY
//DIVE NR: 1
//Hardware Version: H3
//Firmware Version: 1.45
//DECO CODE Version: 1.24
//Serial number: 1570422
//2016.03.19 09:26:50
//Surface pressure: 1.005 bar
//DIVE LOG Version: 1.01
//Log interval: 5 s
//Mode: OC
//GF: 30/70
Depth;NDT;TTS;Ceiling;Temperature
1;1;1;1;1
0;1;2;3;4
1.7;0;0;0;13
2.5
3.1
4.0
4.9
5.3
6.5;200;0;0;11
7.7
8.8
8.7
8.7
8.8
8.8;200;0;0;8
8.6
8.9
9.1
9.4
9.5
9.5;186;0;0;7
9.3
9.5
9.4
9.1
9.0
9.0;200;0;0;7
8.6
8.6
9.1
9.9
10.0
9.9;156;180;0;7
9.8
9.5
9.4
9.2
9.1
9.0;200;180;0;6
9.2
9.4
9.5
9.9
9.8
10.0;146;180;0;6
10.0
10.5
10.2
9.9
9.7
9.3;195;180;0;6
9.0
9.1
8.9
9.4
9.5
9.4;186;180;0;6
9.3
9.4
9.7
9.8
9.9
10.0;148;180;0;6
9.7
10.1
10.3
10.7
11.1
11.2;97;180;0;6
11.2
11.3
11.4
10.8
10.6
10.5;124;180;0;6
10.5
10.4
9.8
9.4
9.4
9.7;159;180;0;6
10.0
9.8
9.8
9.7
9.5
9.3;186;180;0;6
9.4
9.3
9.6
9.6
9.6
9.7;156;180;0;6
9.5
9.1
8.5
8.5
8.9
8.6;200;180;0;6
8.8
9.1
9.3
9.1
8.9
8.6;200;180;0;6
8.4
8.4
8.7
8.7
8.9
8.8;200;180;0;6
8.9
8.9
9.1
8.9
9.1
9.1;200;180;0;6
9.1
9.0
9.3
9.4
9.3
9.0;200;180;0;6
9.1
9.2
9.2
9.1
8.8
8.7;200;180;0;6
8.6
8.9
9.0
9.4
9.5
9.7;168;180;0;6
10.3
10.6
11.2
11.9
12.6
13.5;60;180;0;6
13.9
14.3
15.1
15.7
16.3
17.3;28;180;0;5
18.1
18.5
18.4
18.6
19.1
19.8;17;180;0;5
19.8
19.8
19.9
19.3
19.1
18.9;19;180;0;5
18.8
18.8
18.5
18.6
18.5
18.4;21;180;0;5
18.2
18.1
17.8
17.7
17.5
17.2;24;180;0;5
17.0
16.7
16.5
16.3
16.1
15.7;31;180;0;5
15.8
15.5
15.4
15.2
15.2
14.9;37;180;0;5
14.8
14.8
14.7
14.4
13.9
13.7;49;180;0;6
13.6
13.6
13.6
13.3
13.1
12.9;58;180;0;5
12.5
12.4
12.6
12.3
12.4
12.0;65;180;0;6
12.3
12.3
12.3
11.7
11.1
10.6;100;180;0;6
10.2
10.1
10.4
10.8
11.1
11.7;78;180;0;5
12.0
12.7
13.6
14.1
14.7
15.7;32;180;0;5
16.4
17.1
17.9
18.6
18.1
18.0;18;180;0;5
17.9
17.6
17.6
17.5
17.6
17.2;20;180;0;5
16.9
16.7
16.7
16.3
16.0
15.9;27;180;0;5
15.5
15.2
15.1
15.1
15.0
14.7;34;180;0;5
14.5
14.3
13.9
13.3
13.0
12.8;53;180;0;6
12.7
12.3
11.9
11.6
11.4
11.1;80;180;0;6
11.0
10.9
10.5
10.1
9.5
9.4;170;180;0;6
9.5
9.6
9.7
9.1
9.1
8.9;200;180;0;6
8.9
8.8
9.2
9.1
8.9
9.2;183;180;0;6
9.2
9.3
9.4
9.4
9.4
9.1;192;180;0;6
9.0
8.8
9.0
8.7
8.4
8.0;200;180;0;6
7.6
6.8
6.2
5.6
4.8
4.7;200;168;0;7
4.7
4.0
3.4
3.1
2.7
2.1;200;147;0;8
1.7
1.4
0.4
0.0
0.3
0.4;200;147;0;9
0.3
0.2
0.2
0.2
0.2
0.3;200;147;0;9
0.1
0.1
0.2
0.2
0.2
0.3;200;147;0;9
0.2
0.2
0.2
0.2
0.2
0.2;200;147;0;10
0.1
0.3
0.0
0.0
0.0
0.0;200;147;0;11
0.2
0.0
0.4
1.1
1.9
2.6;200;147;0;11
3.3
3.9
4.7
5.2
6.4
7.1;200;126;0;10
7.6
8.4
9.0
10.0
10.0
10.0;132;180;0;7
9.9
9.5
9.5
9.3
9.2
9.0;200;180;0;7
9.7
9.7
9.9
9.8
9.8
9.7;136;180;0;7
9.5
9.4
9.1
9.1
9.2
9.3;178;180;0;6
9.5
9.6
9.7
9.5
9.3
9.3;162;180;0;6
9.2
9.3
8.9
8.8
8.9
9.3;175;180;0;6
9.5
9.5
10.2
11.1
11.7
12.6;56;180;0;6
13.2
14.0
15.0
16.0
16.6
16.7;23;180;0;6
16.5
16.6
16.6
17.5
18.0
18.7;16;180;0;6
18.7
19.4
19.6
19.6
19.6
19.4;14;180;0;5
19.6
20.0
19.9
19.5
18.8
18.3;15;180;0;5
17.9
17.7
17.7
17.6
17.3
16.9;19;180;0;5
16.8
17.1
17.4
17.9
18.1
18.6;14;180;0;5
19.1
18.9
18.9
18.9
18.9
18.9;13;180;0;5
18.8
18.6
18.8
18.7
18.7
18.4;13;180;0;5
18.5
19.0
18.7
18.6
18.7
18.5;13;180;0;5
18.5
18.6
18.5
18.4
18.3
18.0;13;180;0;5
17.9
18.1
17.9
17.9
17.6
17.3;15;180;0;5
16.7
16.4
15.5
15.1
14.6
14.3;28;180;0;5
14.2
14.6
14.7
14.8
15.2
15.4;20;180;0;5
15.6
15.6
15.4
15.1
14.6
14.4;26;180;0;5
14.1
13.9
13.7
13.6
13.5
13.2;34;180;0;5
12.9
13.0
12.6
12.1
12.3
12.0;46;180;0;6
12.0
12.2
12.3
12.1
11.8
11.5;53;180;0;6
11.1
10.7
10.5
11.0
10.8
10.9;72;180;0;6
10.5
10.4
10.2
10.1
10.1
10.1;100;180;0;6
10.0
9.9
9.5
9.4
9.4
9.7;120;180;0;6
9.8
10.0
10.0
9.9
9.8
9.6;119;180;0;6
9.8
9.7
9.6
9.6
9.5
9.2;137;180;0;6
8.8
8.6
8.6
8.4
8.2
7.5;200;180;0;6
6.8
6.2
6.0
6.0
5.9
5.5;200;172;0;6
5.3
4.6
4.2
4.1
3.9
3.7;200;142;0;6
3.8
3.6
3.2
3.0
2.8
2.6;200;122;0;7
2.3
1.8
1.5
1.4
0.5
0.1;200;122;0;8
0.1
0.1
0.3
0.3
0.3
0.3;200;122;0;10
0.2
0.3
0.1
0.2
0.1
0.2;200;122;0;10
0.1
0.1
0.1
0.1
0.2
0.1;200;122;0;11
0.0
0.4
0.4
0.2
0.5
0.5;200;122;0;12
0.3
0.3
0.2
0.3
0.3
0.3;200;122;0;12
0.2
0.2
0.3
0.1
0.1
0.1;200;122;0;12
0.1
0.1
0.1
0.1
0.1
0.0;200;122;0;12
0.0
0.6
0.6
0.1
0.0
0.0;200;122;0;12
0.0
0.0
0.0
0.0
0.0
0.0;200;122;0;12
0.0
0.0
0.0
0.0
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface