ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: led@altlinux.ru
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Q: eciadsl-synch: double free or corruption
Date: Tue, 27 Nov 2007 02:01:58 +0200
Message-ID: <200711270201.58212.led@altlinux.ru> (raw)
In-Reply-To: <20071126234650.GA12727@master.altlinux.org>

Tuesday, 27 November 2007 01:46:50 Kirill Maslinsky написав:
> Всех приветствую!
>
> Нуждаюсь в помощи по пакету eciadsl-usermode:
> утилита eciadsl-synch падает с жалобой на double free or corruption.
>
> Без знания C разобраться не удалось, может быть кто-то сможет посмотреть в
> код, где причина, буду очень признателен, код не очень длинный:
> http://git.altlinux.org/people/kirill/packages/?p=eciadsl-usermode.git;a=bl
>ob;f=eciadsl-usermode/eciadsl-synch.c
>
>
> Диагностика:
>
> # eciadsl-start
>
> [EciAdsl 1/5] Setting up USB support...
>
> Preliminary USB device filesystem is OK
>
> [EciAdsl 2/5] Uploading firmware...
>
> Process skipped .. no more needed
> firmware loaded successfully
>
> [EciAdsl 3/5] Synchronization...
>
> *** glibc detected *** /usr/bin/eciadsl-synch: double free or corruption
> (fasttop): 0x0804f158 ***
> ======= Backtrace: =========
> /lib/libc.so.6[0xb7e93402]
> /lib/libc.so.6(cfree+0x89)[0xb7e94a79]
> /usr/bin/eciadsl-synch[0x804b043]
> /usr/bin/eciadsl-synch[0x8049e7b]
> /usr/bin/eciadsl-synch[0x804a426]
> /lib/libc.so.6(__libc_start_main+0xdc)[0xb7e4705c]
> /usr/bin/eciadsl-synch[0x8048d61]
> ======= Memory map: ========
>
>
> PS Пакет eciadsl-usermode я взял не от хорошей жизни, а от того,
> что он остался без мантейнера, а в Питере весьма у многих
> USB-модемы от ADSL-провайдеров, как оказалось.

Можно попробовать собрать с -g и запустить под valgrind.

___
Led.

  reply	other threads:[~2007-11-27  0:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-26 23:46 Kirill Maslinsky
2007-11-27  0:01 ` led [this message]
2007-11-27  0:05 ` Dmitry V. Levin
2007-11-27 12:24   ` Kirill Maslinsky
2007-11-27 12:38     ` Aleksey Avdeev
2007-11-28  6:38       ` Kirill Maslinsky
2007-11-27  4:19 ` Ildar Mulyukov
2007-11-27  8:57   ` Kirill Maslinsky

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=200711270201.58212.led@altlinux.ru \
    --to=led@altlinux.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