473,785 Members | 2,863 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SQL1131N after installing a new shared library.

Hello,

DB2 V7 FP 13 running on Linux.

We have developed a C++ shared library that will be called by a db2
stored procedure. Every time my developers generate a new .so shared
library, I copy it to /home/db2inst1/sqllib/functions/ and then run a
test applications that calls the stored proc. I also run a "bind
file.bnd blocking all grant public". The first execution of the
procedure (after the .so has been replaced) always fails with SQL1131N
(DARI (Stored Procedure) process has been terminated abnormally.)

However, if I invoke the same procedure again (using my test app or
CLP), it works like a charm. In fact, it will never fail again. The
error happens only during the first execution.

This leads me to think that there is no application / C code error. Do
I need to run any command after copying the new .so file, so DB2 can
"reload" the lib ? I am not sure what I am missing here.

Here are the diag and stack trace files:

2005-11-21-10.15.46.091845 Instance:db2ins t1 Node:000
PID:18999(db2sy sc) Appid:none
base_sys_utilit ies sqleChildCrashH andler Probe:15

DiagData
4120 6e6f 6e2d 4544 5520 6368 696c 6420 A non-EDU child

6372 6173 6865 642e crashed.
2005-11-21-10.15.46.141778 Instance:db2ins t1 Node:000
PID:18999(db2sy sc) Appid:none
base_sys_utilit ies sqleChildCrashH andler Probe:16

DiagData
f527 0000 õ'..
2005-11-21-10.15.46.169819 Instance:db2ins t1 Node:000
PID:18999(db2sy sc) Appid:none
base_sys_utilit ies sqleChildCrashH andler Probe:17

DiagData
0101 0000 ....
2005-11-21-10.15.46.177624 Instance:db2ins t1 Node:000
PID:18999(db2sy sc) Appid:none
base_sys_utilit ies sqleChildCrashH andler Probe:18

DiagData
ffff ffff ÿÿÿÿ
2005-11-21-10.15.56.190141 Instance:db2ins t1 Node:000
PID:18999(db2sy sc) Appid:none
base_sys_utilit ies sqleChildCrashH andler Probe:15

DiagData
4120 6e6f 6e2d 4544 5520 6368 696c 6420 A non-EDU child

6372 6173 6865 642e crashed.
2005-11-21-10.15.56.202971 Instance:db2ins t1 Node:000
PID:18999(db2sy sc) Appid:none
base_sys_utilit ies sqleChildCrashH andler Probe:16

DiagData
c627 0000 Æ'..
2005-11-21-10.15.56.250408 Instance:db2ins t1 Node:000
PID:18999(db2sy sc) Appid:none
base_sys_utilit ies sqleChildCrashH andler Probe:17

DiagData
0101 0000 ....
2005-11-21-10.15.56.254621 Instance:db2ins t1 Node:000
PID:18999(db2sy sc) Appid:none
base_sys_utilit ies sqleChildCrashH andler Probe:18

DiagData
ffff ffff ÿÿÿÿ

Trace

*************** *************** ***********
* *
* DB2 USERS : *
* ----------- *
* A DARI process terminated abnormally. *
* This may have been caused by a prog- *
* ramming error in the DARI procedure. *
* A stack trace-back follows. *
* *
*************** *************** ***********
2005-11-21-10.15.44.179467 : DB2 v7.1.0.103 s040930 SQL07029
S:Linux R:2.4.9-e.57 V:#1 Thu Dec 2 20:56:19 EST 2004 M:i686
N:batata.automa tos.com
db2inst1.000 : db2dari (10386) (0x2000)
Signal #11

Data seg top [sbrk(0)] = 0x0806D000
Cur data size (bytes) = 0x7FFFFFFFFFFFF FFF
Cur stack size (bytes) = 0x800000
Cur core size (bytes) = 0x0

Context Information:
sigcontext_stru ct (88 bytes):
00000007 00000000 0000002b c010002b
0805fc40 0805fc40 bffeb190 bffeb188
41107850 4102e000 00000000 000d9844
0000000e 00000004 41084098 00000023
00010246 bffeb188 0000002b bffeaf08
80000000 000d9844

