my application making database connection crashes, while running in gdb

"Kalyan, Sesha" <[email protected]>
Newsgroups gmane.comp.gdb.general
Message-ID <[email protected]>
HI,

I have an multi threaded application developed in C,
C++. It uses informix database. 

I want to debug it. But when I try to run it through
GDB, it crashes while making database connection
giving a segmentaion fault.

Output is something like this:

warning: Unable to find __d_pid symbol in object file.
warning: Suggest linking with
/opt/langtools/lib/end.o.
warning: GDB will be unable to track
shl_load/shl_unload calls

Program received signal SIGSEGV, Segmentation fault.

Backtrace:

#0  0x214cb0 in loop_aligned ()
#1  0x863ac in ggethomepath ()
#2  0x83b3c in greadenv ()
#3  0x83fe0 in ggetenv2 ()
#4  0x853c8 in ggetenv ()
#5  0xaf320 in cl_ext_getenv ()
#6  0x190fd8 in _gl_ext_getenv ()
#7  0x14aab4 in _gl_get_env_var ()
#8  0x14ad34 in gl_path_search1 ()
#9  0x14abfc in gl_path_search_no_ext ()
#10 0x17ee88 in gl_cache_registry ()
#11 0x8f638 in init_fe ()
#12 0x90660 in initgls ()
#13 0x908b8 in thr_initgls ()
#14 0x907fc in chkglsinit_tcb ()
#15 0x8a6bc in CheckOs_th_Init ()
#16 0x869d4 in CheckAllOsInit ()
#17 0x8dbc8 in CheckAlltcbInit ()
#18 0xd3b28 in sqli_connect_open ()
#19 0x1ce680 in ConnectToDb (pDbName_cp=0x7f7f08ea
"app1db")


Can any body please help!!!!

thanks,
Kalyan



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

_______________________________________________
Gdb mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gdb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.