moderated >> Bus Error(core dumped) when using Devel-ptkdb-1.1091 with new perl 587 and Tk-804-027

by Barone, Philip » Sat, 05 Nov 2005 06:02:29 GMT

This is a multi-part message in MIME format.

I have had many problems trying to get the Tk-804.027 tests to run on my
new perl 587 and Tk-804.027 install. Many dubious errors, the output is
below. Thinking that that may not be a big problem and not being able to
get help resolving it I thought I would continue on.

I have compiled, what I think is the latest version of Ptkdb and when I
try to use it get the Bus Error. Has anyone else seen this problem?


PERL_DL_NONLAZY=1 /opt/ias/perl_5.8.7/bin/perl "-MExtUtils::Command::MM"
"-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/JP.t t/KR.t t/Require.t t/Trace.t t/X.t
t/after.t t/autoload.t t/ba
lloon.t t/browseentry-grabtest.t t/browseentry-subclassing.t
t/browseentry.t t/browseentry2.t t
/button.t t/create.t t/cursor.t t/dash.t t/dialogbox.t t/entry.t
t/fbox.t t/fileevent.t t/files
elect.t t/font.t t/fork.t t/geomgr.t t/iso8859-1.t t/leak.t t/list.t
t/listbox.t t/listvar.t t/
magic.t t/mega.t t/mwm.t t/optmenu.t t/photo.t t/pixmap.t t/progbar.t
t/regexp.t t/slaves.t t/t
race1.t t/widget.t t/wm-time.t t/wm.t t/zzHList.t t/zzPhoto.t
t/zzScrolled.t t/zzText.t t/zzTix
Grid.t
t/after......................ok
t/autoload...................ok
t/balloon....................ok
t/browseentry-grabtest.......ok
t/browseentry-subclassing....dubious
Test returned status 0 (wstat 139, 0x8b)
after all the subtests completed successfully
t/browseentry................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED tests 8-15
Failed 8/15 tests, 46.67% okay
t/browseentry2...............ok
t/button.....................ok
t/create.....................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED tests 11-528
Failed 518/528 tests, 1.89% okay
t/cursor.....................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/dash.......................ok
t/dialogbox..................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED tests 3-8
Failed 6/8 tests, 25.00% okay
t/entry......................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED tests 3-336
Failed 334/336 tests, 0.60% okay
t/fbox.......................ok
t/fileevent..................ok
t/fileselect.................ok
t/font.......................ok
t/fork.......................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/geomgr.....................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED tests 2-19
Failed 18/19 tests, 5.26% okay
t/iso8859-1..................ok
t/JP.........................skipped
all skipped: locale's 'iso-8859-1' cannot represent Japanese.
t/KR.........................skipped
all skipped: locale's 'iso-8859-1' cannot represent Korean.
t/leak.......................ok
t/list.......................ok
t/listbox....................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED tests 1-437
Failed 437/437 tests, 0.00% okay
t/listvar....................ok
t/magic......................ok
t/mega.......................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED tests 2-8
Failed 7/8 tests, 12.50% okay
t/mwm........................ok
t/optmenu....................ok
t/photo......................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED tests 2-100
Failed 99/100 tests, 1.00% okay
t/pixmap.....................ok
t/progbar....................ok
t/regexp.....................ok
t/Require....................ok
t/slaves.....................ok
t/Trace......................ok
t/trace1.....................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED tests 3-17
Failed 15/17 tests, 11.76% okay
t/widget.....................ok
t/wm-time....................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED tests 1-6
Failed 6/6 tests, 0.00% okay
t/wm.........................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/X..........................ok
t/zzHList....................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED tests 5-23
Failed 19/23 tests, 17.39% okay
t/zzPhoto....................ok
t/zzScrolled.................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED tests 5-94
Failed 90/94 tests, 4.26% okay
t/zzText.....................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED tests 9-22
Failed 14/22 tests, 36.36% okay
t/zzTixGrid..................dubious
Test returned status 0 (wstat 138, 0x8a)
DIED. FAILED tests 7-33
Failed 27/33 tests, 18.18% okay
Failed Test Stat Wstat Total Fail Failed List of
Failed
------------------------------------------------------------------------
-------
t/browseentry-subclassing.t 0 139 2 0 0.00% ??
t/browseentry.t 0 138 15 16 106.67% 8-15
t/create.t 0 138 528 1036 196.21% 11-528
t/cursor.t 0 138 7 14 200.00% 1-7
t/dialogbox.t 0 138 8 12 150.00% 3-8
t/entry.t 0 138 336 668 198.81% 3-336
t/fork.t 0 138 1 2 200.00% 1
t/geomgr.t 0 138 19 36 189.47% 2-19
t/listbox.t 0 138 437 874 200.00% 1-437
t/mega.t 0 138 8 14 175.00% 2-8
t/photo.t 0 138 100 198 198.00% 2-100
t/trace1.t 0 138 17 30 176.47% 3-17
t/wm-time.t 0 138 6 12 200.00% 1-6
t/wm.t 0 138 1 2 200.00% 1
t/zzHList.t 0 138 23 38 165.22% 5-23
t/zzScrolled.t 0 138 94 180 191.49% 5-94
t/zzText.t 0 138 22 28 127.27% 9-22
t/zzTixGrid.t 0 138 33 54 163.64% 7-33
2 tests skipped.
Failed 18/47 test scripts, 61.70% okay. 1607/2054 subtests failed,
21.76% okay.
make: *** [test_dynamic] Error 255


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.11">
<TITLE>Bus Error(core dumped) when using Devel-ptkdb-1.1091 with new perl 587 and Tk-804-027</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">I have had many problems trying to get the Tk-804.027 tests to run on my new perl 587 and Tk-804.027 install. Many dubious errors, the output is below. Thinking that that may not be a big problem and not being able to get help resolving it I thought I would continue on. </FONT></P>