Register Information:
eax = 000d9844; ebx = 41107850; ecx = 00000000; edx =
4102e000;
ebp = bffeb190; esp = bffeb188; edi = 0805fc40; esi =
0805fc40;
ds = 0000002b; es = 0000002b; fs = 00000000; gs =
00000007;
eip = 41084098; cs = 00000023; ss = 0000002b; eflags =
00010246;

Stack Trace:
DB2 (db2inst1.000) : 2005-11-21-10.15.44.273050 stack corrupted.
Signal 11 caught in traceback attempt.
Thanks in advance for any suggestions.

Nov 21 '05 #1
0 1233

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
15229
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000 Personal disk from the SQL Server 2000 Enterprise kit as this is reported here on the MSDN web site to be the version that is supported on Windows XP. In fact so many of you kind people confess to having succeeded in doing it. I have tried...
0
620
by: Darren L. Weber | last post by:
The following is a first attempt to almost create a shell script for installation of ATLAS and LAPACK. It does not work right now and it is specific to a particular platform. It is posted here to archive it and throw into the public domain, maybe others will find it useful. It is at least a documentation of some relevant notes on the procedure. Corrections and updates would be really appreciated. Alternatives to automate this process...
8
7258
by: N.V.Dev | last post by:
Hi, I am trying to use the db2load API using C. During run-time below is the error message thrown call utils.load_table('util.temp') SQL1131N DARI (Stored Procedure) process has been terminated abnormally. SQLSTATE=38503
6
2440
by: gaetan | last post by:
Hi everybody, I have several stored procedure developped in Java that ran fine when I was in DB2 7.2 FP6 (on Windows) but since I have passed the FP11, I'm not able to call any of my stored procedure or call an install_JAR, replace_jar or whatever. I always get the following error : SQL1131N DARI (Stored Procedure) process has been terminated abnormally. SQLSTATE=38503
4
2881
by: dromuss via DBMonster.com | last post by:
I have a problem registering Stored Procedures. I tried diferent stored procedure and non of them work. Not even an empty stored procedure like the following: CREATE PROCEDURE DB2INST1.PRUEBA () LANGUAGE SQL BEGIN END
1
4290
by: zpinhead | last post by:
I am unable to get my downloaded extension from pecl to link up with php properly. seems like the php.so I could not use pear install http. pear claimed the extension was already installed. that is certainly not true. I downloaded the http extension from pecl. cvs -d:pserver:cvsread@cvs.php.net:/repository co pecl/http
0
2562
by: ravindrag | last post by:
Hi, I am getting error SQL1131N during sqlj.install_jar(...). There is no useful message in the diag.log (even with diag level 4). I am giving the diag.log entries at the end of this posting (would have been ideal if there was an option to attach the file). command: db2 call sqlj.install_jar('file:/home/xyz/abc.jar','def.abc') response: SQL1131N DARI (Stored Procedure) process has been terminated abnormally. SQLSTATE=38503
3
8831
by: menzies | last post by:
Hi, I"m new to this forum, but I have been trying all day to install DBD::mysql onto my Intel MacBook. I've read lots of forums pages and none have gotten me to a successful 'make test' or a successful 'sudo make install.' Before every attempt I even do a sudo make distclean to make sure I haven't gotten things mucked up from a prior attempt. OS: Mac OS X 10.4.10 MySQL: v5.0.41 for Mac OSX-i686 DBI: v1.58 (installed fine using CPAN)...
5
2207
by: jgelfand | last post by:
I'm installing Python 2.4.4 on a CentOS release 4.6 (Final) 64-bit machine. Running "./configure --prefix="/ usr/local/yosi/ciao-4.0/ots" --enable-shared" appears to be fine, but I get the following error message when I run "make": building '_tkinter' extension gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall - Wstrict-prototypes -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I/usr/ local/yosi/Python-2.5.2/./Include...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10329
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10152
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10092
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8974
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7500
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.