[Bug 268033] x11/xscreensaver: Crashing and dumping core on unlock

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

--- Comment #3 from Duncan Bayne <[email protected]> ---
This is proving tricky to debug :)

I've added:

WITH_DEBUG_PORTS=x11/xscreensaver

... to /etc/make.conf, rebuilt xscreensaver, and I'm running it with lldb. 
However when the segfault happens it leaves the screen locked, preventing me
from interacting further with lldb.

I can unlock the system by switching to a different virtual console and killing
lldb, but that obviously stops the debugging session.  

Anyways, this is what I've been able to glean so far:

Process 35829 stopped
* thread #1, name = 'xscreensaver-aut', stop reason = signal SIGSEGV: invalid
address (fault address: 0x0)
    frame #0: 0x000000080066fe84 libc.so.7`strlen + 84
libc.so.7`strlen:
->  0x80066fe84 <+84>: movq   (%rdi), %r11
    0x80066fe87 <+87>: leaq   (%r11,%r8), %rcx
    0x80066fe8b <+91>: notq   %r11
    0x80066fe8e <+94>: andq   %r11, %rcx
((lldb) Terminated

(Terminated here is when I kill lldb from the virtual console).

-- 
You are receiving this mail because:
You are on the CC list 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.