Segfault when trying to edit cylinder information

Pedro Neves nevesdiver at
Tue Jun 13 10:59:15 PDT 2017

Hi all:

I've been facing a segfault with Subsurface each time I try to insert 
cylinder information of my dives. After I download my new dives, I'm 
able to fill the Start press., End press, the Work press. and the O2%. 
But when I click the Type or Size, I get a segfault. This happens both 
with my log and with an empty divelog. Even if I delete Subsurface 
configs (in .config/Subsurface).

Here's what I get with gdb:

(gdb) run
Starting program: /home/xxxxxx/Diveapps/subsurface/build/subsurface 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/".
[New Thread 0x7fffe02f2700 (LWP 22165)]
[New Thread 0x7fffd3768700 (LWP 22166)]
[New Thread 0x7fffcbbc6700 (LWP 22167)]
[New Thread 0x7fffcad25700 (LWP 22168)]
[New Thread 0x7fffca524700 (LWP 22169)]
[Thread 0x7fffcad25700 (LWP 22168) exited]
[New Thread 0x7fffcad25700 (LWP 22170)]
[Thread 0x7fffca524700 (LWP 22169) exited]
[New Thread 0x7fffca524700 (LWP 22171)]
[New Thread 0x7fffcad25700 (LWP 22172)]
[Thread 0x7fffcad25700 (LWP 22170) exited]
[Thread 0x7fffca524700 (LWP 22171) exited]
[Thread 0x7fffcad25700 (LWP 22172) exited]
[New Thread 0x7fffcad25700 (LWP 22173)]
[New Thread 0x7fffca524700 (LWP 22174)]
[New Thread 0x7fffc2ea5700 (LWP 22175)]
[New Thread 0x7fffc26a4700 (LWP 22176)]
[New Thread 0x7fffc1ea3700 (LWP 22177)]
subsurface/build/subsurface:1: parser error : Start tag expected, '<' 
not found
subsurface/build/subsurface:1: parser error : Start tag expected, '<' 
not found
[New Thread 0x7fffc0861700 (LWP 22178)]
[New Thread 0x7fff7bffd700 (LWP 22179)]
[New Thread 0x7fff7aee7700 (LWP 22180)]
[New Thread 0x7fff7a6e6700 (LWP 22181)]
[New Thread 0x7fff79ee5700 (LWP 22182)]
[New Thread 0x7fff796e4700 (LWP 22183)]
[Thread 0x7fff79ee5700 (LWP 22182) exited]
[Thread 0x7fff796e4700 (LWP 22183) exited]
[Thread 0x7fff7a6e6700 (LWP 22181) exited]
[Thread 0x7fff7aee7700 (LWP 22180) exited]
[New Thread 0x7fff796e4700 (LWP 22184)]
[New Thread 0x7fff79ee5700 (LWP 22185)]
[New Thread 0x7fff7a6e6700 (LWP 22186)]
[New Thread 0x7fff7aee7700 (LWP 22187)]
[New Thread 0x7fff78cdd700 (LWP 22188)]
[New Thread 0x7fff53fff700 (LWP 22189)]
[Thread 0x7fff7aee7700 (LWP 22187) exited]
[Thread 0x7fff78cdd700 (LWP 22188) exited]
[Thread 0x7fff7a6e6700 (LWP 22186) exited]
[Thread 0x7fff53fff700 (LWP 22189) exited]
[New Thread 0x7fff53fff700 (LWP 22190)]
[New Thread 0x7fff78cdd700 (LWP 22191)]
[New Thread 0x7fff7aee7700 (LWP 22192)]
[New Thread 0x7fff7a6e6700 (LWP 22193)]
[Thread 0x7fff53fff700 (LWP 22190) exited]
[Thread 0x7fff78cdd700 (LWP 22191) exited]
[Thread 0x7fff7aee7700 (LWP 22192) exited]
[Thread 0x7fff7a6e6700 (LWP 22193) exited]
[New Thread 0x7fff7a6e6700 (LWP 22194)]
[New Thread 0x7fff7aee7700 (LWP 22195)]
[New Thread 0x7fff78cdd700 (LWP 22196)]
[New Thread 0x7fff53fff700 (LWP 22197)]
[Thread 0x7fff7aee7700 (LWP 22195) exited]
[Thread 0x7fff7a6e6700 (LWP 22194) exited]
[Thread 0x7fff78cdd700 (LWP 22196) exited]
[Thread 0x7fff53fff700 (LWP 22197) exited]
[New Thread 0x7fff53fff700 (LWP 22198)]
[New Thread 0x7fff78cdd700 (LWP 22199)]
[New Thread 0x7fff7aee7700 (LWP 22200)]
[New Thread 0x7fff7a6e6700 (LWP 22201)]
[Thread 0x7fff7aee7700 (LWP 22200) exited]
[Thread 0x7fff7a6e6700 (LWP 22201) exited]
[Thread 0x7fff78cdd700 (LWP 22199) exited]
[Thread 0x7fff53fff700 (LWP 22198) exited]
[New Thread 0x7fff7a6e6700 (LWP 22204)]
[New Thread 0x7fff7aee7700 (LWP 22205)]
[New Thread 0x7fff78cdd700 (LWP 22206)]
[New Thread 0x7fff53fff700 (LWP 22207)]
[Thread 0x7fff7aee7700 (LWP 22205) exited]
[Thread 0x7fff7a6e6700 (LWP 22204) exited]
[Thread 0x7fff78cdd700 (LWP 22206) exited]
[Thread 0x7fff53fff700 (LWP 22207) exited]
[New Thread 0x7fff53fff700 (LWP 22212)]
[New Thread 0x7fff78cdd700 (LWP 22213)]
[New Thread 0x7fff7aee7700 (LWP 22214)]
[New Thread 0x7fff7a6e6700 (LWP 22215)]
[New Thread 0x7fff5211e700 (LWP 22218)]
[New Thread 0x7fff5191d700 (LWP 22219)]
[New Thread 0x7fff5111c700 (LWP 22220)]
[New Thread 0x7fff5091b700 (LWP 22221)]
[Thread 0x7fff5191d700 (LWP 22219) exited]
[Thread 0x7fff5091b700 (LWP 22221) exited]
[Thread 0x7fff5111c700 (LWP 22220) exited]
[Thread 0x7fff5211e700 (LWP 22218) exited]
[New Thread 0x7fff5091b700 (LWP 22222)]
[New Thread 0x7fff5111c700 (LWP 22223)]
[New Thread 0x7fff5191d700 (LWP 22224)]
[New Thread 0x7fff5211e700 (LWP 22225)]
[Thread 0x7fff5211e700 (LWP 22225) exited]
[Thread 0x7fff5191d700 (LWP 22224) exited]
[Thread 0x7fff5111c700 (LWP 22223) exited]
[Thread 0x7fff5091b700 (LWP 22222) exited]
[New Thread 0x7fff5211e700 (LWP 22226)]
[New Thread 0x7fff5191d700 (LWP 22227)]
[New Thread 0x7fff5111c700 (LWP 22228)]
[New Thread 0x7fff5091b700 (LWP 22229)]
[Thread 0x7fff5191d700 (LWP 22227) exited]
[Thread 0x7fff5211e700 (LWP 22226) exited]
[Thread 0x7fff5111c700 (LWP 22228) exited]
[Thread 0x7fff5091b700 (LWP 22229) exited]
[New Thread 0x7fff5091b700 (LWP 22230)]
[New Thread 0x7fff5111c700 (LWP 22231)]
[New Thread 0x7fff5191d700 (LWP 22232)]
[New Thread 0x7fff5211e700 (LWP 22233)]
[Thread 0x7fff5111c700 (LWP 22231) exited]
[Thread 0x7fff5191d700 (LWP 22232) exited]
[Thread 0x7fff5211e700 (LWP 22233) exited]
[Thread 0x7fff5091b700 (LWP 22230) exited]

Thread 1 "subsurface" received signal SIGSEGV, Segmentation fault.
0x00007fffef3b51a6 in strlen () from /usr/lib/

Any hints?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the subsurface mailing list