ankurgupta26 / sentience

Automatically exported from code.google.com/p/sentience
0 stars 1 forks source link

Core dump when trying to run v4l2stereo on Ubuntu 12.04 on 64 bit machine #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Link with -lcvm_em64t instead of -lcvm_ia32 and compile v4l2stereo
2. Run ./v4l2stereo -0 /dev/video1 -1 /dev/video0 --features

What is the expected output? What do you see instead?
Expected video from both cameras, however i see a segfault instead.

What version of the product are you using? On what operating system?
Ubuntu 12.04, 64bit machine - HP Envy 4 ultrabook

Please provide any additional information below:
core dump:

~/Downloads/v4l2stereo master?$ ./v4l2stereo -0 /dev/video1 -1 /dev/video0 
--features buffer overflow detected : ./v4l2stereo terminated

Backtrace:
/lib/x86_64-linux-gnu/libc.so.6(fortify_fail+0x37)0x7fcd82698807? 
/lib/x86_64-linux-gnu/libc.so.6(+0x109700)0x7fcd82697700? ./v4l2stereo0x40b2b6? 
./v4l2stereo0x404a75? 
/lib/x86_64-linux-gnu/libc.so.6(libc_start_main+0xed)0x7fcd825af76d? 
./v4l2stereo0x40acc1?

Memory map:

00400000-0047a000 r-xp 00000000 08:01 4720903
/home/gagan/Downloads/v4l2stereo/v4l2stereo 00679000-0067a000 r--p 00079000 
08:01 4720903
/home/gagan/Downloads/v4l2stereo/v4l2stereo 0067a000-0067b000 rw-p 0007a000 
08:01 4720903
/home/gagan/Downloads/v4l2stereo/v4l2stereo 012f9000-0131a000 rw-p 00000000 
00:00 0
heap? 7fcd789d8000-7fcd789dd000 r-xp 00000000 08:01 5119171
/usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7fcd789dd000-7fcd78bdc000 ---p 
00005000 08:01 5119171
/usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7fcd78bdc000-7fcd78bdd000 r--p 
00004000 08:01 5119171
/usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7fcd78bdd000-7fcd78bde000 rw-p 
00005000 08:01 5119171
/usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7fcd78bde000-7fcd78be0000 r-xp 
00000000 08:01 5119160
/usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7fcd78be0000-7fcd78ddf000 ---p 
00002000 08:01 5119160
/usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7fcd78ddf000-7fcd78de0000 r--p 
00001000 08:01 5119160
/usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7fcd78de0000-7fcd78de1000 rw-p 
00002000 08:01 5119160
/usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7fcd78de1000-7fcd78e56000 r-xp 
00000000 08:01 5119572
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.16.0 7fcd78e56000-7fcd79055000 ---p 
00075000 08:01 5119572
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.16.0 7fcd79055000-7fcd79057000 r--p 
00074000 08:01 5119572
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.16.0 7fcd79057000-7fcd7905c000 rw-p 
00076000 08:01 5119572
/usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.16.0 7fcd7905c000-7fcd79062000 r-xp 
00000000 08:01 5119570
/usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7fcd79062000-7fcd79261000 ---p 
00006000 08:01 5119570
/usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7fcd79261000-7fcd79262000 r--p 
00005000 08:01 5119570
/usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7fcd79262000-7fcd79263000 rw-p 
00006000 08:01 5119570
/usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7fcd79263000-7fcd7928a000 r-xp 
00000000 08:01 1189577
/lib/x86_64-linux-gnu/libexpat.so.1.5.2 7fcd7928a000-7fcd7948a000 ---p 00027000 
08:01 1189577
/lib/x86_64-linux-gnu/libexpat.so.1.5.2 7fcd7948a000-7fcd7948c000 r--p 00027000 
08:01 1189577
/lib/x86_64-linux-gnu/libexpat.so.1.5.2 7fcd7948c000-7fcd7948d000 rw-p 00029000 
08:01 1189577
/lib/x86_64-linux-gnu/libexpat.so.1.5.2 7fcd7948d000-7fcd794a5000 r-xp 00000000 
08:01 1185246
/lib/x86_64-linux-gnu/libresolv-2.15.so 7fcd794a5000-7fcd796a5000 ---p 00018000 
08:01 1185246
/lib/x86_64-linux-gnu/libresolv-2.15.so 7fcd796a5000-7fcd796a6000 r--p 00018000 
08:01 1185246
/lib/x86_64-linux-gnu/libresolv-2.15.so 7fcd796a6000-7fcd796a7000 rw-p 00019000 
08:01 1185246
/lib/x86_64-linux-gnu/libresolv-2.15.so 7fcd796a7000-7fcd796a9000 rw-p 00000000 
00:00 0  7fcd796a9000-7fcd796c6000 r-xp 00000000 08:01 1183352
/lib/x86_64-linux-gnu/libselinux.so.1 7fcd796c6000-7fcd798c5000 ---p 0001d000 
08:01 1183352
/lib/x86_64-linux-gnu/libselinux.so.1 7fcd798c5000-7fcd798c6000 r--p 0001c000 
08:01 1183352
/lib/x86_64-linux-gnu/libselinux.so.1 7fcd798c6000-7fcd798c7000 rw-p 0001d000 
08:01 1183352
/lib/x86_64-linux-gnu/libselinux.so.1 7fcd798c7000-7fcd798c8000 rw-p 00000000 
00:00 0  7fcd798c8000-7fcd798d0000 r-xp 00000000 08:01 5116894
/usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0 7fcd798d0000-7fcd79ad0000 ---p 
00008000 08:01 5116894
/usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0 7fcd79ad0000-7fcd79ad1000 r--p 
00008000 08:01 5116894
/usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0 7fcd79ad1000-7fcd79ad2000 rw-p 
00009000 08:01 5116894
/usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0 7fcd79ad2000-7fcd79ad4000 r-xp 
00000000 08:01 5116898
/usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0 7fcd79ad4000-7fcd79cd3000 ---p 
00002000 08:01 5116898
/usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0 7fcd79cd3000-7fcd79cd4000 r--p 
00001000 08:01 5116898
/usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0 7fcd79cd4000-7fcd79cd5000 rw-p 
00002000 08:01 5116898
/usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0 7fcd79cd5000-7fcd79d56000 r-xp 
00000000 08:01 5119602
/usr/lib/x86_64-linux-gnu/libpixman-1.so.0.24.4 7fcd79d56000-7fcd79f55000 ---p 
00081000 08:01 5119602
/usr/lib/x86_64-linux-gnu/libpixman-1.so.0.24.4 7fcd79f55000-7fcd79f5b000 r--p 
00080000 08:01 5119602
/usr/lib/x86_64-linux-gnu/libpixman-1.so.0.24.4 7fcd79f5b000-7fcd79f5c000 rw-p 
00086000 08:01 5119602
/usr/lib/x86_64-linux-gnu/libpixman-1.so.0.24.4 7fcd79f5c000-7fcd79f79000 r-xp 
00000000 08:01 5112621
/usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7fcd79f79000-7fcd7a178000 ---p 
0001d000 08:01 5112621
/usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7fcd7a178000-7fcd7a179000 r--p 
0001c000 08:01 5112621
/usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7fcd7a179000-7fcd7a17a000 rw-p 
0001d000 08:01 5112621
/usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7fcd7a17a000-7fcd7a210000 r-xp 
00000000 08:01 5119353
/usr/lib/x86_64-linux-gnu/libfreetype.so.6.8.0 7fcd7a210000-7fcd7a40f000 ---p 
00096000 08:01 5119353
/usr/lib/x86_64-linux-gnu/libfreetype.so.6.8.0 7fcd7a40f000-7fcd7a415000 r--p 
00095000 08:01 5119353
/usr/lib/x86_64-linux-gnu/libfreetype.so.6.8.0 7fcd7a415000-7fcd7a416000 rw-p 
0009b000 08:01 5119353
/usr/lib/x86_64-linux-gnu/libfreetype.so.6.8.0 7fcd7a416000-7fcd7a425000 r-xp 
00000000 08:01 1183263
/lib/x86_64-linux-gnu/libbz2.so.1.0.4 7fcd7a425000-7fcd7a624000 ---p 0000f000 
08:01 1183263
/lib/x86_64-linux-gnu/libbz2.so.1.0.4 7fcd7a624000-7fcd7a625000 r--p 0000e000 
08:01 1183263
/lib/x86_64-linux-gnu/libbz2.so.1.0.4 7fcd7a625000-7fcd7a626000 rw-p 0000f000 
08:01 1183263
/lib/x86_64-linux-gnu/libbz2.so.1.0.4 7fcd7a626000-7fcd7a636000 r-xp 00000000 
08:01 5121853
/usr/lib/x86_64-linux-gnu/libva.so.1.3200.0 7fcd7a636000-7fcd7a835000 ---p 
00010000 08:01 5121853
/usr/lib/x86_64-linux-gnu/libva.so.1.3200.0 7fcd7a835000-7fcd7a836000 r--p 
0000f000 08:01 5121853
/usr/lib/x86_64-linux-gnu/libva.so.1.3200.0 7fcd7a836000-7fcd7a837000 rw-p 
00010000 08:01 5121853
/usr/lib/x86_64-linux-gnu/libva.so.1.3200.0 7fcd7a837000-7fcd7a83c000 rw-p 
00000000 00:00 0  7fcd7a83c000-7fcd7a848000 r-xp 00000000 08:01 5121849
/usr/lib/libgsm.so.1.0.12 7fcd7a848000-7fcd7aa48000 ---p 0000c000 08:01 5121849
/usr/lib/libgsm.so.1.0.12 7fcd7aa48000-7fcd7aa49000 r--p 0000c000 08:01 5121849
/usr/lib/libgsm.so.1.0.12 7fcd7aa49000-7fcd7aa4a000 rw-p 0000d000 08:01 5121849
/usr/lib/libgsm.so.1.0.12 7fcd7aa4a000-7fcd7aaf9000 r-xp 00000000 08:01 5121851
/usr/lib/libschroedinger-1.0.so.0.11.0 7fcd7aaf9000-7fcd7acf9000 ---p 000af000 
08:01 5121851
/usr/lib/libschroedinger-1.0.so.0.11.0 7fcd7acf9000-7fcd7acfb000 r--p 000af000 
08:01 5121851
/usr/lib/libschroedinger-1.0.so.0.11.0 7fcd7acfb000-7fcd7acfc000 rw-p 000b1000 
08:01 5121851
/usr/lib/libschroedinger-1.0.so.0.11.0 7fcd7acfc000-7fcd7acfd000 rw-p 00000000 
00:00 0  7fcd7acfd000-7fcd7ad14000 r-xp 00000000 08:01 5119673
/usr/lib/x86_64-linux-gnu/libspeex.so.1.5.0 7fcd7ad14000-7fcd7af14000 ---p 
00017000 08:01 5119673
/usr/lib/x86_64-linux-gnu/libspeex.so.1.5.0 7fcd7af14000-7fcd7af15000 r--p 
00017000 08:01 5119673
/usr/lib/x86_64-linux-gnu/libspeex.so.1.5.0 7fcd7af15000-7fcd7af16000 rw-p 
00018000 08:01 5119673
/usr/lib/x86_64-linux-gnu/libspeex.so.1.5.0 7fcd7af16000-7fcd7af2f000 r-xp 
00000000 08:01 5119703
/usr/lib/x86_64-linux-gnu/libtheoradec.so.1.1.4 7fcd7af2f000-7fcd7b12f000 ---p 
00019000 08:01 5119703
/usr/lib/x86_64-linux-gnu/libtheoradec.so.1.1.4 7fcd7b12f000-7fcd7b130000 r--p 
00019000 08:01 5119703
/usr/lib/x86_64-linux-gnu/libtheoradec.so.1.1.4 7fcd7b130000-7fcd7b131000 rw-p 
0001a000 08:01 5119703
/usr/lib/x86_64-linux-gnu/libtheoradec.so.1.1.4 7fcd7b131000-7fcd7b16c000 r-xp 
00000000 08:01 5119705
/usr/lib/x86_64-linux-gnu/libtheoraenc.so.1.1.2 7fcd7b16c000-7fcd7b36c000 ---p 
0003b000 08:01 5119705
/usr/lib/x86_64-linux-gnu/libtheoraenc.so.1.1.2 7fcd7b36c000-7fcd7b36d000 r--p 
0003b000 08:01 5119705
/usr/lib/x86_64-linux-gnu/libtheoraenc.so.1.1.2 7fcd7b36d000-7fcd7b36e000 rw-p 
0003c000 08:01 5119705
/usr/lib/x86_64-linux-gnu/libtheoraenc.so.1.1.2 7fcd7b36e000-7fcd7b399000 r-xp 
00000000 08:01 5119728
/usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5 7fcd7b399000-7fcd7b598000 ---p 
0002b000 08:01 5119728
/usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5 7fcd7b598000-7fcd7b599000 r--p 
0002a000 08:01 5119728
/usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5 7fcd7b599000-7fcd7b59a000 rw-p 
0002b000 08:01 5119728
/usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5 7fcd7b59a000-7fcd7b84d000 r-xp 
00000000 08:01 5119730
/usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8 7fcd7b84d000-7fcd7ba4c000 ---p 
002b3000 08:01 5119730
/usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8 7fcd7ba4c000-7fcd7ba68000 r--p 
002b2000 08:01 5119730
/usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8 7fcd7ba68000-7fcd7ba69000 rw-p 
002ce000 08:01 5119730
/usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8 7fcd7ba69000-7fcd7bb02000 r-xp 
00000000 08:01 5121855
/usr/lib/libvpx.so.1.0.0 7fcd7bb02000-7fcd7bd01000 ---p 00099000 08:01 5121855
/usr/lib/libvpx.so.1.0.0 7fcd7bd01000-7fcd7bd03000 r--p 00098000 08:01 5121855
/usr/lib/libvpx.so.1.0.0 7fcd7bd03000-7fcd7bd04000 rw-p 0009a000 08:01 5121855
/usr/lib/libvpx.so.1.0.0 7fcd7bd04000-7fcd7bd0e000 rw-p 00000000 00:00 0  
7fcd7bd0e000-7fcd7bd10000 r-xp 00000000 08:01 5119169
/usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0 7fcd7bd10000-7fcd7bf0f000 ---p 
00002000 08:01 5119169
/usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0 7fcd7bf0f000-7fcd7bf10000 r--p 
00001000 08:01 5119169
/usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0 7fcd7bf10000-7fcd7bf11000 rw-p 
00002000 08:01 5119169
/usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0 7fcd7bf11000-7fcd7bf13000 r-xp 
00000000 08:01 5119165
/usr/lib/x86_64-linux-gnu/libXcomposite.so.1.0.0 7fcd7bf13000-7fcd7c112000 ---p 
00002000 08:01 5119165
/usr/lib/x86_64-linux-gnu/libXcomposite.so.1.0.0 7fcd7c112000-7fcd7c113000 r--p 
00001000 08:01 5119165
/usr/lib/x86_64-linux-gnu/libXcomposite.so.1.0.0 7fcd7c113000-7fcd7c114000 rw-p 
00002000 08:01 5119165
/usr/lib/x86_64-linux-gnu/libXcomposite.so.1.0.0 7fcd7c114000-7fcd7c11d000 r-xp 
00000000 08:01 5119167
/usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2 7fcd7c11d000-7fcd7c31c000 ---p 
00009000 08:01 5119167
/usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2 7fcd7c31c000-7fcd7c31d000 r--p 
00008000 08:01 5119167
/usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2 7fcd7c31d000-7fcd7c31e000 rw-p 
00009000 08:01 5119167
/usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2 7fcd7c31e000-7fcd7c326000 r-xp 
00000000 08:01 5119191
/usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0 7fcd7c326000-7fcd7c525000 ---p 
00008000 08:01 5119191
/usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0 7fcd7c525000-7fcd7c526000 r--p 
00007000 08:01 5119191
/usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0 7fcd7c526000-7fcd7c527000 rw-p 
00008000 08:01 5119191
/usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0 7fcd7c527000-7fcd7c535000 r-xp 
00000000 08:01 5119179
/usr/lib/x86_64-linux-gnu/libXi.so.6.1.0 7fcd7c535000-7fcd7c734000 ---p 
0000e000 08:01 5119179
/usr/lib/x86_64-linux-gnu/libXi.so.6.1.0 7fcd7c734000-7fcd7c735000 r--p 
0000d000 08:01 5119179
/usr/lib/x86_64-linux-gnu/libXi.so.6.1.0 7fcd7c735000-7fcd7c736000 rw-p 
0000e000 08:01 5119179
/usr/lib/x86_64-linux-gnu/libXi.so.6.1.0 7fcd7c736000-7fcd7c738000 r-xp 
00000000 08:01 5119181
/usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0 7fcd7c738000-7fcd7c937000 ---p 
00002000 08:01 5119181
/usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0 7fcd7c937000-7fcd7c938000 r--p 
00001000 08:01 5119181
/usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0 7fcd7c938000-7fcd7c939000 rw-p 
00002000 08:01 5119181
/usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0 7fcd7c939000-7fcd7c942000 r-xp 
00000000 08:01 5119193
/usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 7fcd7c942000-7fcd7cb41000 ---p 
00009000 08:01 5119193
/usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 7fcd7cb41000-7fcd7cb42000 r--p 
00008000 08:01 5119193
/usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 7fcd7cb42000-7fcd7cb43000 rw-p 
00009000 08:01 5119193
/usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 7fcd7cb43000-7fcd7cb53000 r-xp 
00000000 08:01 5119173
/usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 7fcd7cb53000-7fcd7cd52000 ---p 
00010000 08:01 5119173
/usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 7fcd7cd52000-7fcd7cd53000 r--p 
0000f000 08:01 5119173
/usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 7fcd7cd53000-7fcd7cd54000 rw-p 
00010000 08:01 5119173
/usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 7fcd7cd54000-7fcd7cd88000 r-xp 
00000000 08:01 5123527
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4 7fcd7cd88000-7fcd7cf88000 ---p 
00034000 08:01 5123527
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4 7fcd7cf88000-7fcd7cf89000 r--p 
00034000 08:01 5123527
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4 7fcd7cf89000-7fcd7cf8a000 rw-p 
00035000 08:01 5123527
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4 7fcd7cf8a000-7fcd7cfd0000 r-xp 
00000000 08:01 5115472
/usr/lib/x86_64-linux-gnu/libpango-1.0.so.0.3000.0 7fcd7cfd0000-7fcd7d1d0000 
---p 00046000 08:01 5115472
/usr/lib/x86_64-linux-gnu/libpango-1.0.so.0.3000.0 7fcd7d1d0000-7fcAborted 
(core dumped)

Original issue reported on code.google.com by gagan.g...@gmail.com on 17 Feb 2013 at 10:20