ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] double free or corruption
@ 2006-11-08 14:43 Led
  2006-11-08 14:51 ` Dmitry V. Levin
  0 siblings, 1 reply; 9+ messages in thread
From: Led @ 2006-11-08 14:43 UTC (permalink / raw)
  To: ALT Devel discussion list

Кто сталкивался с подобным:
*** glibc detected *** xxxxx: double free or corruption (out): 0x086626f0 ***
?
Посоветуйте, плиз, какими средствами можно отследить, где происходит 
этот "double free or corruption", при условии, что на 99,9% уверен, что это 
происходит не в самой программе, а в библиотеке, которую она использует.

-- 
Led.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] double free or corruption
  2006-11-08 14:43 [devel] double free or corruption Led
@ 2006-11-08 14:51 ` Dmitry V. Levin
  2006-11-08 15:03   ` Led
  0 siblings, 1 reply; 9+ messages in thread
From: Dmitry V. Levin @ 2006-11-08 14:51 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 450 bytes --]

On Wed, Nov 08, 2006 at 04:43:00PM +0200, Led wrote:
> Кто сталкивался с подобным:
> *** glibc detected *** xxxxx: double free or corruption (out): 0x086626f0 ***
> ?
> Посоветуйте, плиз, какими средствами можно отследить, где происходит 
> этот "double free or corruption", при условии, что на 99,9% уверен, что это 
> происходит не в самой программе, а в библиотеке, которую она использует.

glibc>=2.4 показывает backtrace.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] double free or corruption
  2006-11-08 14:51 ` Dmitry V. Levin
@ 2006-11-08 15:03   ` Led
  2006-11-08 15:14     ` Dmitry V. Levin
  0 siblings, 1 reply; 9+ messages in thread
From: Led @ 2006-11-08 15:03 UTC (permalink / raw)
  To: ALT Devel discussion list

В сообщении от 8 ноября 2006 16:51 Dmitry V. Levin написал(a):
> On Wed, Nov 08, 2006 at 04:43:00PM +0200, Led wrote:
> > Кто сталкивался с подобным:
> > *** glibc detected *** xxxxx: double free or corruption (out): 0x086626f0
> > *** ?
> > Посоветуйте, плиз, какими средствами можно отследить, где происходит
> > этот "double free or corruption", при условии, что на 99,9% уверен, что
> > это происходит не в самой программе, а в библиотеке, которую она
> > использует.
>
> glibc>=2.4 показывает backtrace.

Показывает, показывает именно на эту библиотеку (вернее даже, плагин) 
и "Memory map" показывает... glibc-core-debug и/или gdb тут никак не поможет?

-- 
Led.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] double free or corruption
  2006-11-08 15:03   ` Led
@ 2006-11-08 15:14     ` Dmitry V. Levin
  2006-11-08 15:28       ` Led
  0 siblings, 1 reply; 9+ messages in thread
From: Dmitry V. Levin @ 2006-11-08 15:14 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 775 bytes --]

On Wed, Nov 08, 2006 at 05:03:21PM +0200, Led wrote:
> В сообщении от 8 ноября 2006 16:51 Dmitry V. Levin написал(a):
> > On Wed, Nov 08, 2006 at 04:43:00PM +0200, Led wrote:
> > > Кто сталкивался с подобным:
> > > *** glibc detected *** xxxxx: double free or corruption (out): 0x086626f0
> > > *** ?
> > > Посоветуйте, плиз, какими средствами можно отследить, где происходит
> > > этот "double free or corruption", при условии, что на 99,9% уверен, что
> > > это происходит не в самой программе, а в библиотеке, которую она
> > > использует.
> >
> > glibc>=2.4 показывает backtrace.
> 
> Показывает, показывает именно на эту библиотеку (вернее даже, плагин) 

Этот плагин, который показывает backtrace, скорее всего и виноват.
gdb вам в руки.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] double free or corruption
  2006-11-08 15:14     ` Dmitry V. Levin
@ 2006-11-08 15:28       ` Led
  2006-11-08 18:43         ` Led
  0 siblings, 1 reply; 9+ messages in thread
From: Led @ 2006-11-08 15:28 UTC (permalink / raw)
  To: ALT Devel discussion list

В сообщении от 8 ноября 2006 17:14 Dmitry V. Levin написал(a):
> On Wed, Nov 08, 2006 at 05:03:21PM +0200, Led wrote:
> > В сообщении от 8 ноября 2006 16:51 Dmitry V. Levin написал(a):
> > > On Wed, Nov 08, 2006 at 04:43:00PM +0200, Led wrote:
> > > > Кто сталкивался с подобным:
> > > > *** glibc detected *** xxxxx: double free or corruption (out):
> > > > 0x086626f0 *** ?
> > > > Посоветуйте, плиз, какими средствами можно отследить, где происходит
> > > > этот "double free or corruption", при условии, что на 99,9% уверен,
> > > > что это происходит не в самой программе, а в библиотеке, которую она
> > > > использует.
> > >
> > > glibc>=2.4 показывает backtrace.
> >
> > Показывает, показывает именно на эту библиотеку (вернее даже, плагин)
>
> Этот плагин, который показывает backtrace, скорее всего и виноват.
> gdb вам в руки.

