Skip Menu |

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 64742
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: vladimir [...] organik.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: XML::LibXML + DBI = bus error
Date: Thu, 13 Jan 2011 16:15:43 +0300
To: bug-XML-LibXML [...] rt.cpan.org, bug-DBI [...] rt.cpan.org
From: Vladimir D Belousov <vladimir [...] organik.ru>
OS: FreeBSD 8.2-RC1 amd64 (default kernel & env: root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC) Perl: This is perl 5, version 12, subversion 2 (v5.12.2) built for amd64-freebsd Perl modules: DBI-1.615 DBD-mysql-4.017 mysql-client-5.5.8_2 XML-LibXML-1.70 libxml2-2.7.8_1 How to repeat: $ perl -MDBI -MXML::LibXML -e 'my $db = DBI->connect("DBI:mysql:test", "", "")' Bus error (core dumped) -- Regards, Vladimir D Belousov
From: david [...] ytfc.com
We had the same result using almost the same setup (but we're PostgreSQL not MySQL). Our Perl was built without threads, but the default build for libxml2 is multi-threaded, and this caused a conflict resulting in a Bus Error. Rebuilding libxml2 with the single-threaded option solved this for us. I thought I'd mention this in case it helps you. Good luck.
On Thu Jan 13 08:15:58 2011, vladimir@organik.ru wrote: Show quoted text
> OS: FreeBSD 8.2-RC1 amd64 (default kernel & env: > root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC) > > Perl: This is perl 5, version 12, subversion 2 (v5.12.2) built for > amd64-freebsd > > Perl modules: > DBI-1.615 > DBD-mysql-4.017 > mysql-client-5.5.8_2 > XML-LibXML-1.70 > libxml2-2.7.8_1 > > How to repeat: > $ perl -MDBI -MXML::LibXML -e 'my $db = DBI->connect("DBI:mysql:test", > "", "")' > Bus error (core dumped) >
This appears to be OK on Mandriva Linux Cooker: <<< $ perl -Mblib -MDBI -MXML::LibXML -e 'my $db = DBI->connect("DBI:mysql:test","", "")' shlomif[XML-LibXML]:$trunk$ Show quoted text
>>>
* perl-DBI-1.616.0-3-mdv2011.0.x86_64 * perl-DBD-mysql-4.19.0-1-mdv2011.0.x86_64 * mysql-5.5.13-1-mdv2011.0.x86_64 * XML-LibXML from Mercurial HEAD. * lib64xml2_2-2.7.8-6-mdv2011.0.x86_64 * perl-5.12.3-8-mdv2011.0.x86_64 So it may be a problem with your system. Regards, -- Shlomi Fish
Tested again - it is OK here. Closing this bug due to lack of responsiveness from the maintainer.