pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53473: ikiwiki - core dump in discount while building



>Number:         53473
>Category:       pkg
>Synopsis:       ikiwiki - core dump in discount while building
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 26 00:05:00 +0000 2018
>Originator:     Simon Burge
>Release:        NetBSD 8.0_RC1, pkgsrc-2018Q2
>Organization:
Not really
>Environment:
	System: NetBSD thoreau.thistledown.com.au 8.0_RC1 NetBSD 8.0_RC1 (THOREAU) #4: Tue Apr 24 17:58:16 EST 2018 simonb%thoreau.thistledown.com.au@localhost:/NetBSD/src8/sys/arch/amd64/compile/THOREAU amd64
	Architecture: x86_64
	Machine: amd64
>Description:
	While building ikiwiki I get a core dump.  GDB shows this is in
	the discount packages libmarkdown:

	thoreau 320> gdb /usr/pkg/bin/perl
	(gdb) run -Iblib/lib ikiwiki.in --setup docwiki.setup --refresh
	scanning templates/gitbranch.mdwn

	Program received signal SIGSEGV, Segmentation fault.
	0x000073050d00828f in linkylinky () from /usr/pkg/lib/libmarkdown.so.1
	(gdb) bt
	#0  0x000073050d00828f in linkylinky () from /usr/pkg/lib/libmarkdown.so.1
	#1  0x000073050d0091e3 in text () from /usr/pkg/lib/libmarkdown.so.1
	#2  0x000073050d009d1e in htmlify () from /usr/pkg/lib/libmarkdown.so.1
	#3  0x000073050d009da0 in htmlify () from /usr/pkg/lib/libmarkdown.so.1
	#4  0x000073050d00a63e in mkd_document () from /usr/pkg/lib/libmarkdown.so.1
	#5  0x000073050d400e8b in XS_Text__Markdown__Discount__markdown ()
	   from /usr/pkg/lib/perl5/vendor_perl/5.26.0/x86_64-netbsd-thread-multi/auto/Text/Markdow
	n/Discount/Discount.so
	#6  0x00007305112dac6d in Perl_pp_entersub ()
	   from /usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE/libperl.so
	#7  0x00007305112d30bd in Perl_runops_standard ()
	   from /usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE/libperl.so
	#8  0x000073051125920e in perl_run ()
	   from /usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE/libperl.so
	#9  0x0000000000401092 in main ()

	The p5-Text-Markdown-Discount package was changed on 10 Mar 2018
	to use external libdiscount.  Reverting this change gets ikiwki
	building.

>How-To-Repeat:
	cd .../pkgsrc/www/ikiwiki ; make install
>Fix:
	Umm, revert the change on 10 Mar 2018 to use external libdiscount ?!



Home | Main Index | Thread Index | Old Index