On Mon, Jun 12, 2023 at 04:17:18PM +0200, Peter N. M. Hansteen wrote:
> On Mon, Jun 12, 2023 at 03:51:10PM +0200, Sebastien Marie wrote:
> > On Mon, Jun 12, 2023 at 03:40:26PM +0200, Peter N. M. Hansteen wrote:
> > > 
> > > [Mon Jun 12 15:28:27] peter@zaida:~$ ls -l *core
> > > -rw-------  1 peter  peter  1701245120 Jun  8 17:55 thunderbird.core
> > > -rw-------  1 peter  peter     2102496 Jun 12 15:25 xfce4-session.core
> > 
> > thunderbird.core date is older, and I am unsure it is present in your 
> > .xsession.
> 
> Yes, while that program has its own problems it is not really relevant to the 
> issue
> at hand here.
> 
> > But xfce4-session is a good candidate for Xorg terminaison.
> > 
> > Could you extract a backtrace with egdb ?
> 
> I got this, 
> 
> [Mon Jun 12 16:13:38] peter@zaida:~$ egdb /usr/local/bin/xfce4-session 
> xfce4-session.core
> GNU gdb (GDB) 9.2
> Copyright (C) 2020 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 "x86_64-unknown-openbsd7.3".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
>     <http://www.gnu.org/software/gdb/documentation/>.
> 
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from /usr/local/bin/xfce4-session...
> (No debugging symbols found in /usr/local/bin/xfce4-session)
> [New process 381396]
> Core was generated by `xfce4-session'.
> Program terminated with signal SIGILL, Illegal instruction.
> #0  0x00000f09381e8660 in _start ()
> (gdb) bt
> #0  0x00000f09381e8660 in _start ()
> (gdb) trace
> Tracepoint 1 at 0xf09381e8660
> (gdb)
> 
> with some instruction I might be able to extract more information.
> 

failing in _start is odd. it look like the binary wasn't build with 
cf-protection=branch, and the compiler has it since few weeks now (since 
2023-04-26 exactly).

Could you check the signature date of your package ?

$ grep @digital-signature /var/db/pkg/xfce4-session-*/+CONTENTS       
@digital-signature signify2:2023-06-10T10:18:49Z:external

it could be a good indication for the build date.


In gdb, could you get the 'disassemble' output (beware, it could be long) ? I 
am 
interested to the current instructions (to ensure that it is failing in a jmp). 
It could permit to check that the backtrace is right.

Thanks.
-- 
Sebastien Marie

Reply via email to