<P><FONT SIZE=2 FACE="Arial">I have compiled, what I think is the latest version of Ptkdb and when I try to use it get the Bus Error. Has anyone else seen this problem?</FONT></P>
<BR>

<P><FONT SIZE=2 FACE="Arial">PERL_DL_NONLAZY=1 /opt/ias/perl_5.8.7/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, </FONT>

<BR><FONT SIZE=2 FACE="Arial">'blib/lib', 'blib/arch')" t/JP.t t/KR.t t/Require.t t/Trace.t t/X.t t/after.t t/autoload.t t/ba</FONT>

<BR><FONT SIZE=2 FACE="Arial">lloon.t t/browseentry-grabtest.t t/browseentry-subclassing.t t/browseentry.t t/browseentry2.t t</FONT>

<BR><FONT SIZE=2 FACE="Arial">/button.t t/create.t t/cursor.t t/dash.t t/dialogbox.t t/entry.t t/fbox.t t/fileevent.t t/files</FONT>

<BR><FONT SIZE=2 FACE="Arial">elect.t t/font.t t/fork.t t/geomgr.t t/iso8859-1.t t/leak.t t/list.t t/listbox.t t/listvar.t t/</FONT>

<BR><FONT SIZE=2 FACE="Arial">magic.t t/mega.t t/mwm.t t/optmenu.t t/photo.t t/pixmap.t t/progbar.t t/regexp.t t/slaves.t t/t</FONT>

<BR><FONT SIZE=2 FACE="Arial">race1.t t/widget.t t/wm-time.t t/wm.t t/zzHList.t t/zzPhoto.t t/zzScrolled.t t/zzText.t t/zzTix</FONT>

<BR><FONT SIZE=2 FACE="Arial">Grid.t</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/after......................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/autoload...................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/balloon....................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/browseentry-grabtest.......ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/browseentry-subclassing....dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 139, 0x8b)</FONT>

<BR><FONT SIZE=2 FACE="Arial">        after all the subtests completed successfully</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/browseentry................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED tests 8-15</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 8/15 tests, 46.67% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/browseentry2...............ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/button.....................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/create.....................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED tests 11-528</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 518/528 tests, 1.89% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/cursor.....................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED tests 1-7</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 7/7 tests, 0.00% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/dash.......................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/dialogbox..................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED tests 3-8</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 6/8 tests, 25.00% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/entry......................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED tests 3-336</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 334/336 tests, 0.60% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/fbox.......................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/fileevent..................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/fileselect.................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/font.......................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/fork.......................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED test 1</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 1/1 tests, 0.00% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/geomgr.....................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED tests 2-19</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 18/19 tests, 5.26% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/iso8859-1..................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/JP.........................skipped</FONT>

<BR><FONT SIZE=2 FACE="Arial">        all skipped: locale's 'iso-8859-1' cannot represent Japanese.</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/KR.........................skipped</FONT>

