List:MySQL and Perl« Previous MessageNext Message »
From:Jochen Wiedmann Date:December 19 1999 6:26pm
Subject:Re: Bus error (Core Dumped)
View as plain text  
>         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

	perl Makefile.PL --config --static
	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 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.


Bus error (Core Dumped)Adriano Holanda17 Dec
  • Re: Bus error (Core Dumped)Jochen Wiedmann19 Dec