Ясно, спасибо.
А valgrind, etc. тут "не помошник"?

-- 
Led.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] double free or corruption
  2006-11-08 15:28       ` Led
@ 2006-11-08 18:43         ` Led
  2006-11-09  9:27           ` Genix
  0 siblings, 1 reply; 9+ messages in thread
From: Led @ 2006-11-08 18:43 UTC (permalink / raw)
  To: ALT Devel discussion list

В сообщении от 8 ноября 2006 17:28 Led написал(a):
> В сообщении от 8 ноября 2006 17:14 Dmitry V. Levin написал(a):
> > On Wed, Nov 08, 2006 at 05:03:21PM +0200, Led wrote:
> > > В сообщении от 8 ноября 2006 16:51 Dmitry V. Levin написал(a):
> > > > On Wed, Nov 08, 2006 at 04:43:00PM +0200, Led wrote:
> > > > > Кто сталкивался с подобным:
> > > > > *** glibc detected *** xxxxx: double free or corruption (out):
> > > > > 0x086626f0 *** ?
> > > > > Посоветуйте, плиз, какими средствами можно отследить, где
> > > > > происходит этот "double free or corruption", при условии, что на
> > > > > 99,9% уверен, что это происходит не в самой программе, а в
> > > > > библиотеке, которую она использует.
> > > >
> > > > glibc>=2.4 показывает backtrace.
> > >
> > > Показывает, показывает именно на эту библиотеку (вернее даже, плагин)
> >
> > Этот плагин, который показывает backtrace, скорее всего и виноват.
> > gdb вам в руки.
>
> Ясно, спасибо.
> А valgrind, etc. тут "не помошник"?

Сам себе отвечаю: очень даже помог valgrind (особенно если ещё и исследуемый 
софт пересобрать с отладочной информацией):)

-- 
Led.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] double free or corruption
  2006-11-08 18:43         ` Led
@ 2006-11-09  9:27           ` Genix
  2006-11-09  9:48             ` Led
  2006-11-09 13:57             ` Andrei Bulava
  0 siblings, 2 replies; 9+ messages in thread
From: Genix @ 2006-11-09  9:27 UTC (permalink / raw)
  To: ALT Devel discussion list

Led wrote:

> Сам себе отвечаю: очень даже помог valgrind (особенно если ещё и исследуемый 
> софт пересобрать с отладочной информацией):)

это не gaim так валился?


-- 
У каждого в башке свои тараканы...


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] double free or corruption
  2006-11-09  9:27           ` Genix
@ 2006-11-09  9:48             ` Led
  2006-11-09 13:57             ` Andrei Bulava
  1 sibling, 0 replies; 9+ messages in thread
From: Led @ 2006-11-09  9:48 UTC (permalink / raw)
  To: ALT Devel discussion list

В сообщении от 9 ноября 2006 11:27 Genix написал(a):
> Led wrote:
> > Сам себе отвечаю: очень даже помог valgrind (особенно если ещё и
> > исследуемый софт пересобрать с отладочной информацией):)
>
> это не gaim так валился?

Нет, не gaim. И даже не из Sisyphus софтина, а из Daedalus:)
Уже исправил:)

-- 
Led.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] double free or corruption
  2006-11-09  9:27           ` Genix
  2006-11-09  9:48             ` Led
@ 2006-11-09 13:57             ` Andrei Bulava
  1 sibling, 0 replies; 9+ messages in thread
From: Andrei Bulava @ 2006-11-09 13:57 UTC (permalink / raw)
  To: ALT Devel discussion list

Genix wrote:
> Led wrote:
> 
>> Сам себе отвечаю: очень даже помог valgrind (особенно если ещё и исследуемый 
>> софт пересобрать с отладочной информацией):)
> 
> это не gaim так валился?

Gaim валится на длинных списках блокировки для icq?

-- 
// AB1002-UANIC



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-11-09 13:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-08 14:43 [devel] double free or corruption Led
2006-11-08 14:51 ` Dmitry V. Levin
2006-11-08 15:03   ` Led
2006-11-08 15:14     ` Dmitry V. Levin
2006-11-08 15:28       ` Led
2006-11-08 18:43         ` Led
2006-11-09  9:27           ` Genix
2006-11-09  9:48             ` Led
2006-11-09 13:57             ` Andrei Bulava

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