Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 2020 09:14:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        haskell@FreeBSD.org
Subject:   [Bug 247288] devel/stack: Crashes
Message-ID:  <bug-247288-16154-1sg2K2TcC1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-247288-16154@https.bugs.freebsd.org/bugzilla/>
References:  <bug-247288-16154@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247288

--- Comment #9 from pmueller@occsilva.de <pmueller@occsilva.de> ---
Is this what you asked for:

lldb shows:

lldb /usr/local/libexec/cabal/stack
(lldb) target create "/usr/local/libexec/cabal/stack"
Current executable set to '/usr/local/libexec/cabal/stack' (x86_64).
(lldb) r build
Process 78060 launching
Process 78060 launched: '/usr/local/libexec/cabal/stack' (x86_64)
Process 78060 stopped
* thread #3, name =3D 'stack', stop reason =3D signal SIGILL: privileged
instruction
    frame #0: 0x0000000001a626a5 stack`cryptonite_aes_generic_encrypt_block=
 +
277
stack`cryptonite_aes_generic_encrypt_block:
->  0x1a626a5 <+277>: pshufb %xmm8, %xmm7
    0x1a626ab <+283>: movdqa -0x1761764(%rip), %xmm9
    0x1a626b4 <+292>: pshufb %xmm9, %xmm6
    0x1a626ba <+298>: por    %xmm7, %xmm6
(lldb)


GDB shows:
gdb /usr/local/libexec/cabal/stack
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
(gdb) r build
Starting program: /usr/local/libexec/cabal/stack build
[New LWP 101655]
BFD: /lib/libc.so.7: invalid relocation type 37
BFD: BFD 2.17.50 [FreeBSD] 2007-07-03 assertion fail
/usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elf64=
-x86-64.c:276
[New Thread 80f2ea000 (LWP 101655/stack)]
[New Thread 80f2eaf00 (LWP 101530/stack)]

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 80f2eaf00 (LWP 101530/stack)]
0x0000000001a626a5 in cryptonite_aes_generic_encrypt_block ()
(gdb)

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247288-16154-1sg2K2TcC1>