Public bug reported: Binary package hint: dvgrab
installed daily ibex, sudo modprobe vivi, dvgrab -v4l2 foo; segfault. (notice I am not reading from a real video device but using vivi so anyone should be able to repo this) [EMAIL PROTECTED]:~$ lsb_release -rd Description: Ubuntu 8.10 Release: 8.10 [EMAIL PROTECTED]:~$ apt-cache policy dvgrab dvgrab: Installed: 3.1-2.1 Candidate: 3.1-2.1 Version table: *** 3.1-2.1 0 100 /var/lib/dpkg/status 3.1-2 0 500 http://cp600 intrepid/universe Packages [EMAIL PROTECTED]:~$ dvgrab -v4l2 foo Error: v4l2reader.cc:66: In function "virtual bool v4l2Reader::Open()": "m_fd = open( m_device, O_RDWR | O_NONBLOCK, 0 )" evaluated to -1 v4l2reader.cc:66: errno: 2 (No such file or directory)terminate called without an active exception Aborted (core dumped) (compiled dvgrab with debugging symbols) [EMAIL PROTECTED]:~$ gdb GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". (gdb) file dvgrab Reading symbols from /usr/bin/dvgrab...done. (gdb) run -v4l2 foo Starting program: /usr/bin/dvgrab -v4l2 foo [Thread debugging using libthread_db enabled] [New Thread 0xb79f46c0 (LWP 1740)] [New Thread 0xb104db90 (LWP 1743)] Error: v4l2reader.cc:66: In function "virtual bool v4l2Reader::Open()": "m_fd = open( m_device, O_RDWR | O_NONBLOCK, 0 )" evaluated to -1 v4l2reader.cc:66: errno: 2 (No such file or directory)terminate called without an active exception Program received signal SIGABRT, Aborted. [Switching to Thread 0xb79f46c0 (LWP 1740)] 0xb7f58430 in __kernel_vsyscall () (gdb) bt full #0 0xb7f58430 in __kernel_vsyscall () No symbol table info available. #1 0xb7b5c880 in raise () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #2 0xb7b5e248 in abort () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #3 0xb7d5a6f8 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6 No symbol table info available. #4 0xb7d585d5 in ?? () from /usr/lib/libstdc++.so.6 No symbol table info available. #5 0xb7d58612 in std::terminate () from /usr/lib/libstdc++.so.6 No symbol table info available. #6 0xb7d586cb in __cxa_rethrow () from /usr/lib/libstdc++.so.6 No symbol table info available. #7 0x0805c2c6 in real_fail_neg (eval=-1, eval_str=0x807d840 "m_fd = open( m_device, O_RDWR | O_NONBLOCK, 0 )", func=0x807da40 "virtual bool v4l2Reader::Open()", file=0x807d780 "v4l2reader.cc", line=66) at error.cc:117 exc = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x9e13f04 "v4l2reader.cc:66: In function \"virtual bool v4l2Reader::Open()\": \"m_fd = open( m_device, O_RDWR | O_NONBLOCK, 0 )\" evaluated to -1\nv4l2reader.cc:66: errno: 2 (No such file or directory)"}} sb = <incomplete type> #8 0x08078336 in v4l2Reader::Open (this=0xb74f3008) at v4l2reader.cc:66 cap = {driver = "��\004�\220�\004��y����߷", card = "[EMAIL PROTECTED]", bus_info = "�����\237��\000\000\200\000 [EMAIL PROTECTED]", version = 3, capabilities = 2961494016, reserved = {4096, 8388608, 4096, 0}} req = {count = 2969885584, type = 2969883856, memory = 3216341432, reserved = {3086291088, 2969885656}} success = <value optimized out> __PRETTY_FUNCTION__ = "virtual bool v4l2Reader::Open()" #9 0x08077eb8 in v4l2Reader::StartThread (this=0xb74f3008) at v4l2reader.cc:169 No locals. #10 0x0805a832 in DVgrab (this=0xbfb57a28, argc=3, argv=0xbfb57be4) at dvgrab.cc:147 No locals. #11 0x08070187 in main (argc=Cannot access memory at address 0x6cc ) at main.cc:100 ---Type <return> to continue, or q <return> to quit--- c = <value optimized out> dvgrab = {m_port = -1, m_node = -1, m_program_name = 0xbfb59996 "/usr/bin/dvgrab", m_showstatus = 0, m_hdv = false, m_reader_active = true, m_input_file_name = 0x8079d24 "/dev/video", m_dst_file_name = 0xbfb599ac "foo", m_autosplit = 0, m_timestamp = 0, m_channel = 63, m_frame_count = 0, m_max_file_size = 1000, m_collection_size = 0, m_collection_min_cut_file_size = 0, m_sizesplitmode = 0, m_file_format = 5, m_open_dml = 0, m_frame_every = 1, m_jpeg_quality = 75, m_jpeg_deinterlace = 0, m_jpeg_width = -1, m_jpeg_height = -1, m_jpeg_temp = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x9ae3014 "dvtmp.jpg"}}, m_jpeg_usetemp = 0, m_jpeg_overwrite = 0, m_dropped_frames = 0, m_interactive = false, m_buffers = 100, m_total_frames = 0, m_duration = { static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x80856ec ""}}, m_timeDuration = 0x0, m_noavc = 0, m_guid = 0, m_timesys = 0, m_connection = 0x0, m_raw_pipe = false, m_no_stop = 0, m_timecode = 0, m_lockstep = 0, m_lockstep_maxdrops = -1, m_lockstep_totaldrops = -1, m_lockPending = true, m_lastTimeCode = {hour = 134762132, min = 0, sec = -1211584524, frame = 134530064}, m_isLastTimeCodeSet = false, m_lastRecDate = {tm_sec = -1078625544, tm_min = -1212809248, tm_hour = 134762080, tm_mday = 134712080, tm_mon = -1078625512, tm_year = 134533486, tm_wday = 134530064, tm_yday = 134764352, tm_isdst = 134763504, tm_gmtoff = 0, tm_zone = 0x0}, m_isLastRecDateSet = false, m_v4l2 = true, m_jvc_p25 = 0, m_24p = 0, m_24pa = 0, static m_writer = 0x0, m_captureActive = false, static capture_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' <repeats 23 times>, __align = 0}, static capture_thread = 2969885584, static watchdog_thread = 0, m_avc = 0x0, m_reader = 0xb74f3008, static m_frame = 0x0, m_transportStatus = 2522091520} s = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x8084ff4 "�N\b\bh���\200\020��p\200��0o��F�\004\bV�\004\bf�\004\bv�\004\b\206�\004\b\226�\004\bP�ҷ��\004\bƿ\004\b�\200����\004\b��\004\b����\026�\004\b&�\004\b6�\004\bF�\004\bV�\004\bf�\004\bv�\004\b\206�\004\b\226�\004\b��\004\b��\004\b��\004\b��\004\bp\005Ϸ��\004\b\006�\004\b\026�\004\b&�\004\b6�\004\bF�\004\bV�\004\bf�\004\bv�\004\b\206�\004\b\226�\004\b��\004\b��\004\b��\004\b��\004\b��\004\b��\004\bp\206շ"...}} (gdb) (gdb) ** Affects: dvgrab (Ubuntu) Importance: Undecided Status: New -- dvgrab segfault v4l2reader.cc https://bugs.launchpad.net/bugs/287381 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs