From: Hihin Ruslan <ruslandh@gmail.com> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: Re: [devel] Ошибка выделения памяти в malloc в 32-х битной архитектуре Date: Sat, 25 Jul 2015 20:20:17 +0300 Message-ID: <201507252020.17640@ruslandh> (raw) In-Reply-To: <20150725155102.GA26196@altlinux.org> [-- Attachment #1: Type: text/plain, Size: 2057 bytes --] Здравствуйте Dmitry V. Levin В сообщении от 25 июля 2015 Dmitry V. Levin написал(a): > On Sat, Jul 25, 2015 at 06:39:28PM +0300, Hihin Ruslan wrote: > > Здравствуйте Dmitry V. Levin > > > > В сообщении от 25 июля 2015 Dmitry V. Levin написал(a): > > > On Sat, Jul 25, 2015 at 12:57:01PM +0300, Руслан Хихин wrote: > > > > Вот с их помощью на это место и вышел. > > > > > > A: Because it messes up the order in which people normally > > > read text. Q: Why is top-posting such a bad thing? > > > A: Top-posting. > > > Q: What is the most annoying thing in e-mail? > > > > Вот как мне такое место расшифровать? > > > > ==19389== 3 bytes in 1 blocks are still reachable in loss > > record 1 of 356 > > Это про утечки памяти, ищите лучше "Invalid write of size ". Похоже, проблема с указателем nullptr, указывает на строчки типа mHashtable = nullptr; он хитро определен (файл mfbt/NullPtr.h ): #define mozilla_NullPtr_h_ #include "mozilla/Compiler.h" #if defined(__clang__) # ifndef __has_extension # define __has_extension __has_feature # endif # if __has_extension(cxx_nullptr) # define MOZ_HAVE_CXX11_NULLPTR # endif #elif defined(__GNUC__) # if defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L # if MOZ_GCC_VERSION_AT_LEAST(4, 6, 0) # define MOZ_HAVE_CXX11_NULLPTR # endif # endif #elif _MSC_VER >= 1600 # define MOZ_HAVE_CXX11_NULLPTR #endif /** * Use C++11 nullptr if available; otherwise use __null for gcc, or a 0 literal * with the correct size to match the size of a pointer on a given platform. */ #ifndef MOZ_HAVE_CXX11_NULLPTR # if defined(__GNUC__) # define nullptr __null # elif defined(_WIN64) # define nullptr 0LL # else # define nullptr 0L # endif #endif #endif /* mozilla_NullPtr_h_ */ -- А ещё говорят так (fortune): IN MY OPINION anyone interested in improving himself should not rule out becoming pure energy. -- Jack Handley, The New Mexican, 1988. ________________________________________________________________________ С уважением Хихин Руслан [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2015-07-25 17:20 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-07-25 3:17 Hihin Ruslan 2015-07-25 9:53 ` Dmitry V. Levin 2015-07-25 9:57 ` Руслан Хихин 2015-07-25 10:33 ` Dmitry V. Levin 2015-07-25 15:05 ` Hihin Ruslan 2015-07-25 15:39 ` Hihin Ruslan 2015-07-25 15:51 ` Dmitry V. Levin 2015-07-25 17:20 ` Hihin Ruslan [this message] 2015-07-27 11:16 ` Хихин Руслан
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=201507252020.17640@ruslandh \ --to=ruslandh@gmail.com \ --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