Problems building from git on Ubuntu

Miika Turkia miika.turkia at gmail.com
Fri Feb 20 22:48:45 PST 2015


On Sat, Feb 21, 2015 at 7:47 AM, Willem Ferguson <
willemferguson at zoology.up.ac.za> wrote:

> I use Ubuntu 14.4 and encounter a problem when building from git master
> AND when dowloading the latest Ubuntu package. Identical symptoms.
>
> Program starts up with no dive log and is largely unresponsive. When
> opening a dive log listed under the File option of the main menu, nothing
> happens. When open a log book or start a new log book, program freezes and
> eventually terminates with a segfault.
>
> Then I tried getting some information about the problem using Qt-creator.
> However, when I attempt a build of the code under Qt-creator, I get a
> compile error:
>
> /home/willem/subsurface/qthelper.cpp:15: error: QStandardPaths: No such
> file or directory
>  #include <QStandardPaths>
>
> My Qt version is 5.2.1
>
> Has anything else changed?
>

Isn't this the conversion to the new dive site structure with the reverse
gps taking long? If so, just wait until the conversion finishes. Best to
start from terminal and see if you are getting messages on the terminal
producing debug output of the progress.

I am also able to crash Subsruface, if performing the conversion and
opening a new log while that is running.

Program received signal SIGSEGV, Segmentation fault.
0x0000000000475a7c in reverseGeoLookup (latitude=..., longitude=...,
uuid=3855517063) at ../qthelper.cpp:401
401            ds->notes = add_to_string(ds->notes, "countrytag: %s",
address.value("country").toString().toUtf8().data());
(gdb) bt
#0  0x0000000000475a7c in reverseGeoLookup (latitude=..., longitude=...,
uuid=3855517063) at ../qthelper.cpp:401
#1  0x0000000000458a6f in gps_in_dive (buffer=0x66f1440 "7.376767
113.854408", dive=0xc940ee0) at ../parse-xml.c:1203
#2  0x0000000000455286 in match (pattern=0x5e3959 "gps", plen=3,
name=0x8f4a60 <buffer> "gps.location..ure.ter.em.", fn=0x458723
<gps_in_dive>, buf=0x66f1440 "7.376767 113.854408", data=0xc940ee0) at
../parse-xml.c:117
#3  0x0000000000459119 in try_to_fill_dive (dive=0xc940ee0, name=0x8f4a60
<buffer> "gps.location..ure.ter.em.", buf=0x66f1440 "7.376767 113.854408")
at ../parse-xml.c:1301
#4  0x000000000045a52f in entry (name=0x8f4a60 <buffer>
"gps.location..ure.ter.em.", buf=0x66f1440 "7.376767 113.854408") at
../parse-xml.c:1703
#5  0x000000000045a720 in visit_one_node (node=0x66f13c0) at
../parse-xml.c:1763
#6  0x000000000045a779 in visit (n=0x66f13c0) at ../parse-xml.c:1778
#7  0x000000000045a90c in traverse (root=0x66f13c0) at ../parse-xml.c:1863
#8  0x000000000045a74c in traverse_properties (node=0x66f12d0) at
../parse-xml.c:1773
#9  0x000000000045a785 in visit (n=0x66f12d0) at ../parse-xml.c:1779
#10 0x000000000045a90c in traverse (root=0x66f1250) at ../parse-xml.c:1863
#11 0x000000000045a795 in visit (n=0x66f0c70) at ../parse-xml.c:1780
#12 0x000000000045a90c in traverse (root=0x6659670) at ../parse-xml.c:1863
#13 0x000000000045a795 in visit (n=0x66592b0) at ../parse-xml.c:1780
#14 0x000000000045a90c in traverse (root=0xf67620) at ../parse-xml.c:1863
#15 0x000000000045a795 in visit (n=0xf675a0) at ../parse-xml.c:1780
#16 0x000000000045a90c in traverse (root=0x1245b20) at ../parse-xml.c:1863
#17 0x000000000045a795 in visit (n=0x12489e0) at ../parse-xml.c:1780
#18 0x000000000045a90c in traverse (root=0x12489e0) at ../parse-xml.c:1863
#19 0x000000000045ab85 in parse_xml_buffer (url=0x1248168
"/home/mturkia/subsurface/Miika-qt.xml",
    buffer=0x7fff5b575010 "<divelog program='subsurface'
version='2'>\n<settings>\n<divecomputerid model='Suunto Vyper Air'
deviceid='07c2a44a' serial='20400612' firmware='1.1.22'/>\n<divecomputerid
model='Suunto Stinger' deviceid"..., size=11054154, table=0x8f7390
<dive_table>, params=0x0) at ../parse-xml.c:1927
#20 0x00000000004480d0 in parse_file_buffer (filename=0x1248168
"/home/mturkia/subsurface/Miika-qt.xml", mem=0x7fffffffdbf0) at
../file.c:417
#21 0x0000000000448285 in parse_file (filename=0x1248168
"/home/mturkia/subsurface/Miika-qt.xml") at ../file.c:457
#22 0x00000000004cc42b in MainWindow::loadFiles (this=0xaff5a0,
fileNames=...) at ../qt-ui/mainwindow.cpp:1360
#23 0x00000000004535ff in main (argc=1, argv=0x7fffffffde08) at
../main.cpp:66


miika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150221/337507ee/attachment.html>


More information about the subsurface mailing list