<BR><FONT SIZE=2 FACE="Arial">        all skipped: locale's 'iso-8859-1' cannot represent Korean.</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/leak.......................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/list.......................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/listbox....................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED tests 1-437</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 437/437 tests, 0.00% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/listvar....................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/magic......................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/mega.......................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED tests 2-8</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 7/8 tests, 12.50% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/mwm........................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/optmenu....................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/photo......................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED tests 2-100</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 99/100 tests, 1.00% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/pixmap.....................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/progbar....................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/regexp.....................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/Require....................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/slaves.....................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/Trace......................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/trace1.....................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED tests 3-17</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 15/17 tests, 11.76% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/widget.....................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/wm-time....................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED tests 1-6</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 6/6 tests, 0.00% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/wm.........................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED test 1</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 1/1 tests, 0.00% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/X..........................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/zzHList....................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED tests 5-23</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 19/23 tests, 17.39% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/zzPhoto....................ok</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/zzScrolled.................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED tests 5-94</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 90/94 tests, 4.26% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/zzText.....................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED tests 9-22</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 14/22 tests, 36.36% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/zzTixGrid..................dubious</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Test returned status 0 (wstat 138, 0x8a)</FONT>

<BR><FONT SIZE=2 FACE="Arial">DIED. FAILED tests 7-33</FONT>

<BR><FONT SIZE=2 FACE="Arial">        Failed 27/33 tests, 18.18% okay</FONT>

<BR><FONT SIZE=2 FACE="Arial">Failed Test                 Stat Wstat Total Fail  Failed  List of Failed</FONT>

<BR><FONT SIZE=2 FACE="Arial">-------------------------------------------------------------------------------</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/browseentry-subclassing.t    0   139     2    0   0.00%  ??</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/browseentry.t                0   138    15   16 106.67%  8-15</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/create.t                     0   138   528 1036 196.21%  11-528</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/cursor.t                     0   138     7   14 200.00%  1-7</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/dialogbox.t                  0   138     8   12 150.00%  3-8</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/entry.t                      0   138   336  668 198.81%  3-336</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/fork.t                       0   138     1    2 200.00%  1</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/geomgr.t                     0   138    19   36 189.47%  2-19</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/listbox.t                    0   138   437  874 200.00%  1-437</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/mega.t                       0   138     8   14 175.00%  2-8</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/photo.t                      0   138   100  198 198.00%  2-100</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/trace1.t                     0   138    17   30 176.47%  3-17</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/wm-time.t                    0   138     6   12 200.00%  1-6</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/wm.t                         0   138     1    2 200.00%  1</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/zzHList.t                    0   138    23   38 165.22%  5-23</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/zzScrolled.t                 0   138    94  180 191.49%  5-94</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/zzText.t                     0   138    22   28 127.27%  9-22</FONT>

<BR><FONT SIZE=2 FACE="Arial">t/zzTixGrid.t                  0   138    33   54 163.64%  7-33</FONT>

<BR><FONT SIZE=2 FACE="Arial">2 tests skipped.</FONT>

<BR><FONT SIZE=2 FACE="Arial">Failed 18/47 test scripts, 61.70% okay. 1607/2054 subtests failed, 21.76% okay.</FONT>

<BR><FONT SIZE=2 FACE="Arial">make: *** [test_dynamic] Error 255</FONT>
</P>

</BODY>
</HTML>

moderated >> RE: Bus Error(core dumped) when using Devel-ptkdb-1.1091 with new perl 587 and Tk-804-027

by Barone, Philip » Mon, 07 Nov 2005 04:49:03 GMT


his is a multi-part message in MIME format.

I have investigated this a little more and have found that the raise()
call is the culprit. A simple script using this method will cause a Bus
Error(core dumped).

Maybe there is a problem with my steps.

Environment:

setenv ORACLE_HOME /programs/ias_oracle/8.1.6
setenv ORACLE_SID thesid
setenv ORACLE_USERID scott/tiger@${ORACLE_SID}
setenv ORACLE_JRE_PATH ${ORACLE_HOME}/jre/1.1.8/lib/sparc/native_threads
setenv MYSQL_INC /home/dagsadmn/mysql/include
setenv MYSQL_LIB /home/dagsadmn/mysql/lib
setenv MYSQL_BIN /home/dagsadmn/mysql/bin

setenv PATH ${ORACLE_HOME}/bin:/pub/gcc_3.2.3/bin:${MYSQL_BIN}:/apps/j
dk_1.3.0/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bi
n:/pub/bin:/dags/
software/bin:/usr/ucb:.

