[Bug 287078] multimedia/cheese: fails to show images/video for a working webcam

[email protected]
Newsgroups gmane.os.freebsd.devel.gnome
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287078

--- Comment #3 from Marcin Cieślak <[email protected]> ---
here's the webcamd side of things:

Thread 15 hit Breakpoint 1, vb2_core_expbuf (q=0x801e872e0, fd=0x7fffde5f0cc0, 
    type=1, index=4294967295, plane=4294967295, flags=1048578)
    at media_tree/drivers/media/common/videobuf2/videobuf2-core.c:2192
2192            struct vb2_buffer *vb = NULL;
(gdb) p *q
$1 = {type = 1, io_modes = 19, dev = 0x0, dma_attrs = 0, bidirectional = 0, 
  fileio_read_once = 0, fileio_write_immediately = 0, allow_zero_bytesused = 0, 
  quirk_poll_must_check_waiting_for_buffers = 1, supports_requests = 0, 
  requires_requests = 0, uses_qbuf = 0, uses_requests = 0, 
  allow_cache_hints = 0, non_coherent_mem = 0, lock = 0x801e87510, owner = 0x0, 
  ops = 0x1675f80 <uvc_queue_qops>, mem_ops = 0x166d198 <vb2_vmalloc_memops>, 
  buf_ops = 0x166d158 <v4l2_buf_ops>, drv_priv = 0x801e872e0, 
  subsystem_flags = 0, buf_struct_size = 984, timestamp_flags = 73728, 
  gfp_flags = 0, min_buffers_needed = 0, alloc_devs = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}, mmap_lock = {sem = {value = 1, 
      owner = 0xffffffffffffffff}}, memory = 0, dma_dir = (unknown: 0x1), 
  bufs = {0x0 <repeats 32 times>}, num_buffers = 0, queued_list = {
    next = 0x801e874a8, prev = 0x801e874a8}, queued_count = 0, 
  owned_by_drv_count = {counter = 0}, done_list = {next = 0x801e874c0, 
    prev = 0x801e874c0}, done_lock = {<No data fields>}, done_wq = {
    sleep_ref = 0, sleep_count = 0, do_selwakeup = 0}, streaming = 0, 
  start_streaming_called = 0, error = 0, waiting_for_buffers = 0, 
  waiting_in_dqbuf = 0, is_multiplanar = 0, is_output = 0, copy_timestamp = 0, 
  last_buffer_dequeued = 0, fileio = 0x0, threadio = 0x0, 
  name = "cap-0x801e872e0", '\000' <repeats 16 times>}
(gdb) p index
$2 = 4294967295
(gdb) p (int)index
$3 = -1
(gdb) p (int)plane
$4 = -1
(gdb) list
2187    }
2188    
2189    int vb2_core_expbuf(struct vb2_queue *q, int *fd, unsigned int type,
2190                    unsigned int index, unsigned int plane, unsigned int
flags)
2191    {
2192            struct vb2_buffer *vb = NULL;
2193            struct vb2_plane *vb_plane;
2194            int ret;
2195            struct dma_buf *dbuf;
2196    
(gdb) n
2197            if (q->memory != VB2_MEMORY_MMAP) {
(gdb) p q->memory
$5 = 0
(gdb) n
2198                    dprintk(q, 1, "queue is not currently set up for
mmap\n");

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.