9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Xiao-Yong Jin <meta.jxy@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] 9Front Drawterm Code 139 Sig 11 SIGSEGV
Date: Mon, 25 Sep 2023 08:54:03 -0500	[thread overview]
Message-ID: <75631A7A-11F5-4470-88A5-9321FE2FCD08@gmail.com> (raw)
In-Reply-To: <0e548cd8-4376-de24-6a78-000f0d98beb0@sdf.org>


> Thread 1 received signal SIGSEGV, Segmentation fault.
> Address not mapped to object.
> 0x0000000000294488 in tas (x=x@entry=0x0) at tas.c:9
> 9 asm( "movl   $1, %%eax\n\t"
> (gdb) bt
> #0  0x0000000000294488 in tas (x=x@entry=0x0) at tas.c:9
> #1  0x000000000028dd5b in canlock (lk=0x0) at lock.c:62

Try this change in Make.freebsd

; grep '^PTHREAD' drawterm/Make.freebsd
PTHREAD=-pthread -DPTHREAD

I don't remember what's wrong with the tas code.

By the way, FreeBSD should by default have unlimited coredump,
from coredumpsize in /etc/login.conf. And lldb comes with the
system.

  parent reply	other threads:[~2023-09-25 13:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-22 19:11 Dmad
2023-09-22 19:55 ` hiro
2023-09-23 13:44   ` Dmad
2023-09-23  1:10 ` Amavect
2023-09-23 13:52   ` Dmad
2023-09-23 16:04     ` Dmad
2023-09-23 17:32       ` Dmad
2023-09-24  1:39         ` Dmad
2023-09-24  2:28           ` Sigrid Solveig Haflínudóttir
2023-09-24  2:40             ` Dmad
2023-09-24  3:11             ` Dmad
2023-09-24  3:24               ` Dmad
2023-09-24  4:44         ` Amavect
2023-09-24 15:13           ` Dmad
2023-09-27  4:45             ` Amavect
2023-09-25 13:54       ` Xiao-Yong Jin [this message]
2023-09-25 14:47         ` Dmad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=75631A7A-11F5-4470-88A5-9321FE2FCD08@gmail.com \
    --to=meta.jxy@gmail.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).