setenv LD_LIBRARY_PATH
/apps/jdk_1.3.0/java/lib:/usr/ccs/lib:/usr/openwin/lib:/usr/lib:/u
sr/ucblib:/pub/X11R5/lib:${ORACLE_HOME}/lib:${ORACLE_JRE_PATH}:${MYSQL_I
NC}:${MYSQL_LIB}

which perl
/usr/bin/perl

sh Configure -Dcc=gcc -Dprefix=/programs25/ias/perl_5.8.7 -des > &
.../p25_configure.out &
make > & ../p25_make.out &
make test > & ../p25_make_test.out &
make install > & ../p25_make_install.out &

Setenv PATH /programs25/ias/perl_5.8.7/bin:${PATH}

which perl
/programs25/ias/perl_5.8.7/bin/perl

perl Makefile.PL > & ../p25_tk_Makefile.out &
make > & ../p25_tk_make.out &
make test > & ../p25_tk_make_test.out &
make install > & ../p25_tk_make_install.out &

# lb2..pl
#!/opt/ias/perl_5.8.7/bin/perl -w
use strict;
use Tk;

my $mw = new MainWindow;
$mw->raise;

/programs25/ias/perl_5.8.7/bin/perl lb2.pl
Segmentation fault (core dumped)



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.11">
<TITLE>RE: Bus Error(core dumped) when using Devel-ptkdb-1.1091 with new perl 587 and Tk-804-027</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I have investigated this a little more and have found that the raise() call is the culprit. A simple script using this method will cause a Bus Error(core dumped). </FONT></P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Maybe there is a problem with my steps.</FONT>
</P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Environment:</FONT>
</P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">setenv ORACLE_HOME /programs/ias_oracle/8.1.6</FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">setenv ORACLE_SID thesid</FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">setenv ORACLE_USERID scott/tiger@${ORACLE_SID}</FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">setenv ORACLE_JRE_PATH ${ORACLE_HOME}/jre/1.1.8/lib/sparc/native_threads</FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">setenv MYSQL_INC /home/dagsadmn/mysql/include</FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">setenv MYSQL_LIB /home/dagsadmn/mysql/lib</FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">setenv MYSQL_BIN /home/dagsadmn/mysql/bin</FONT>
</P>

<P><FONT COLOR="#00

Similar Threads

1. Bus Error(core dumped) when using Devel-ptkdb-1.1091 with newperl 587 and Tk-804-027


2. Tk-804.027 got bus error when using perl 5.8.7

3. tclPlatTime.c error installing Tk-804.027 on Perl 5.8.x

4. Error building module Tk-804.027.

5. installing tk-804.027 on hp-ux11i with perl 5.8.6

hi,
i've been having some problems installing tk on hp-ux11i with perl
5.8.6 and was hoping you could help me.
- ran perl Makefile.PL XFT=1 [no errors]
- ran make which failed [given in Appendix A]

Details of my build of perl are given in Appendix B

I've seen some messages which reference the fact that the message
about the magic number may be due to some mismatch between 32- and 64-
bit products but I'm not sure where to go from here (not a C expert).
I'd appreciate some guidance. I've gone through the readme for TK and
libz that came with this release and followed all the instructions but
to no joy.

Thanks,

G


=================================================================================
APPENDIX A - output from make 
=================================================================================
...
...
        /usr/bin/cc +Z -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  +Z
-DHAVE_UNISTD_H -DUSE_MMAP -c inftrees.c
        /usr/bin/cc +Z -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  +Z
-DHAVE_UNISTD_H -DUSE_MMAP -c infcodes.c
        /usr/bin/cc +Z -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  +Z
-DHAVE_UNISTD_H -DUSE_MMAP -c infutil.c
        /usr/bin/cc +Z -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  +Z
-DHAVE_UNISTD_H -DUSE_MMAP -c inffast.c
        ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o
