https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295788
--- Comment #15 from Roger Olofsson <[email protected]> ---
(In reply to Gleb Popov from comment #14)
Process 2535 stopped
* thread #1, name = 'Xorg', stop reason = instruction step into
frame #0: 0x000000083fbb7a03 crocus_dri.so`i915_gem_create_context(fd=17,
context_id=0x00000008211dcbf4) at intel_gem.c:34:39
31 bool
32 i915_gem_create_context(int fd, uint32_t *context_id)
33 {
-> 34 struct drm_i915_gem_context_create create = {};
35 if (intel_ioctl(fd, DRM_IOCTL_I915_GEM_CONTEXT_CREATE, &create))
36 return false;
37 *context_id = create.ctx_id;
(lldb) thread variable
invalid command 'thread variable'.
(lldb) frame variable
(int) fd = 17
(uint32_t *) context_id = 0x00000008211dcbf4
(drm_i915_gem_context_create) create = (ctx_id = 0, pad = 4096)
(lldb) si
Process 2535 stopped
* thread #1, name = 'Xorg', stop reason = instruction step into
frame #0: 0x000000083fbb7a08 crocus_dri.so`i915_gem_create_context(fd=17,
context_id=0x00000008211dcbf4) at intel_gem.c:34:39
31 bool
32 i915_gem_create_context(int fd, uint32_t *context_id)
33 {
-> 34 struct drm_i915_gem_context_create create = {};
35 if (intel_ioctl(fd, DRM_IOCTL_I915_GEM_CONTEXT_CREATE, &create))
36 return false;
37 *context_id = create.ctx_id;
(lldb) frame variable
(int) fd = 17
(uint32_t *) context_id = 0x00000008211dcbf4
(drm_i915_gem_context_create) create = (ctx_id = 0, pad = 4096)
(lldb) si
Process 2535 stopped
* thread #1, name = 'Xorg', stop reason = instruction step into
frame #0: 0x0000000840352bf0 crocus_dri.so`memset
crocus_dri.so`memset:
-> 0x840352bf0 <+0>: jmpq *0x6d3c2(%rip)
0x840352bf6 <+6>: pushq $0x6
0x840352bfb <+11>: jmp 0x840352b80
crocus_dri.so`memmove:
0x840352c00 <+0>: jmpq *0x6d3ba(%rip)
(lldb) print fd
error: <user expression 2>:1:1: use of undeclared identifier 'fd'
1 | fd
| ^
(lldb) process status
Process 2535 stopped
* thread #1, name = 'Xorg', stop reason = instruction step into
frame #0: 0x0000000840352bf0 crocus_dri.so`memset
crocus_dri.so`memset:
-> 0x840352bf0 <+0>: jmpq *0x6d3c2(%rip)
0x840352bf6 <+6>: pushq $0x6
0x840352bfb <+11>: jmp 0x840352b80
crocus_dri.so`memmove:
0x840352c00 <+0>: jmpq *0x6d3ba(%rip)
(lldb) platform shell procstat -f 2535
PID COMM FD T V FLAGS REF OFFSET PRO NAME
2535 Xorg text v r r------- - - -
/usr/local/libexec/Xorg
2535 Xorg ctty v c rw------ - - - /dev/pts/0
2535 Xorg cwd v d r------- - - - /root
2535 Xorg root v d r------- - - - /
2535 Xorg 0 v c r------- 1 0 - /dev/pts/1
2535 Xorg 1 v c -w------ 1 287 - /dev/pts/1
2535 Xorg 2 v c -w------ 1 1629 - /dev/pts/1
2535 Xorg 3 v r -w------ 1 5810 - /var/log/Xorg.1.log
2535 Xorg 4 s - rw------ 1 0 UDS 0 0 /tmp/.X11-unix/X1
2535 Xorg 5 v r r------- 1 25699 -
/usr/local/lib/xorg/protocol.txt
2535 Xorg 6 p - rw------ 1 0 - -
2535 Xorg 7 p - rw------ 1 0 - -
2535 Xorg 8 s - rw------ 1 0 UDQ
/var/run/devd.seqpacket.pipe
2535 Xorg 9 v c rw------ 1 0 - /dev/pci
2535 Xorg 10 v c rw------ 1 0 - /dev/mem
2535 Xorg 11 v c rw------ 1 0 - /dev/pci
2535 Xorg 12 v c rw---n-- 1 0 - /dev/ttyv8
2535 Xorg 13 v c rw------ 1 0 - /dev/io
2535 Xorg 14 v c rw------ 5 0 - /dev/drm/0
2535 Xorg 15 v c rw------ 5 0 - /dev/drm/0
2535 Xorg 16 v c rw------ 5 0 - /dev/drm/0
2535 Xorg 17 v c rw------ 5 0 - /dev/drm/0
2535 Xorg 18 v c rw------ 5 0 - /dev/drm/0
(lldb)
Roger
--
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.