ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Re: perl-XML-LibXML-1.56-alt1: rebuild failed
  @ 2004-01-09 15:23 ` Alexey Tourbin
  2004-01-09 18:08   ` Alexey Tourbin
  2004-01-10 23:15   ` Mikhail Zabaluev
  0 siblings, 2 replies; 4+ messages in thread
From: Alexey Tourbin @ 2004-01-09 15:23 UTC (permalink / raw)
  To: devel

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

On Tue, Dec 30, 2003 at 07:48:32PM +0300, QA Team Robot wrote:
> Package: perl-XML-LibXML-1.56-alt1

Сборку я починил (error: duplicate `extern'), но тесты всё равно не проходят.
Виноват x-include -- вопрос к maintainer'у libxml2.  Ниже показано, как
"добраться" до segmentation fault.  Первая команда скопирована из `make
-n test', нолик заменен на единичку.


$ PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/02parse.t 2>/dev/null | tail
# 1.4 x-include processing
ok 210
ok 211
dubious
        Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 212-476
        Failed 265/476 tests, 44.33% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/02parse.t    0    11   476  530 111.34%  212-476


$ perl -Iblib/lib -Iblib/arch t/02parse.t >/dev/null
zsh: segmentation fault  perl -Iblib/lib -Iblib/arch t/02parse.t >/dev/null


> LibXML.c: In function `XS_XML__LibXML__CDATASection_new':
> LibXML.c:8676: warning: unused variable `CLASS'
> LibXML.c: In function `XS_XML__LibXML__DocumentFragment_new':
> LibXML.c:8710: warning: unused variable `CLASS'
> LibXML.xs:5684: warning: unused variable `frag_sv'
> LibXML.c: In function `XS_XML__LibXML__Attr_new':
> LibXML.c:8733: warning: unused variable `CLASS'
> LibXML.c: In function `XS_XML__LibXML__Attr_parentElement':
> LibXML.c:8766: warning: unused variable `attrnode'
> LibXML.c:8762: warning: unused variable `ix'
> LibXML.xs: In function `XS_XML__LibXML__Attr__setNamespace':
> LibXML.xs:5756: warning: suggest parentheses around assignment used as truth value
> LibXML.c: In function `XS_XML__LibXML__Namespace_nodeType':
> LibXML.c:8904: warning: unused variable `ix'
> LibXML.c: In function `XS_XML__LibXML__Namespace_href':
> LibXML.c:8926: warning: unused variable `ix'
> LibXML.c: In function `XS_XML__LibXML__Namespace_localname':
> LibXML.c:8951: warning: unused variable `ix'
> LibXML.c: In function `XS_XML__LibXML__Dtd_new':
> LibXML.c:9010: warning: unused variable `CLASS'
> LibXML.c:9006: warning: unused variable `ix'
> LibXML.xs: In function `XS_XML__LibXML__Dtd_parse_string':
> LibXML.xs:5922: warning: operation on `n_a' may be undefined
> LibXML.c:9039: warning: unused variable `CLASS'
> make: *** [LibXML.o] Error 1
> make: Leaving directory `/usr/src/RPM/BUILD/XML-LibXML-1.56'
> error: Bad exit status from /usr/src/RPM/tmp/rpm-tmp.94144 (%build)

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

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

* [devel] Re: perl-XML-LibXML-1.56-alt1: rebuild failed
  2004-01-09 15:23 ` [devel] Re: perl-XML-LibXML-1.56-alt1: rebuild failed Alexey Tourbin
@ 2004-01-09 18:08   ` Alexey Tourbin
  2004-01-10 23:15   ` Mikhail Zabaluev
  1 sibling, 0 replies; 4+ messages in thread
From: Alexey Tourbin @ 2004-01-09 18:08 UTC (permalink / raw)
  To: devel

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

On Fri, Jan 09, 2004 at 06:23:24PM +0300, Alexey Tourbin wrote:
> $ perl -Iblib/lib -Iblib/arch t/02parse.t >/dev/null
> zsh: segmentation fault  perl -Iblib/lib -Iblib/arch t/02parse.t >/dev/null

Стас, ты можешь спросить в апстриме, почему работающий код перестал
работать с намеком на double free?