deflate.o trees.o  zutil.o inflate.o infblock.o inftrees.o infcodes.o
infutil.o inffast.o
        cd libpng && make libpng.a "CC=/usr/bin/cc +Z" RANLIB=":"
        /usr/bin/cc +Z -I../zlib -O -Ae +DA1.1 +DS2.0 -c png.c
        /usr/bin/cc +Z -I../zlib -O -Ae +DA1.1 +DS2.0 -c pngset.c
        /usr/bin/cc +Z -I../zlib -O -Ae +DA1.1 +DS2.0 -c pngget.c
        /usr/bin/cc +Z -I../zlib -O -Ae +DA1.1 +DS2.0 -c pngrutil.c
        /usr/bin/cc +Z -I../zlib -O -Ae +DA1.1 +DS2.0 -c pngtrans.c
        /usr/bin/cc +Z -I../zlib -O -Ae +DA1.1 +DS2.0 -c pngwutil.c
        /usr/bin/cc +Z -I../zlib -O -Ae +DA1.1 +DS2.0 -c pngread.c
        /usr/bin/cc +Z -I../zlib -O -Ae +DA1.1 +DS2.0 -c pngrio.c
        /usr/bin/cc +Z -I../zlib -O -Ae +DA1.1 +DS2.0 -c pngwio.c
        /usr/bin/cc +Z -I../zlib -O -Ae +DA1.1 +DS2.0 -c pngwrite.c
        /usr/bin/cc +Z -I../zlib -O -Ae +DA1.1 +DS2.0 -c pngrtran.c
        /usr/bin/cc +Z -I../zlib -O -Ae +DA1.1 +DS2.0 -c pngwtran.c
        /usr/bin/cc +Z -I../zlib -O -Ae +DA1.1 +DS2.0 -c pngmem.c
        /usr/bin/cc +Z -I../zlib -O -Ae +DA1.1 +DS2.0 -c pngerror.c
        /usr/bin/cc +Z -I../zlib -O -Ae +DA1.1 +DS2.0 -c pngpread.c
        ar rc libpng.a png.o pngset.o pngget.o pngrutil.o pngtrans.o
pngwutil.o  pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o 
pngwtran.o pngmem.o pngerror.o pngpread.o
        : libpng.a
        ar rc libpng.a png.o pngset.o pngget.o pngrutil.o pngtrans.o
pngwutil.o  pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o 
pngwtran.o pngmem.o pngerror.o pngpread.o
        : libpng.a
        /usr/bin/cc +Z -c -I../zlib -O -Ae +DA1.1 +DS2.0 +z -o
png.pic.o png.c
        /usr/bin/cc +Z -c -I../zlib -O -Ae +DA1.1 +DS2.0 +z -o
pngset.pic.o pngset.c
        /usr/bin/cc +Z -c -I../zlib -O -Ae +DA1.1 +DS2.0 +z -o
pngget.pic.o pngget.c
        /usr/bin/cc +Z -c -I../zlib -O -Ae +DA1.1 +DS2.0 +z -o
pngrutil.pic.o pngrutil.c
        /usr/bin/cc +Z -c -I../zlib -O -Ae +DA1.1 +DS2.0 +z -o
pngtrans.pic.o pngtrans.c
        /usr/bin/cc +Z -c -I../zlib -O -Ae +DA1.1 +DS2.0 +z -o
pngwutil.pic.o pngwutil.c
        /usr/bin/cc +Z -c -I../zlib -O -Ae +DA1.1 +DS2.0 +z -o
pngread.pic.o pngread.c
        /usr/bin/cc +Z -c -I../zlib -O -Ae +DA1.1 +DS2.0 +z -o
pngrio.pic.o pngrio.c
        /usr/bin/cc +Z -c -I../zlib -O -Ae +DA1.1 +DS2.0 +z -o
pngwio.pic.o pngwio.c
                /usr/bin/cc +Z -c -I../zlib -O -Ae +DA1.1 +DS2.0 +z -o
pngwrite.pic.o pngwrite.c
        /usr/bin/cc +Z -c -I../zlib -O -Ae +DA1.1 +DS2.0 +z -o
pngrtran.pic.o pngrtran.c
        /usr/bin/cc +Z -c -I../zlib -O -Ae +DA1.1 +DS2.0 +z -o
pngwtran.pic.o pngwtran.c
        /usr/bin/cc +Z -c -I../zlib -O -Ae +DA1.1 +DS2.0 +z -o
pngmem.pic.o pngmem.c
        /usr/bin/cc +Z -c -I../zlib -O -Ae +DA1.1 +DS2.0 +z -o
pngerror.pic.o pngerror.c
        /usr/bin/cc +Z -c -I../zlib -O -Ae +DA1.1 +DS2.0 +z -o
pngpread.pic.o pngpread.c
        ld -b +s \
        +h libpng12.sl.0 -o libpng12.sl.0.1.2.5 png.pic.o pngset.pic.o
