|
2001-04-19
| ||
| 00:37 | • Ticket [218891ffff] While using Oratcl extension, calls to exit product a segmen... artifact: da9c694d6f user: dgp | |
|
2000-10-26
| ||
| 08:31 | • Closed ticket [218891ffff]. artifact: 8b488fe09e user: welch | |
| 01:07 | • New ticket [218891ffff]. artifact: fcc1675f0f user: nobody | |
While using Oratcl extension, calls to exit product a segmen
Closed / Fixed218891ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:07:17
OriginalBugID: 2560 Bug
Version: 8.2b3
SubmitDate: '1999-08-18'
LastModified: '1999-11-30'
Severity: CRIT
Status: Released
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 3373
OS: Solaris
OSVersion: 2.7
Machine: Other
FixedDate: '1999-11-30'
FixedInVersion: 8.2.3
ClosedDate: '2000-10-25'
Name:
Todd Helfter
Extensions:
Oratcl 2.5
CustomShell:
No local modifications to Tcl/core
Comments:
the segmentation fault occurs after the call to TclpUnloadFile() in
tclLoad.c . By unloading the oratcl library file, calls to atexit()
that were done by the Oracle libraries can no longer be referenced.
Commenting out the package unload corrects the problem as does calling
_exit() instead of exit() in tclEvent.c
This happens in all versions of Tcl released later than tcl-8.0.5
(8.1, 8.1.1, 8.2b(1-3)
ReproducibleScript:
package require oratcl
set handle [oralogon log/pass@db]
exit
ObservedBehavior:
segmentation fault occurs on the exit
DesiredBehavior:
no segmentation fault
8.2.3 was changed to not unload any DLLs when finalizing,
allowing for code like the (bad) use of atexit above to function
without a core. 8.3 should be improved to allow the user to
specify whether the dll should be unloaded or not.
-- 11/30/1999 hobbs
welch Closed ticket [218891ffff].
[History diff]2000-10-26 08:31:14
dgp Ticket [218891ffff]: 3 changes
[History diff]2001-04-19 00:37:55
Log in (anonymous is fine) to add a comment.