mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Ahmad Fatoum <ahmad@a3f.at>, barebox@lists.infradead.org
Cc: afa@pengutronix.de
Subject: Re: [PATCH 0/5] sandbox: support -fsanitize={address,ubsan}
Date: Fri, 23 Aug 2019 11:13:26 +0200	[thread overview]
Message-ID: <9ed1093b-d4e8-64ce-2013-69a7031dda72@pengutronix.de> (raw)
In-Reply-To: <20190822061941.6093-1-ahmad@a3f.at>



On 8/22/19 8:19 AM, Ahmad Fatoum wrote:
> I get a double free inside of SDL's X11 backend when trying to use the
> sandbox SDL video driver on wayland. I am not sure what to do about this
> yet, but I made these few patches to get nicer looking backtraces for a
> start.

FTR: SDL video driver is broken since b3fbfad7ae ("fs: dentry cache implementation")
Adding -fvisibility=hidden to the sandbox barebox link line fixes it, so I assume the
commit causes some symbol collision with another library that barebox is linked against
on my system. Haven't found out which symbol it is yet though.

> 
> Ahmad Fatoum (5):
>   sandbox: include header to provide missing prototype
>   common: add generic CONFIG_UBSAN_SANITIZE_ALL plumbing
>   common: add generic CONFIG_KASAN option
>   sandbox: support Address and UndefinedBehavior sanitizers
>   commands: fix unaligned accesses of aliased commands on amd64
> 
>  Makefile                     |  5 +++++
>  arch/sandbox/Kconfig         |  2 ++
>  arch/sandbox/Makefile        | 13 ++++++++++++-
>  arch/sandbox/board/devices.c |  1 +
>  common/Kconfig               | 34 ++++++++++++++++++++++++++++++++++
>  common/command.c             |  2 +-
>  scripts/Makefile.lib         |  5 +++++
>  scripts/Makefile.ubsan       | 19 +++++++++++++++++++
>  8 files changed, 79 insertions(+), 2 deletions(-)
>  create mode 100644 scripts/Makefile.ubsan
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2019-08-23  9:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-22  6:19 Ahmad Fatoum
2019-08-22  6:19 ` [PATCH 1/5] sandbox: include header to provide missing prototype Ahmad Fatoum
2019-08-22  6:19 ` [PATCH 2/5] common: add generic CONFIG_UBSAN_SANITIZE_ALL plumbing Ahmad Fatoum
2019-08-22  6:19 ` [PATCH 3/5] common: add generic CONFIG_KASAN option Ahmad Fatoum
2019-08-22  6:19 ` [PATCH 4/5] sandbox: support Address and UndefinedBehavior sanitizers Ahmad Fatoum
2019-08-22  6:19 ` [PATCH 5/5] commands: fix unaligned accesses of aliased commands on amd64 Ahmad Fatoum
2019-08-23  7:36   ` Sascha Hauer
2019-08-23  9:08     ` Ahmad Fatoum
2019-08-23  9:13 ` Ahmad Fatoum [this message]
2019-08-23 12:31 ` [PATCH 0/5] sandbox: support -fsanitize={address,ubsan} Ahmad Fatoum

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=9ed1093b-d4e8-64ce-2013-69a7031dda72@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=afa@pengutronix.de \
    --cc=ahmad@a3f.at \
    --cc=barebox@lists.infradead.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