pngget.pic.o pngrutil.pic.o pngtrans.pic.o pngwutil.pic.o 
pngread.pic.o pngrio.pic.o pngwio.pic.o pngwrite.pic.o pngrtran.pic.o 
pngwtran.pic.o pngmem.pic.o pngerror.pic.o pngpread.pic.o
        ln -sf libpng12.sl.0.1.2.5 libpng12.sl.0
        ln -sf libpng12.sl.0 libpng12.sl
        /usr/bin/cc +Z -I../zlib -O -Ae +DA1.1 +DS2.0 -c pngtest.c
        /usr/bin/cc +Z -o pngtest -I../zlib -O -Ae +DA1.1 +DS2.0
pngtest.o -L. -L../zlib -lpng -lz -lm
/usr/ccs/bin/ld: ../zlib/libz.a: Not a valid library (invalid magic
number). Possibly a 64-bit PA archive library (Mismatched ABI).
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.


=================================================================================
APPENDIX B - perl build and cc version
=================================================================================
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
  Platform:
    osname=hpux, osvers=11.11, archname=PA-RISC2.0-LP64
    uname='hp-ux xxxx b.11.11 u 9000800 3904833187 unlimited-user
license '
    config_args='-Ubincompat5005 -Duselargefiles -A
prepend:libswanted=cl pthread  -Duse64bitall'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='/usr/bin/cc', ccflags =' -Ae -D_HPUX_SOURCE
-Wl,+vnocompatwarnings +DD64 -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 ',
    optimize='+O2 +Onolimit',
    cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -Ae -D_HPUX_SOURCE
-Wl,+vnocompatwarnings +DD64 -I/usr/local/include'
    ccversion='B.11.11.04', gccversion='', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='/usr/bin/ld', ldflags =' +DD64 -L/usr/local/lib
-L/lib/pa20_64'
    libpth=/usr/local/lib /lib/pa20_64 /lib /usr/lib /usr/ccs/lib
    libs=+z -lcl -lpthread -lnsl -lnm -ldl -ldld -lm -lsec -lc
    perllibs=+z -lcl -lpthread -lnsl -lnm -ldl -ldld -lm -lsec -lc
    libc=/lib/pa20_64/libc.sl, so=sl, useshrplib=false,
libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-B,deferred '
    cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib
-L/lib/pa20_64'


Characteristics of this binary (from libperl):
  Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
  Built under hpux
  Compiled at Dec  3 2004 11:08:49
  @INC:
    /opt/perl5.8.6/lib/5.8.6/PA-RISC2.0-LP64
    /opt/perl5.8.6/lib/5.8.6
    /opt/perl5.8.6/lib/site_perl/5.8.6/PA-RISC2.0-LP64
    /opt/perl5.8.6/lib/site_perl/5.8.6
    /opt/perl5.8.6/lib/site_perl
    .

C-compiler - HP92453-01 B.11.11.04 HP C Compiler

6. Tk-804.027 fails to build on Win2k/Cygwin

7. PATCH: Tk-804.027, Trace.pm

--Apple-Mail-2-337183922
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

Attached patch fixes a subtle but big bug in traceVdelete().  Without 
this patch it's possible for Trace.pm to auto-vivify a variable, 
effectively disabling a subsequent traceVariable() for the same 
variable.


--Apple-Mail-2-337183922
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="Trace.pm.diff"
Content-Disposition: attachment;
	filename=Trace.pm.diff

--- Trace.pm~	Fri Sep 26 14:51:57 2003
+++ Trace.pm	Thu May  6 13:43:32 2004
@@ -178,10 +178,12 @@
 
     my ( $parent, $vref, $op_not_honored, $callabck_not_honored ) = @_;
 
-    if ( defined $TRACE{$vref}->[0] ) {
-        $$vref = $TRACE{$vref}->[0]->Fetch;
-        $TRACE{$vref}->[0]->Unwatch;
-        delete $TRACE{$vref};
+    if ( defined $TRACE{$vref} ) {
+	if ( defined $TRACE{$vref}->[0] ) {
+	    $$vref = $TRACE{$vref}->[0]->Fetch;
+	    $TRACE{$vref}->[0]->Unwatch;
+	    delete $TRACE{$vref};
+	}
     }
 
 } # end traceVdelete

--Apple-Mail-2-337183922
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed



--Apple-Mail-2-337183922--

-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to  XXXX@XXXXX.COM 

8. PATCH: Tk-804.027, Menu.pm (correction)