ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ilya Kurdyukov <>
To: ALT Linux Team development discussions <>
Subject: [devel] rpm-build, AddressSanitizer failed to allocate 0xdfff0001000
Date: Fri, 12 Apr 2024 11:14:55 +0700
Message-ID: <> (raw)

На 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

Какое-то время назад санитайзер работал.

Не в hasher ошибки нет, но может потому, что машину давно не обновляли, 
за это время в санитайзер сломался в сизифе.

"AddressSanitizer failed to allocate 0xdfff0001000" гуглится, но решений 
не нашел.

Мне надо для проверки rpm-build ( На e2k поймал такую 
ошибку при сборке MAKEDEV:

free(): invalid pointer

Program received signal SIGABRT, Aborted.
0x0000455555aa4308 in __pthread_kill_internal () from /lib64/
(gdb) bt 100
#0  0x0000455555aa4308 in __pthread_kill_internal () from /lib64/
#1  0x000045555593bc70 in raise () from /lib64/
#2  0x00004555559464c0 in abort () from /lib64/
#3  0x0000455555a5db78 in __libc_message () from /lib64/
#4  0x0000455555afe8f0 in malloc_printerr () from /lib64/
#5  0x0000455555af8e20 in _int_free () from /lib64/
#6  0x0000455555aea600 in free () from /lib64/
#7  0x000045555563a050 in freeHardLink () from /usr/lib64/
#8  0x0000455555643960 in fsmStage () from /usr/lib64/
#9  0x000045555563b180 in fsmSetup () from /usr/lib64/
#10 0x0000455555854e00 in cpio_doio () from 
#11 0x000045555585a458 in writeRPM () from 
#12 0x000045555585caf0 in packageBinaries ()
    from /usr/lib64/
#13 0x000045555581c440 in buildSpec () from 
#14 0x0000000000017910 in buildForTarget ()
#15 0x0000000000018440 in build ()
#16 0x000000000001b200 in main ()

Подозреваю что в rpm-build может быть выход за пределы буфера.

Но на e2k санитайзер сломался на rpm-build, но как-то по другому. 
Поэтому решил проверить на x86_64.

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-12  4:14 Ilya Kurdyukov [this message]
2024-04-12  4:39 ` Ilya Kurdyukov
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:

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

  git send-email \ \ \ \

* 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 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/ \
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone