segfault with latest master

Anton Lundin glance at acc.umu.se
Tue Nov 1 13:03:08 PDT 2016


On 01 November, 2016 - Pedro Neves wrote:

> On 01-11-2016 18:13, Tomaz Canabrava wrote:
> >You have a build directory inside subsurface ser folder, Just go
> >there and use cmake .. -dcmake_build_type=debug and then run make.
> >
> >
> Doesn't see to change much, does it?
> 
> Starting program: /home/XXXX/Diveapps/subsurface/build/subsurface subsurface
...
> subsurface:1: parser error : Start tag expected, '<' not found
> ELF
> ^

...

You're giving subsurface the subsurface binary as first argument, and
then subsurface tries to parse that binary file as xml and fails.

> Thread 1 "subsurface" received signal SIGSEGV, Segmentation fault.
> 0x00007fffef53b446 in strlen () from /usr/lib/libc.so.6
> 

That said, it shouldn't cause it to SEGV, just to show you an error:
"Failed to parse 'subsurface'"

Can you type "bt full" in the gdb prompt and post the stacktrace?


//Anton


-- 
Anton Lundin	+46702-161604


More information about the subsurface mailing list