Chinaunix

标题: 今天发现升级db2 fixpack 15 后原来的32-bit程序都不能正常退出了 [打印本页]

作者: Rawu    时间: 2008-08-21 23:02
标题: 今天发现升级db2 fixpack 15 后原来的32-bit程序都不能正常退出了
原来系统环境是 aix 5.3 + tuxedo 9.1 32-bit + db2 8.2.6
今日数据库升级到 db2 8.2.8 (fixpack 15)之后
原来的程序都不能正常退出了。就是程序最后调用return或者exit都不会退出来。
后来改用64-bit库来编译就无此问题。
各位可有遇到类似状况。有没办法可以继续使用32-bit来编译呢?thx
作者: Rawu    时间: 2008-08-22 13:52
原因找到了 ,办法就是升级xlC

http://www-1.ibm.com/support/doc ... amp;uid=swg21165448


32-bit DB2 client applications may hang when they are exiting due to xlC APAR IZ09983       

When using version 9 of C++ (xlC) runtime, 32-bit DB2 C++ client applications might hang when they are exiting. Other symptoms include hanging or failing migration of 32-bit DB2 instances. Systems with xlC.rte fileset levels 9.0.0.0 - 9.0.0.3 are vulnerable. The problem is resolved in IZ09983, xlC.rte and xlC.aix50/61.rte 9.0.0.4 (December 2007 IBM C++ Runtime Environment Components for AIX).
A sample stack of the hanging program shows :

pth_spinlock._global_lock_common
pth_mutex._mutex_lock
lock__11LibDescLockFv
terminateAndUnload()
dlclose
unload__11OSSHLibraryFv
sqlexPluginUnload__Fib
sqlexAppLibTerm__Fb
sqloAppLibTerm
mod_fini1
modfini
__modfini
exit




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2