ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ilya Kurdyukov <ilyakurdyukov@basealt.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] rpm-build, AddressSanitizer failed to allocate 0xdfff0001000
Date: Fri, 12 Apr 2024 11:39:40 +0700
Message-ID: <d0b66c52-2ea2-4adb-8bc9-8251805a18f8@basealt.ru> (raw)
In-Reply-To: <f8dc53f5-7eb2-4d8a-8998-8f5d6fe9d1f0@basealt.ru>

Лимиты для hasher позарезали, даже rooter их вернуть не может:

$ ulimit -v
unlimited
$ hsh-shell --rooter --mountpoints=/proc $TMP
[root@localhost .in]# ulimit -v
67108864
[root@localhost .in]# ulimit -v unlimited
-bash: ulimit: virtual memory: cannot modify limit: Operation not permitted

А метод снятия ограничений сделали?


On 4/12/24 11:14, Ilya Kurdyukov wrote:
> На basalt у меня не работает санитайзер в hasher:
>
> $ cat test.c
> int main() {}
> $ cc test.c -O2 -fsanitize=address && ./a.out
> ==2140439==ERROR: AddressSanitizer failed to allocate 0xdfff0001000 
> (15392894357504) bytes at address 2008fff7000 (errno: 12)
> ==2140439==ReserveShadowMemoryRange failed while trying to map 
> 0xdfff0001000 bytes. Perhaps you're using ulimit -v
> Aborted


  reply	other threads:[~2024-04-12  4:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-12  4:14 Ilya Kurdyukov
2024-04-12  4:39 ` Ilya Kurdyukov [this message]
2024-04-12  5:05   ` Ilya Kurdyukov

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=d0b66c52-2ea2-4adb-8bc9-8251805a18f8@basealt.ru \
    --to=ilyakurdyukov@basealt.ru \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git