Comments (11)
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?
from p2pvc.
170x50 segfaults as well. should i recompile with debug symbols?
from p2pvc.
yea that'd be useful. I can't seem to replicate the error. what OS/version of open cv are you using?
from p2pvc.
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.
from p2pvc.
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
#0 0xb7fdcbcc in __kernel_vsyscall ()
No symbol table info available.
#1 0xb77f7ca7 in raise () from /usr/lib/libc.so.6
No symbol table info available.
#2 0xb77f92e9 in abort () from /usr/lib/libc.so.6
No symbol table info available.
#3 0xb7485de5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
No symbol table info available.
#4 0xb74838e3 in __cxxabiv1::__terminate(void (*)()) () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5 0xb748395d in std::terminate() () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6 0xb7483c21 in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7 0xb7e28e8c in cv::error(cv::Exception const&) () from /usr/lib/libopencv_core.so.2.4
No symbol table info available.
#8 0xb7ab3345 in cv::resize(cv::_InputArray const&, cv::OutputArray const&, cv::Size, double, double, int) () from /usr/lib/libopencv_imgproc.so.2.4
No symbol table info available.
#9 0xb7abf1ba in cvResize () from /usr/lib/libopencv_imgproc.so.2.4
No symbol table info available.
#10 0x0804eed2 in start_video ()
No symbol table info available.
#11 0x08049e11 in main ()
No symbol table info available.
from p2pvc.
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
#0 0xb7fdcbcc in __kernel_vsyscall ()
#1 0xb77f7ca7 in raise () from /usr/lib/libc.so.6
#2 0xb77f92e9 in abort () from /usr/lib/libc.so.6
#3 0xb7485de5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#4 0xb74838e3 in __cxxabiv1::__terminate(void (_)()) () from /usr/lib/libstdc++.so.6
#5 0xb748395d in std::terminate() () from /usr/lib/libstdc++.so.6
#6 0xb7483c21 in __cxa_throw () from /usr/lib/libstdc++.so.6
#7 0xb7e28e8c in cv::error(cv::Exception const&) () from /usr/lib/libopencv_core.so.2.4
#8 0xb7ab3345 in cv::resize(cv::InputArray const&, cv::OutputArray const&, cv::Size, double, double, int) () from /usr/lib/libopencv_imgproc.so.2.4
#9 0xb7abf1ba in cvResize () from /usr/lib/libopencv_imgproc.so.2.4
#10 0x0804f208 in start_video (peer=0xbffffbb9 "127.0.0.1", port=0x805275b "55556", vopt=0xbffff934) at src/video.c:109
#11 0x08049f16 in main (argc=6, argv=0xbffffa34) at src/p2pvc.c:168
(gdb) bt full
#0 0xb7fdcbcc in __kernel_vsyscall ()
No symbol table info available.
#1 0xb77f7ca7 in raise () from /usr/lib/libc.so.6
No symbol table info available.
#2 0xb77f92e9 in abort () from /usr/lib/libc.so.6
No symbol table info available.
#3 0xb7485de5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
No symbol table info available.
#4 0xb74838e3 in __cxxabiv1::__terminate(void ()()) () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5 0xb748395d in std::terminate() () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6 0xb7483c21 in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7 0xb7e28e8c in cv::error(cv::Exception const&) () from /usr/lib/libopencv_core.so.2.4
No symbol table info available.
#8 0xb7ab3345 in cv::resize(cv::_InputArray const&, cv::OutputArray const&, cv::Size, double, double, int) () from /usr/lib/libopencv_imgproc.so.2.4
No symbol table info available.
#9 0xb7abf1ba in cvResize () from /usr/lib/libopencv_imgproc.so.2.4
No symbol table info available.
#10 0x0804f208 in start_video (peer=0xbffffbb9 "127.0.0.1", port=0x805275b "55556", vopt=0xbffff934) at src/video.c:109
line_index =
dopt = {intensity_threshold = 0, saturation = -1, ascii_values = 0x0, monochrome = 0, r = 0 '\000', g = 0 '\000', b = 0 '\000'}
thr = 2946497344
color_img =
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
#11 0x08049f16 in main (argc=6, argv=0xbffffa34) at src/p2pvc.c:168
thr = 2956561216
netopts = {ipaddr = 0xbffffbb9 "127.0.0.1", port = 0x8052761 "55555"}
peer =
audio_port =
video_port =
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 =
print_error =
c =
width = 120
height = 0
(gdb) quit
A debugging session is active.
Inferior 1 [process 2686] will be killed.
from p2pvc.
what was your command line input? -d 120x0
?
from p2pvc.
127.0.0.1 -v -b -d 120x130
from p2pvc.
same with colon as a delimiter. i can see height = 0 in backtrace
from p2pvc.
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
from p2pvc.
thank you, that did it. i can now safely go with 205x82
from p2pvc.
Related Issues (20)
- Feature Request: Use Terminal Colors HOT 2
- No Video and CPU usage at 100% HOT 2
- Dependency issues in Mint 17.1 (Ubuntu 14.04) HOT 3
- OSX 10.10.1 HOT 8
- off subject HOT 1
- I can't install p2pvc HOT 1
- Multiple people can connect to the same instance at the same time HOT 1
- Completion of error handling
- Addition of a build system generator HOT 4
- custom font for better quality video? HOT 5
- make failed
- OS X 10.10.4 HOT 1
- Error around make HOT 4
- Command for installation in ubuntu is not working for linux mint
- Error when excute make HOT 2
- "Error: homebrew/science was deprecated." HOT 1
- compiltion error
- Host side ascii processing for bandwidth?
- ./p2pvc: is a directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from p2pvc.