Segmentation fault error in my C++ Application
Hi
I am getting an error in my C++ Application and application is starting every 10 seconds.
Can somebody have look and tell me why i am getting this error.
BR
Iqbal
Backtraces File looks like this:
[New LWP 7553]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/apps/lineselect/lineselect --manager=/var/run/manager/manager --service-id=lin'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000000000049011d in PostgreSQLDatabase::UserDatabaseExecSQLResult (this=0x23fccb0, user=0x2455a00, dataset=0x244b7b0) at sdk/common/linux/postgresql/psql_database.cpp:1428
1428 sdk/common/linux/postgresql/psql_database.cpp: No such file or directory.
[Current thread is 1 (Thread 0x7fc2fd3fb100 (LWP 7331))]
Thread 2 (Thread 0x7fc2fd3f7700 (LWP 7553)):
#0 0x00007fc2fdea877c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00000000004e04d8 in DnsThread::ThreadFunction (this=0x2408a90) at sdk/common/linux/dns/dns.cpp:323
#2 0x00000000004df5e7 in __dns_thread_main (dnsThreadObj=0x2408a90) at sdk/common/linux/dns/dns.cpp:119
#3 0x00007fc2fdea1f3d in start_thread () from /lib64/libpthread.so.0
#4 0x00007fc2fd5389af in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7fc2fd3fb100 (LWP 7331)):
#0 0x000000000049011d in PostgreSQLDatabase::UserDatabaseExecSQLResult (this=0x23fccb0, user=0x2455a00, dataset=0x244b7b0) at sdk/common/linux/postgresql/psql_database.cpp:1428
#1 0x000000000048c1d2 in PostgreSQLDatabase::ReadResult (this=0x23fccb0) at sdk/common/linux/postgresql/psql_database.cpp:579
#2 0x000000000048f79a in PostgreSQLDatabase::IoContextNotify (this=0x23fccb0, indRX=true, indTX=true) at sdk/common/linux/postgresql/psql_database.cpp:1341
#3 0x000000000046e101 in IoMux::Run (this=0x23f5950) at sdk/common/linux/os-cpp/iomux.cpp:548
#4 0x0000000000451cf7 in main (argc=7, argv=0x7ffe43858f58) at LineSelect-main.cpp:37
09-07 13:34:24.153 dumping stack trace from core dump /var/log/core_dumps/lineselect/lineselect.core.dump (current build:13B754)