2 messages in com.mysql.lists.perlRe: Bus error (Core Dumped)
FromSent OnAttachments
Adriano Holanda17 Dec 1999 04:49.txt
Jochen Wiedmann19 Dec 1999 10:26 
Subject:Re: Bus error (Core Dumped)
From:Jochen Wiedmann (jo@ispsoft.de)
Date:12/19/1999 10:26:14 AM
List:com.mysql.lists.perl

Test returned status 0 (wstat 138, 0x8a) Executing /usr/bin/adb "/usr/bin/perl" "core" ($c)... core file = core -- program ``perl'' on platform SUNW,Ultra-250 SIGBUS: Bus Error __do_global_dtors_aux() + 5c data address not found

That sounds unfriendly. Try the following:

1.) Run "perl" with the truss utility, if it is installed:

cd mysql truss perl -Iblib/arch -Iblib/lib t/00base.t >truss.log 2>&1

and let me see the logfile "truss.log".

2.) Use the -static option to build against a static MySQL library:

perl Makefile.PL --config --static make make test

3.) If you have some knowledge of C debugging, try using a C debugger, for example gdb:

perl Makefile.PL OPTIMIZE=-g --config --static LINKTYPE=static make make perl cd mysql gdb ../perl r -Iblib/arch -Iblib/lib t/00base.t

If this dumps core, use the "u" (up) command to get some levels up. Again, let me see the output.

Bye,

Jochen