Closed jose1711 closed 9 years ago
Whoops didn't mean to close that. This is surprising because the default width is 100. I've been testing -d 170x50 pretty rigorously, perhaps you could give that a go?
170x50 segfaults as well. should i recompile with debug symbols?
yea that'd be useful. I can't seem to replicate the error. what OS/version of open cv are you using?
Height more than 99 chars works well for me, even 1000 works, but height more than 433 segfaults. OS X 10.9.5, opencv 2.4.10.1
UPDATE: It doesn’t depend on exact value of height, or width, but both of them. I’m on the meeting, so I can’t provide more detail now.
arch linux (current), opencv 2.4.10-2
[Thread 0xaa84fb40 (LWP 22597) exited] [New Thread 0xaa84fb40 (LWP 22598)] [New Thread 0xa5efeb40 (LWP 22599)] [New Thread 0xa54ffb40 (LWP 22600)] [New Thread 0xa4cfeb40 (LWP 22601)] [New Thread 0xa04fcb40 (LWP 22602)] [39;49m Program received signal SIGABRT, Aborted. 0xb7fdcbcc in __kernel_vsyscall () (gdb) bt full
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
possibly better backtrace:
Starting program: /usr/bin/p2pvc 127.0.0.1 -v -b -d 120x130 warning: Could not load shared library symbols for linux-gate.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0xb0d99b40 (LWP 2690)] [New Thread 0xb0398b40 (LWP 2691)] [1;82r[0;10m[4l[?7h[?25l[?1c[New Thread 0xaf9ffb40 (LWP 2692)] [New Thread 0xaa871b40 (LWP 2693)] [Thread 0xaa871b40 (LWP 2693) exited] [New Thread 0xaa871b40 (LWP 2694)] [Thread 0xaa871b40 (LWP 2694) exited] [New Thread 0xaa871b40 (LWP 2695)] [Thread 0xaa871b40 (LWP 2695) exited] [New Thread 0xaa871b40 (LWP 2696)] [Thread 0xaa871b40 (LWP 2696) exited] [New Thread 0xaa871b40 (LWP 2697)] [New Thread 0xa5efeb40 (LWP 2698)] [New Thread 0xa54ffb40 (LWP 2699)] [New Thread 0xa4cfeb40 (LWP 2700)] [New Thread 0xa44fdb40 (LWP 2701)] [39;49m Program received signal SIGABRT, Aborted. 0xb7fdcbcc in __kernel_vsyscall () (gdb) bt
(gdb) bt full
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
line_index = <optimized out>
dopt = {intensity_threshold = 0, saturation = -1, ascii_values = 0x0, monochrome = 0, r = 0 '\000', g = 0 '\000', b = 0 '\000'}
thr = 2946497344
color_img = <optimized out>
resize_img = 0x808db70
edge = 0x808dc10
line_buffer = 0xbffff710 ""
tim = {tv_sec = 0, tv_nsec = 49999999}
actual_tim = {tv_sec = 0, tv_nsec = 8388608}
kernel = 7
thr = 2956561216
netopts = {ipaddr = 0xbffffbb9 "127.0.0.1", port = 0x8052761 "55555"}
peer = <optimized out>
audio_port = <optimized out>
video_port = <optimized out>
vopt = {width = 120, height = 0, depth = 0, disp_bandwidth = 1, render_type = 0, refresh_rate = 20, intensity_threshold = 0, saturation = -1, monochrome = 0, r = 0 '\000', g = 0 '\000',
b = 0 '\000', ascii_values = 0x0, edge_filter = 0, edge_lower = 0, edge_upper = 0}
spawn_video = <optimized out>
print_error = <optimized out>
c = <optimized out>
width = 120
height = 0
(gdb) quit A debugging session is active.
Inferior 1 [process 2686] will be killed.
what was your command line input? -d 120x0
?
127.0.0.1 -v -b -d 120x130
same with colon as a delimiter. i can see height = 0 in backtrace
yup, that code actually broke on some versions of gcc. swapped it out with better code. pull the latest it should be fixed. removed the : option for simplicity
thank you, that did it. i can now safely go with 205x82
as soon as i define video width of more than 99 chars, p2pvc segfaults