From: Sergey Vlasov <vsu@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Re: middleman vs pcre
Date: Tue, 11 Nov 2003 17:38:08 +0300
Message-ID: <20031111143808.GA15999@master.mivlgu.local> (raw)
In-Reply-To: <200311111922.39750.wrar@altlinux.ru>
[-- Attachment #1: Type: text/plain, Size: 1686 bytes --]
On Tue, Nov 11, 2003 at 07:22:30PM +0500, Andrey Rahmatullin wrote:
> (gdb) bt
> #0 0x400c2066 in chunk_alloc (ar_ptr=0x40166880, nb=40) at malloc.c:2990
> #1 0x400c1ae2 in __libc_malloc (bytes=242388) at malloc.c:2811
> #2 0x40106268 in byte_regex_compile (pattern=0x80e5150
> "^ad(|s|v|server)\\.", size=18, syntax=242428, bufp=0x80f1c80) at
> regex.c:2510
> #3 0x40109385 in __regcomp (preg=0x80f1c80, pattern=0x80e5150
> "^ad(|s|v|server)\\.", cflags=1075210368) at regex.c:8111
> #4 0x0806f537 in reg_compile (pattern=0x80e5150 "^ad(|s|v|server)\\.",
> flags=1) at src/regexp.c:33
> #5 0x08054c28 in filter_ll_insert (x=0x80f1c50, profiles=0x0, comment=0x0,
> host=0x80e5150 "^ad(|s|v|server)\\.", file=0x0, template=0x0)
> at src/filter.c:396
> #6 0x08054076 in filter_load (filter_list=0x80f18c0, xml_list=0x80e5108)
> at src/filter.c:126
> #7 0x080566c8 in config_load (overwrite=3, file=0x80ad100
> "/etc/mman/config.xml") at src/main.c:409
> #8 0x08056428 in config () at src/main.c:341
> #9 0x08056e67 in mainloop () at src/main.c:612
> #10 0x08055c3a in main (argc=0, argv=0xbffff9a4) at src/main.c:182
> #11 0x4006d722 in __libc_start_main (main=0x805573c <main>, argc=5,
> ubp_av=0xbffff9a4, init=0x8049d14 <_init>, fini=0x40166880 <main_arena>,
> rtld_fini=0x3b2d4, stack_end=0x80f1c88) at
> ../sysdeps/generic/libc-start.c:129
Вероятно, когда-то ещё до этого момента разрушены структуры malloc из-за
записи в освобождённую память либо записи за пределы выделенной области
памяти.
Попробуйте запустить программу под valgrind - он умеет отлавливать
подобные ошибки (либо используйте другой allocation debugger типа dmalloc
или ElectricFence).
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-11-11 14:38 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-11 12:29 [devel] " Andrey Rahmatullin
2003-11-11 12:36 ` [devel] " Alexey Tourbin
2003-11-11 12:46 ` Andrey Rahmatullin
2003-11-11 13:03 ` Alexey Tourbin
2003-11-11 14:22 ` Andrey Rahmatullin
2003-11-11 14:38 ` Sergey Vlasov [this message]
2003-11-11 15:36 ` Andrey Rahmatullin
2003-11-11 15:42 ` Dmitry V. Levin
2003-11-11 15:47 ` Andrey Rahmatullin
2003-11-11 15:47 ` Sergey Vlasov
2003-11-12 8:32 ` Stanislav Ievlev
2003-11-12 9:24 ` Sergey Vlasov
2003-11-12 9:45 ` Stanislav Ievlev
2003-11-12 9:49 ` Sergey Vlasov
2003-11-12 12:31 ` Andrey Rahmatullin
2003-11-12 14:22 ` Andrey Rahmatullin
2003-11-12 14:39 ` Alexey Tourbin
2003-11-12 15:36 ` [devel] U: middleman-1.9.1-alt1 (was: middleman vs pcre) Andrey Rahmatullin
2003-11-11 14:39 ` [devel] Re: middleman vs pcre Sergey Vlasov
2003-11-11 14:53 ` Dmitry V. Levin
2003-11-11 14:57 ` Alexey Tourbin
2003-11-11 15:02 ` Sergey Vlasov
2003-11-11 12:57 ` [devel] " Stanislav Ievlev
2003-11-11 21:29 ` [devel] К вопросу о pcre Igor Tertishny
2003-11-11 21:48 ` Yuri N. Sedunov
2003-11-12 10:04 ` Igor Tertishny
2003-11-12 3:17 ` [devel] middleman-1.9-alt4: rebuild failed (was: middleman vs pcre) Andrey Rahmatullin
2003-11-12 8:33 ` [devel] " Alexey Tourbin
2003-11-12 8:34 ` [devel] " Stanislav Ievlev
2003-11-12 13:12 ` Andrey Rahmatullin
2003-11-13 8:40 ` Stanislav Ievlev
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=20031111143808.GA15999@master.mivlgu.local \
--to=vsu@altlinux.ru \
--cc=devel@altlinux.ru \
/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