On Sat, Aug 17, 2024 at 01:22:17PM +0200, Walter Alejandro Iglesias wrote:
> Today after upgrading to latest snapshot xenodm hanged for a while.
> During the hang I couldn't ssh from another machine.  I had to reboot as
> single user, comment out xenodm flag in /etc/rc.conf.local and reboot.
> Using startx happened the same, the problem is with Xorg, it hangs
> during several minutes and segfaults.
> 
> I tried changing from modesetting to intel driver but that didn't solve
> the problem.
> 
> I also upgraded to latest snapshot in my laptop which also has a intel
> integrated graphics and there Xorg starts correctly.  So, the problem is
> only with this machine.
> 
> 

After two days compiling and recompiling X (and bothering Matthieu) I
found this:

  https://marc.info/?l=openbsd-misc&m=172406679122775&w=2

I updated /usr/src, recompiled *the kernel*, reboot and the issue is
gone.  This means it was surely because the drm bug Jonathan Gray
reported in misc@.

(By the way, I reported this on bugs@ on Aug 17.)


   ***

Anyways, for the next time, I'd like some expert to explain me the
following.  Why after doing this...

  $ cd /usr/xenocara/xserver  
  $ doas make -f Makefile.bsd-wrapper build CFLAGS="-g"

Then I ran startx (had to wait ~3 minutes hang, the first 2 minutes with
a black screen and another one with the system still unresponsive, even
to ssh access from another machine.) andd get the Xorg.core.

... I get no symbols:

  $ gdb $(which X) Xorg.core
  Core was generated by `Xorg'.
  Program terminated with signal 6, Aborted.
  #0  0x000006d59a47b95b in ?? ()
  (gdb) bt f
  #0  0x000006d59a47b95b in ?? ()
  No symbol table info available.
  (gdb) thread 2
  [Switching to thread 2 (process 513325)]#0  0x000006d59a4086db in ?? ()
  (gdb) bt f
  #0  0x000006d59a4086db in ?? ()
  No symbol table info available.
  (gdb) thread 3
  [Switching to thread 3 (process 280356)]#0  0x000006d59a4086db in ?? ()
  (gdb) bt f
  #0  0x000006d59a4086db in ?? ()
  No symbol table info available.
  (gdb) thread 4
  [Switching to thread 4 (process 230855)]#0  0x000006d59a4086db in ?? ()
  (gdb) bt f
  #0  0x000006d59a4086db in ?? ()
  No symbol table info available.
  (gdb) quit

-- 
Walter

Reply via email to