Artifacts Associated With Ticket 218891ffffffffffffffffffffffffffffffffff
Ticket change [fcc1675f0f] (rid 108295) by nobody on 2000-10-26 01:07:17:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
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 - foundin initialized to: "obsolete: 8.2b3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to:
While using Oratcl extension, calls to exit product a segmen
- type initialized to: "Bug"
Ticket change [8b488fe09e] (rid 127536) by welch on 2000-10-26 08:31:14:
- closedate changed to: "2000-10-26T01:31:14"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [da9c694d6f] (rid 107817) by dgp on 2001-04-19 00:37:55:
- closedate changed to: "2001-04-18T17:37:55"
- closer changed to: "dgp"
- subsystem changed to: "02. Event Loops"