Segmentation fault in tutorial "PCL visualizer in Qt"

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Segmentation fault in tutorial "PCL visualizer in Qt"

Lacha
Hi,
I want to run this tutorial. Program compiles, but when it starts, SIGSEGV appears. Debugger shows only disassembler. Error is in line 6.

0x7fffec50c590                   b3 00                 mov    $0x0,%bl
0x7fffec50c592                   00 00                 add    %al,(%rax)
0x7fffec50c594                   00 00                 add    %al,(%rax)
0x7fffec50c596                   c6 05 93 ef b3 00 00  movb   $0x0,0xb3ef93(%rip)        # 0x7fffed04b530
0x7fffec50c59d                   48 89 05 94 ef b3 00  mov    %rax,0xb3ef94(%rip)        # 0x7fffed04b538
0x7fffec50c5a4                   f0 ff 00              lock incl (%rax)
0x7fffec50c5a7                   0f 95 c2              setne  %dl
0x7fffec50c5aa                   f0 ff 0f              lock decl (%rdi)
0x7fffec50c5ad                   0f 95 c0              setne  %al
0x7fffec50c5b0                   84 c0                 test   %al,%al
0x7fffec50c5b2                   74 1e                 je     0x7fffec50c5d2
0x7fffec50c5b4                   48 8d 15 c5 99 b3 00  lea    0xb399c5(%rip),%rdx        # 0x7fffed045f80
0x7fffec50c5bb                   48 8d 35 5e ef b3 00  lea    0xb3ef5e(%rip),%rsi        # 0x7fffed04b520
0x7fffec50c5c2                   48 8d 3d a7 19 1b 00  lea    0x1b19a7(%rip),%rdi        # 0x7fffec6bdf70
0x7fffec50c5c9                   48 83 c4 08           add    $0x8,%rsp
0x7fffec50c5cd                   e9 8e db ff ff        jmpq   0x7fffec50a160 <__cxa_atexit@plt>
0x7fffec50c5d2                   e8 a9 ed ff ff        callq  0x7fffec50b380 <_ZN7QString4freeEPNS_4DataE@plt>
0x7fffec50c5d7                   eb db                 jmp    0x7fffec50c5b4
0x7fffec50c5d9                   0f 1f 80 00 00 00 00  nopl   0x0(%rax)
0x7fffec50c5e0                   48 83 ec 08           sub    $0x8,%rsp
0x7fffec50c5e4                   8b 05 82 ef b3 00     mov    0xb3ef82(%rip),%eax        # 0x7fffed04b56c
0x7fffec50c5ea                   85 c0                 test   %eax,%eax
0x7fffec50c5ec                   75 16                 jne    0x7fffec50c604
0x7fffec50c5ee                   48 8d 3d e9 6a 6d 00  lea    0x6d6ae9(%rip),%rdi        # 0x7fffecbe30de
0x7fffec50c5f5                   48 83 ce ff           or     $0xffffffffffffffff,%rsi
0x7fffec50c5f9                   e8 a2 f7 1d 00        callq  0x7fffec6ebda0
0x7fffec50c5fe                   89 05 68 ef b3 00     mov    %eax,0xb3ef68(%rip)        # 0x7fffed04b56c
0x7fffec50c604                   48 8d 3d d3 6a 6d 00  lea    0x6d6ad3(%rip),%rdi        # 0x7fffecbe30de
 
I use PCL 1.8, VTK 6.2, Qt 5.7.0, Ubuntu 16.04 64bit.
PCL 1.8, VTK 7.0, Qt 5.7.0, Ubuntu 16.04 64bit
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Segmentation fault in tutorial "PCL visualizer in Qt"

PG1337
Do other tutorials work as expected?

How did you install PCL 1.8? Which version of Eigen3 did you install? The version in the official 16.04 repositories is buggy. Try 'wget http://launchpadlibrarian.net/209530212/libeigen3-dev_3.2.5-4_all.deb' and freeze this package, so that it will not update.
Loading...