==15304== Invalid read of size 4
==15304==    at 0x24DAA8C: xmlDictFree (dict.c:425)
==15304==    by 0x241E1CF: xmlFreeParserCtxt (parserInternals.c:1688)
==15304==    by 0x248C7F5: xmlXIncludeParseFile (xinclude.c:460)
==15304==    by 0x248E055: xmlXIncludeLoadDoc (xinclude.c:1407)
==15304==    Address 0x18E3B78 is 0 bytes inside a block of size 20 free'd
==15304==    at 0x134E67: free (vg_replace_malloc.c:231)
==15304==    by 0x24DAB82: xmlDictFree (dict.c:452)
==15304==    by 0x243D073: xmlFreeDoc (tree.c:1123)
==15304==    by 0x248C7E0: xmlXIncludeParseFile (xinclude.c:457)

==15304== Invalid free() / delete / delete[]
==15304==    at 0x134E67: free (vg_replace_malloc.c:231)
==15304==    by 0x24DAB41: xmlDictFree (dict.c:444)
==15304==    by 0x241E1CF: xmlFreeParserCtxt (parserInternals.c:1688)
==15304==    by 0x248C7F5: xmlXIncludeParseFile (xinclude.c:460)
==15304==    Address 0x14FB1DC is 0 bytes inside a block of size 2048 free'd
==15304==    at 0x134E67: free (vg_replace_malloc.c:231)
==15304==    by 0x24DAB41: xmlDictFree (dict.c:444)
==15304==    by 0x243D073: xmlFreeDoc (tree.c:1123)
==15304==    by 0x248C7E0: xmlXIncludeParseFile (xinclude.c:457)

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

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

* [devel] Re: perl-XML-LibXML-1.56-alt1: rebuild failed
  2004-01-09 15:23 ` [devel] Re: perl-XML-LibXML-1.56-alt1: rebuild failed Alexey Tourbin
  2004-01-09 18:08   ` Alexey Tourbin
@ 2004-01-10 23:15   ` Mikhail Zabaluev
  2004-01-13 17:30     ` Alexey Tourbin
  1 sibling, 1 reply; 4+ messages in thread
From: Mikhail Zabaluev @ 2004-01-10 23:15 UTC (permalink / raw)
  To: devel

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

Hello Alexey,

On Fri, Jan 09, 2004 at 06:23:24PM +0300, Alexey Tourbin wrote:
>
> On Tue, Dec 30, 2003 at 07:48:32PM +0300, QA Team Robot wrote:
> > Package: perl-XML-LibXML-1.56-alt1
> 
> Сборку я починил (error: duplicate `extern'), но тесты всё равно не проходят.
> Виноват x-include -- вопрос к maintainer'у libxml2.

Нужна эта самая починенная сборка. В Sisyphus до сих пор -alt1.

-- 
Stay tuned,
  MhZ                                     JID: mhz@altlinux.org
___________
Your program is sick!  Shoot it and put it out of its memory.

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

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

* [devel] Re: perl-XML-LibXML-1.56-alt1: rebuild failed
  2004-01-10 23:15   ` Mikhail Zabaluev
@ 2004-01-13 17:30     ` Alexey Tourbin
  0 siblings, 0 replies; 4+ messages in thread
From: Alexey Tourbin @ 2004-01-13 17:30 UTC (permalink / raw)
  To: devel

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

On Sun, Jan 11, 2004 at 02:15:41AM +0300, Mikhail Zabaluev wrote:
> > Сборку я починил (error: duplicate `extern'), но тесты всё равно не проходят.
> > Виноват x-include -- вопрос к maintainer'у libxml2.
> 
> Нужна эта самая починенная сборка. В Sisyphus до сих пор -alt1.

Ok, alt2 уходит в сизиф.

%build
+# gcc3.3: error: duplicate `extern'
+%__subst -p 's/LIBXML_DLL_IMPORT extern/LIBXML_DLL_IMPORT/g' *.xs
+# XXX Xincludes broken in recent libxml2 (double free)
+%__rm -fv t/02parse.t
 %perl_vendor_build

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

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

end of thread, other threads:[~2004-01-13 17:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-09 15:23 ` [devel] Re: perl-XML-LibXML-1.56-alt1: rebuild failed Alexey Tourbin
2004-01-09 18:08   ` Alexey Tourbin
2004-01-10 23:15   ` Mikhail Zabaluev
2004-01-13 17:30     ` Alexey Tourbin

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