.
D 2000-10-26T00:55:27
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s3413\sBug\nVersion:\s8.2\nSubmitDate:\s'1999-11-05'\nLastModified:\s'2000-02-05'\nSeverity:\sCRIT\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sHP-UX\nOSVersion:\s10.2\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-02-05'\n\n\nName:\nTara\sSayyah\n\nReproducibleScript:\nI\sshall\ssay\sthat\sI\sam\snot\ssure\sif\sthis\sis\sbug\sor\sI\shave\smishandled\nsomething;\s\nAny\shints/comments\swould\sbe\swelcomed.\n\s\s\s\s\nI\shave\sbeen\sporting\sa\srather\scomplex\stcl/tk\sutility;\sdisregarding\sthat;\nthis\sutility\swhen\sloading\sa\sC\sroutine\sgets\sa\scoredump;\sI\sbelieve\sthat\sI\nhave\sreduced\sthe\scode\sto\sthe\sminimum\srelevent\slines\sof\sjust\sloading\sC\nroutine\sand\sI\sstill\sget\sa\score\sdump!:\n\s\s\s\s\n\s\s\s\sC\sroutine:\n\s\s\s\s--------------------------------------------------------------------\n\s\s\s\s#include\s<tcl.h>\n\s\s\s\sint\sMysite_Init(Tcl_Interp\s*interp)\n\s\s\s\s{\s\s\n\s\s\s\s\s\s\s\sTcl_SetResult(interp,\s"Boo",\sTCL_STATIC);\n\s\s\s\s\s\s\s\sreturn\sTCL_OK;\n\s\s\s\s}\n\s\s\s\s----------------------------------------------------------------------\n\s\s\s\sMakeFile:\n\s\s\s\s----------------------------------------------------------------------\n\s\s\s\sCC=/opt/ansic/bin/cc\n\s\s\s\sLD=ld\n\s\s\s\sINCLUDE=\s\s\s\s\s\s\s\s-I/home/taras/tcl8.2.0/include\s\s\s\n\s\s\s\sCCFLAGS=\s+z\s-O\s-Aa\s-g\s\s\n\s\s\s\sLDFLAGS=-b\n\s\s\s\sMYSITE_OBJS=mysite.o\n\s\s\s\s\n\s\s\s\sall:mysite.sl\n\s\s\s\s\n\s\s\s\smysite.sl:$(MYSITE_OBJS)\sMakefile\n\s\s\s\s$(LD)\s$(LDFLAGS)\s$(INCLUDE)\s-o\s$@\s$(MYSITE_OBJS)\n\s\s\s\s\n\s\s\s\sclean:\n\s\s\s\srm\s-f\s*.o\n\s\s\s\s\n\s\s\s\s.c.o:\n\s\s\s\s$(CC)\s-c\s-o\s$@\s\s$(INCLUDE)\s$(CCFLAGS)\s$*.c\n\s\s\s\s-------------------------------------------------------------------\n\s\s\s\scaller\stcl:\n\s\s\s\s-------------------------------------------------------------------\n\s\s\s\s#!/home/taras/tcl8.2.0/bin/tclsh\s\n\s\s\s\sputs\s"starts"\n\s\s\s\sload\smysite.sl\s\s\s\s\n\s\s\s\sputs\s"ends"\n\s\s\s\s--------------------------------------------------------------------\n\s\s\s\soutput:\n\s\s\s\s--------------------------------------------------------------------\n\s\s\s\staras@ces702>\stclsh\stara.tcl\n\s\s\s\sstarts\n\s\s\s\sends\n\s\s\s\sMemory\sfault(coredump)\n\s\s\s\s--------------------------------------------------------------------\n\s\s\s\sI\sam\susing\san\sHP\smachine\susing\sHP-UX\s10.2\soperating\ssystem\n\s\s\s\s--------------------------------------------------------------------\n\s\s\s\sI\shave\scomplied\sthe\stclsh\sfrom\ssources\sprovided\sat\sscriptics\ssite\n\s\s\s\s--------------------------------------------------------------------\n\nObservedBehavior:\nran\sgdb\son\score\s\n\s\s\s\s----------------------------------------------------------------\n\s\s\s\staras@ces702>\s\s/tmp_mnt/net/cre702/export/opt/gdb/bin/gdb\stclsh\score\n\s\s\s\sGNU\sgdb\s4.18\n\s\s\s\sCopyright\s1998\sFree\sSoftware\sFoundation,\sInc.\n\s\s\s\sGDB\sis\sfree\ssoftware,\scovered\sby\sthe\sGNU\sGeneral\sPublic\sLicense,\sand\syou\n\s\s\s\sare\n\s\s\s\swelcome\sto\schange\sit\sand/or\sdistribute\scopies\sof\sit\sunder\scertain\n\s\s\s\sconditions.\n\s\s\s\sType\s"show\scopying"\sto\ssee\sthe\sconditions.\n\s\s\s\sThere\sis\sabsolutely\sno\swarranty\sfor\sGDB.\s\sType\s"show\swarranty"\sfor\n\s\s\s\sdetails.\n\s\s\s\sThis\sGDB\swas\sconfigured\sas\s"hppa2.0-hp-hpux10.20"...\n\s\s\s\s(no\sdebugging\ssymbols\sfound)...\n\s\s\s\sCore\swas\sgenerated\sby\s`tclsh'.\n\s\s\s\sProgram\sterminated\swith\ssignal\s11,\sSegmentation\sfault.\n\s\s\s\s\n\s\s\s\swarning:\sThe\sshared\slibraries\swere\snot\sprivately\smapped;\ssetting\sa\n\s\s\s\sbreakpoint\sin\sa\sshared\slibrary\swill\snot\swork\suntil\syou\srerun\sthe\n\s\s\s\sprogram.\n\s\s\s\s\n\s\s\s\swarning:\sCan't\sfind\sfile\stclsh\sreferenced\sin\sdld_list.\n\s\s\s\sReading\ssymbols\sfrom\s/home/taras/tcl8.2.0/lib/libtcl8.2.sl...done.\n\s\s\s\sReading\ssymbols\sfrom\s/usr/lib/libc.1...done.\n\s\s\s\sReading\ssymbols\sfrom\s/usr/lib/libdld.1...done.\n\s\s\s\s#0\s\s0xc0055298\sin\s\s()\sfrom\s/usr/lib/libc.1\n\s\s\s\s(gdb\n\nDesiredBehavior:\nno\score\sdumps\n\n\nI\sdon't\shave\sthe\scompiler\sthat\syou\sare\susing,\sso\sI\sam\sunable\sto\sreproduce\sthis\sproblem.\s\sI\sdid\stry\scompiling\swith\sgcc,\sand\shad\sno\sproblems\son\sour\sHP\ssystem:\n\nhippo(1)$\suname\s-a\nHP-UX\shippo\sB.10.20\sA\s9000/778\s2000743181\stwo-user\slicense\nhippo(2)$\s./out/bin/tclsh8.3\s\n%\sload\smysite.sl\nBoo\n%\sexit\nhippo(3)$\n\nIf\syou\shave\saccess\sto\sgcc,\scan\syou\stry\scompiling\swith\sthat\sinstead\sand\stell\sme\sif\syou\sstill\ssee\sthe\sproblem?\n\n-\seric\n\n--\s02/01/2000\sericm\n\n
J foundin obsolete:\s8.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title when\s\sloading\sC\slib;\si\sget\score\sdump
J type Bug
K 218280ffffffffffffffffffffffffffffffffff
U nobody
Z 93a9e7d541b2634748b951288a429b73