<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Feb 21, 2015 at 7:47 AM, Willem Ferguson <span dir="ltr"><<a href="mailto:willemferguson@zoology.up.ac.za" target="_blank">willemferguson@zoology.up.ac.za</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I use Ubuntu 14.4 and encounter a problem when building from git master AND when dowloading the latest Ubuntu package. Identical symptoms.<br>
<br>
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.<br>
<br>
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:<br>
<br>
/home/willem/subsurface/<u></u>qthelper.cpp:15: error: QStandardPaths: No such file or directory<br>
 #include <QStandardPaths><br>
<br>
My Qt version is 5.2.1<br>
<br>
Has anything else changed?<br></blockquote><div><br></div><div>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.<br><br>I am also able to crash Subsruface, if performing the conversion and opening a new log while that is running.<br><br>Program received signal SIGSEGV, Segmentation fault.<br>0x0000000000475a7c in reverseGeoLookup (latitude=..., longitude=..., uuid=3855517063) at ../qthelper.cpp:401<br>401            ds->notes = add_to_string(ds->notes, "countrytag: %s", address.value("country").toString().toUtf8().data());<br>(gdb) bt<br>#0  0x0000000000475a7c in reverseGeoLookup (latitude=..., longitude=..., uuid=3855517063) at ../qthelper.cpp:401<br>#1  0x0000000000458a6f in gps_in_dive (buffer=0x66f1440 "7.376767 113.854408", dive=0xc940ee0) at ../parse-xml.c:1203<br>#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<br>#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<br>#4  0x000000000045a52f in entry (name=0x8f4a60 <buffer> "gps.location..ure.ter.em.", buf=0x66f1440 "7.376767 113.854408") at ../parse-xml.c:1703<br>#5  0x000000000045a720 in visit_one_node (node=0x66f13c0) at ../parse-xml.c:1763<br>#6  0x000000000045a779 in visit (n=0x66f13c0) at ../parse-xml.c:1778<br>#7  0x000000000045a90c in traverse (root=0x66f13c0) at ../parse-xml.c:1863<br>#8  0x000000000045a74c in traverse_properties (node=0x66f12d0) at ../parse-xml.c:1773<br>#9  0x000000000045a785 in visit (n=0x66f12d0) at ../parse-xml.c:1779<br>#10 0x000000000045a90c in traverse (root=0x66f1250) at ../parse-xml.c:1863<br>#11 0x000000000045a795 in visit (n=0x66f0c70) at ../parse-xml.c:1780<br>#12 0x000000000045a90c in traverse (root=0x6659670) at ../parse-xml.c:1863<br>#13 0x000000000045a795 in visit (n=0x66592b0) at ../parse-xml.c:1780<br>#14 0x000000000045a90c in traverse (root=0xf67620) at ../parse-xml.c:1863<br>#15 0x000000000045a795 in visit (n=0xf675a0) at ../parse-xml.c:1780<br>#16 0x000000000045a90c in traverse (root=0x1245b20) at ../parse-xml.c:1863<br>#17 0x000000000045a795 in visit (n=0x12489e0) at ../parse-xml.c:1780<br>#18 0x000000000045a90c in traverse (root=0x12489e0) at ../parse-xml.c:1863<br>#19 0x000000000045ab85 in parse_xml_buffer (url=0x1248168 "/home/mturkia/subsurface/Miika-qt.xml", <br>    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<br>#20 0x00000000004480d0 in parse_file_buffer (filename=0x1248168 "/home/mturkia/subsurface/Miika-qt.xml", mem=0x7fffffffdbf0) at ../file.c:417<br>#21 0x0000000000448285 in parse_file (filename=0x1248168 "/home/mturkia/subsurface/Miika-qt.xml") at ../file.c:457<br>#22 0x00000000004cc42b in MainWindow::loadFiles (this=0xaff5a0, fileNames=...) at ../qt-ui/mainwindow.cpp:1360<br>#23 0x00000000004535ff in main (argc=1, argv=0x7fffffffde08) at ../main.cpp:66<br><br><br></div><div>miika <br></div></div></div></div>