Results 1 to 18 of 18

Thread: Qt server application Segmentation fault

  1. #1
    Join Date
    Apr 2011
    Posts
    195
    Thanks
    49
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Qt server application Segmentation fault

    Hi
    I developed a server application on ubuntu. On Ubuntu the application runs fantastic, but if i try to run the application on
    a debian server, the application crash if a client connects. The errror is Segmentation fault.
    The libraries are the same on both systems(4.7.4). I despair of the problem. What can be the solution? Or what can cause such an error.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt server application Segmentation fault

    Please provide a debugger backtrace from the crash.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Apr 2011
    Posts
    195
    Thanks
    49
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt server application Segmentation fault

    strace:
    Qt Code:
    1. futex(0x7fc990cd8e40, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
    2. futex(0x7fc990cd8e40, FUTEX_WAKE_PRIVATE, 1) = 0
    3. accept(7, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable)
    4. poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}], 3, 0) = 1 ([{fd=8, revents=POLLIN}])
    5. ioctl(8, FIONREAD, [210]) = 0
    6. read(8, "\26\3\1\0\315\1\0\0\311\3\1O{\rO\316\277\337P\332\300\357\310\275\212LF!\t~\"6"..., 4306) = 210
    7. brk(0xbe8000) = 0xbe8000
    8. futex(0x7fc990cd8e40, FUTEX_WAKE_PRIVATE, 1) = 1
    9. poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=8, events=POLLOUT}], 4, 0) = 1 ([{fd=8, revents=POLLOUT}])
    10. rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7fc991497ff0}, NULL, 8) = 0
    11. write(8, "\26\3\1\0005\2\0\0001\3\1O{\f\v;\316\231\355T\217G\1\f\276\217UL\3108h\\"..., 1462) = 1462
    12. poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}], 3, 3599997"
    13. ) = 1 ([{fd=8, revents=POLLIN}])
    14. ioctl(8, FIONREAD, [2490]) = 0
    15. read(8, "\26\3\1\5d\v\0\5`\0\5]\0\5Z0\202\5V0\202\3>\2\1\0010\r\6\t*\206"..., 6586) = 2490
    16. --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    17. +++ killed by SIGSEGV +++
    18. Speicherzugriffsfehler
    To copy to clipboard, switch view to plain text mode 
    valgrind
    Qt Code:
    1. ==8559== Process terminating with default action of signal 11 (SIGSEGV)
    2. ==8559== Access not within mapped region at address 0xE6A883D4
    3. ==8559== at 0xAB5A79E: BN_set_word (in /usr/lib/oracle/10.2.0.4/client64/lib/libnnz10.so)
    4. ==8559== by 0xAB59E54: BN_mod_inverse (in /usr/lib/oracle/10.2.0.4/client64/lib/libnnz10.so)
    5. ==8559== by 0x7E82A42: BN_BLINDING_create_param (in /usr/lib/libcrypto.so.0.9.8)
    6. ==8559== by 0x7E9C850: RSA_setup_blinding (in /usr/lib/libcrypto.so.0.9.8)
    7. ==8559== by 0x7E9AC33: ??? (in /usr/lib/libcrypto.so.0.9.8)
    8. ==8559== by 0x7E9B087: ??? (in /usr/lib/libcrypto.so.0.9.8)
    9. ==8559== by 0x8198790: ssl3_get_client_key_exchange (in /usr/lib/libssl.so.0.9.8)
    10. ==8559== by 0x819ADE9: ssl3_accept (in /usr/lib/libssl.so.0.9.8)
    11. ==8559== by 0x53A83DC: ??? (in /usr/lib/libQtNetwork.so.4.7.4)
    12. ==8559== by 0x53A9B1B: ??? (in /usr/lib/libQtNetwork.so.4.7.4)
    13. ==8559== by 0x53A4178: QSslSocket::qt_metacall(QMetaObject::Call, int, void**) (in /usr/lib/libQtNetwork.so.4.7.4)
    14. ==8559== by 0x49497E: sslConnection::qt_metacall(QMetaObject::Call, int, void**) (moc_sslconnection.cpp:64)
    To copy to clipboard, switch view to plain text mode 
    There is no backtrace. This I get with strace or with valgrind....
    Last edited by Qiieha; 3rd April 2012 at 15:58.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt server application Segmentation fault

    So run under gdb and get a backtrace.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Apr 2011
    Posts
    195
    Thanks
    49
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt server application Segmentation fault

    ok, thank u for your help ; )
    the output of gdb is:
    Qt Code:
    1. Program received signal SIGSEGV, Segmentation fault.
    2. 0x00007ffff334e79e in ?? () from /usr/lib/oracle/10.2.0.4/client64/lib/libnnz10.so
    To copy to clipboard, switch view to plain text mode 

    So the lib libnnz10.so is corrupt?

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt server application Segmentation fault

    Argh... get a backtrace from gdb! type in "bt" and press enter.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Apr 2011
    Posts
    195
    Thanks
    49
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt server application Segmentation fault

    bt:
    Qt Code:
    1. #0 0x00007ffff334e79e in ?? () from /usr/lib/oracle/10.2.0.4/client64/lib/libnnz10.so
    2. #1 0x00007ffff334de55 in ?? () from /usr/lib/oracle/10.2.0.4/client64/lib/libnnz10.so
    3. #2 0x00007ffff4f33a43 in BN_BLINDING_create_param () from /usr/lib/libcrypto.so.0.9.8
    4. #3 0x00007ffff4f4d851 in RSA_setup_blinding () from /usr/lib/libcrypto.so.0.9.8
    5. #4 0x00007ffff4f4bc34 in ?? () from /usr/lib/libcrypto.so.0.9.8
    6. #5 0x00007ffff4f4c088 in ?? () from /usr/lib/libcrypto.so.0.9.8
    7. #6 0x00007ffff4c53791 in ssl3_get_client_key_exchange () from /usr/lib/libssl.so.0.9.8
    8. #7 0x00007ffff4c55dea in ssl3_accept () from /usr/lib/libssl.so.0.9.8
    9. #8 0x00007ffff76ec3dd in ?? () from /usr/lib/libQtNetwork.so.4
    10. #9 0x00007ffff76edb1c in ?? () from /usr/lib/libQtNetwork.so.4
    11. #10 0x00007ffff76e8179 in QSslSocket::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtNetwork.so.4
    12. #11 0x000000000049497f in sslConnection::qt_metacall (this=0x6e0a30, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0x7fffffffe200) at moc_sslconnection.cpp:64
    13. #12 0x00007ffff72c9f88 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
    14. #13 0x00007ffff76c9c08 in ?? () from /usr/lib/libQtNetwork.so.4
    15. #14 0x00007ffff76b9681 in ?? () from /usr/lib/libQtNetwork.so.4
    16. #15 0x00007ffff72b41ef in QCoreApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
    17. #16 0x00007ffff72b426e in QCoreApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
    18. #17 0x00007ffff72b3dc4 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
    19. #18 0x00007ffff72e188a in ?? () from /usr/lib/libQtCore.so.4
    20. #19 0x00007ffff593a6f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
    21. #20 0x00007ffff593e568 in ?? () from /lib/libglib-2.0.so.0
    22. #21 0x00007ffff593e71c in g_main_context_iteration () from /lib/libglib-2.0.so.0
    23. #22 0x00007ffff72e1a1c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
    24. #23 0x00007ffff72b3115 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
    25. #24 0x00007ffff72b3366 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
    26. #25 0x00007ffff72b51a4 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
    27. #26 0x00000000004071f3 in DunningServer::exec (this=0x7fffffffe650) at ../jetdunningprocess_srv/src/dunningserver.cpp:34
    28. #27 0x0000000000406a77 in main (argc=1, argv=0x7fffffffe768) at ../jetdunningprocess_srv/src/main.cpp:8
    To copy to clipboard, switch view to plain text mode 

  8. #8
    Join Date
    Apr 2011
    Posts
    195
    Thanks
    49
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt server application Segmentation fault

    Do you think, I should try a newer oracle instant client.

  9. #9
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt server application Segmentation fault

    Show us your sslConnection class and your DunningServer class.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  10. #10
    Join Date
    Apr 2011
    Posts
    195
    Thanks
    49
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt server application Segmentation fault

    DunningServer
    Qt Code:
    1. #include <QTime>
    2. #include <QDateTime>
    3.  
    4. #include "dunningserver.h"
    5.  
    6. int DunningServer::MAXCONN;
    7.  
    8. DunningServer::DunningServer(int argc, char *argv[]) :
    9. QCoreApplication(argc,argv)
    10. {
    11. qDebug() << "DunningServer::DunningServer(int argc, char *argv[])";
    12. QString max_conn = argv[1];
    13. MAXCONN = max_conn.toInt();
    14. QTime time = QTime::currentTime();
    15. qsrand((uint)time.msec());
    16. connections = QMap<QString,ConnectionHandler*>();
    17. }
    18.  
    19. int DunningServer::exec() {
    20. qDebug() << "Try to start DunningServer...";
    21.  
    22. sslServer = new SslServer();
    23. if (!sslServer->listen(QHostAddress::Any,PORT)) {
    24. qDebug() << "...Failed to start server:" << sslServer->errorString();
    25. return -1;
    26. }
    27.  
    28. Config& config = Config::getInstance();
    29. connect(sslServer,SIGNAL(newConnection()), this, SLOT(acceptConnection()));
    30. qDebug() << "Listening on Port:"<< sslServer->serverPort();
    31.  
    32. return QCoreApplication::exec();
    33. }
    34.  
    35. void DunningServer::acceptConnection()
    36. {
    37. qDebug() << "acceptConnection";
    38. QSslSocket* insoc = sslServer->getClientConnection();
    39. qDebug() << "New connection received from "<< insoc->peerAddress().toString();
    40.  
    41. QString identification = QDateTime::currentDateTime().toString("yyyyMMddhhmmss") + generateRandomString();
    42.  
    43. ConnectionHandler* new_connection = new ConnectionHandler(insoc,this,identification);
    44. }
    45.  
    46. void DunningServer::connectionAccepted(ConnectionHandler* con)
    47. {
    48. qDebug() << "connectionAccepted(ConnectionHandler* con)";
    49. connections.insert(con->getId(),con);
    50. }
    51.  
    52. void DunningServer::clientDisconnects(QString id)
    53. {
    54. qDebug() << "FsServer::clientDisConnects() called";
    55. ConnectionHandler* connection = connections.value(id);
    56. connections.remove(id);
    57. delete connection;
    58. }
    59.  
    60. QString DunningServer::generateRandomString()
    61. {
    62. qDebug() << "generateRandomString()";
    63. QString alphabet;
    64. int diff = 'Z'-'A';
    65.  
    66. for(int i = 0; i < 10; i++){
    67. char c = 'A'+(rand() % diff);
    68. alphabet += QChar(c);
    69. alphabet.append(QString::number(randInt(0,10)));
    70. }
    71. return alphabet;
    72. }
    73.  
    74. int DunningServer::randInt(int low, int high)
    75. {
    76. qDebug() << "randInt";
    77. return qrand() % ((high + 1) - low) + low;
    78. }
    To copy to clipboard, switch view to plain text mode 

    sslconnection.h
    Qt Code:
    1. #ifndef SSLCONNECTION_H
    2. #define SSLCONNECTION_H
    3.  
    4. #include <QSslSocket>
    5. #include <QSslKey>
    6. #include <QSslConfiguration>
    7.  
    8. class sslConnection: public QSslSocket
    9. {
    10. Q_OBJECT
    11. public:
    12. sslConnection( int socketDescriptor, QObject *parent );
    13. };
    14.  
    15. #endif // SSLCONNECTION_H
    To copy to clipboard, switch view to plain text mode 

    sslconnection.cpp
    Qt Code:
    1. #include <QNoDebug>
    2. #include "sslconnection.h"
    3.  
    4. sslConnection::sslConnection( int socketDescriptor, QObject *parent ) : QSslSocket( parent )
    5. {
    6. qDebug() << "sslConnection";
    7. if( !setSocketDescriptor( socketDescriptor ) )
    8. {
    9. deleteLater();
    10. return;
    11. }
    12.  
    13. setProtocol(QSsl::TlsV1);
    14. setPeerVerifyMode(QSslSocket::VerifyPeer);
    15.  
    16. addCaCertificates(QSslCertificate::fromPath("server.crt"));
    17. QByteArray passphrase("passphrase");
    18. setLocalCertificate("server.crt");
    19. setPrivateKey("server.key",QSsl::Rsa,QSsl::Pem,passphrase);
    20.  
    21. QSslError error(QSslError::SelfSignedCertificate);
    22. QSslError error1(QSslError::CertificateUntrusted);
    23. QSslError error2(QSslError::HostNameMismatch);
    24. QList<QSslError> expectedSslErrors;
    25. expectedSslErrors.append(error);
    26. expectedSslErrors.append(error1);
    27. expectedSslErrors.append(error2);
    28. ignoreSslErrors(expectedSslErrors);
    29. startServerEncryption();
    30. }
    To copy to clipboard, switch view to plain text mode 
    Last edited by Qiieha; 3rd April 2012 at 22:09.

  11. #11
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt server application Segmentation fault

    Does it change anything if you comment out lines #13 and #14 from sslConnection?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  12. #12
    Join Date
    Apr 2011
    Posts
    195
    Thanks
    49
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt server application Segmentation fault

    I cannot test it today. I'll do it tomorrow. But I think the handshake won't be successfull

  13. #13
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt server application Segmentation fault

    By the way, do you have multiple threads in your application?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  14. #14
    Join Date
    Apr 2011
    Posts
    195
    Thanks
    49
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt server application Segmentation fault

    Yes there is one Thread to get time-consuming data. In the run method a new DataBase Connection is established and the data is queried. After finishing the thread gives over the data by signal and slot to the main thread. You think this could be the problem? I could imagine it, but why? And why it runs on my local machine?

    Does it change anything if you comment out lines #13 and #14 from sslConnection?
    The program doesn't crash, but the handshake is not successful.
    Last edited by Qiieha; 4th April 2012 at 08:19.

  15. #15
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt server application Segmentation fault

    Quote Originally Posted by Qiieha View Post
    Yes there is one Thread to get time-consuming data. In the run method a new DataBase Connection is established and the data is queried. After finishing the thread gives over the data by signal and slot to the main thread. You think this could be the problem? I could imagine it, but why? And why it runs on my local machine?
    It could be as the backtrace strangely jumps from establishing an SSL connection to the database driver. Can we see the code of the thread?

    The program doesn't crash, but the handshake is not successful.
    Try commenting out only one of the two lines. Do you have standard OpenSSL libraries on the target system?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  16. #16
    Join Date
    Apr 2011
    Posts
    195
    Thanks
    49
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt server application Segmentation fault

    thread:
    Qt Code:
    1. #include <QDebug>
    2. #include <QSqlQuery>
    3. #include <QSqlError>
    4. #include <QVariant>
    5. #include <QSqlDatabase>
    6. #include <QSqlRecord>
    7. #include <QDateTime>
    8.  
    9. #include "recsthread.h"
    10.  
    11. RecsThread::RecsThread(QObject *parent, QList<DataSet *> *datasets) :
    12. QThread(parent),
    13. datasets(datasets)
    14. {
    15. db_name = generateRandomString() + QDateTime::currentDateTime().toString("yyyyMMddhhmmss");
    16. }
    17.  
    18. RecsThread::~RecsThread()
    19. {
    20. qDebug() << "~RecsThread";
    21. QSqlDatabase::database(db_name).close();
    22. QSqlDatabase::removeDatabase(db_name);
    23. }
    24.  
    25. void RecsThread::run()
    26. {
    27. QSqlDatabase temp_db = QSqlDatabase::addDatabase("QOCI8",db_name);
    28. temp_db.setHostName("hostname");
    29. temp_db.setDatabaseName("database1");
    30. temp_db.setUserName( "user1" );
    31. temp_db.setPassword( "passwd" );
    32. temp_db.open();
    33.  
    34. QMap<int,IndependentlyMap<Record*>*>* records = new QMap<int,IndependentlyMap<Record*>*>();
    35. QSqlQuery query(temp_db);
    36. //query.exec();
    37. //fill records with data
    38.  
    39. emit recs_here(records);
    40. }
    41.  
    42. int RecsThread::randInt(int low, int high)
    43. {
    44. return qrand() % ((high + 1) - low) + low;
    45. }
    46.  
    47. QString RecsThread::generateRandomString()
    48. {
    49. QString alphabet;
    50. int diff = 'Z'-'A';
    51.  
    52. for(int i=0;i<10;i++){
    53. char c = 'A'+(rand() % diff);
    54. alphabet += QChar(c);
    55. alphabet.append(QString::number(randInt(0,10)));
    56. }
    57. return alphabet;
    58. }
    To copy to clipboard, switch view to plain text mode 
    Try commenting out only one of the two lines. Do you have standard OpenSSL libraries on the target system?
    if I comment the second of the two lines, the segmentation fault appers and if I comment the first of the two line, the handshake is not successfull.

  17. #17
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt server application Segmentation fault

    It seems as if your OpenSSL implementation was somehow broken and couldn't handle the TLS handshake.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  18. The following user says thank you to wysota for this useful post:

    Qiieha (4th April 2012)

  19. #18
    Join Date
    Apr 2011
    Posts
    195
    Thanks
    49
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt server application Segmentation fault

    It could be as the backtrace strangely jumps from establishing an SSL connection to the database driver. Can we see the code of the thread?
    I found the bug and worked arround it. I started the thread prior to establish my sslconnecion. So wysota was rigth. There was something wrong with my ssl libs and oci libs. Now i it works.

Similar Threads

  1. segmentation fault
    By lawrence Anthony in forum Newbie
    Replies: 1
    Last Post: 30th November 2011, 21:58
  2. Qt application exit with a segmentation fault
    By baobui in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 10th April 2011, 13:42
  3. a segmentation fault
    By yaohao@qtcentre in forum Qt Programming
    Replies: 4
    Last Post: 17th March 2011, 09:01
  4. segmentation fault in QT application
    By mahiapkum in forum Qt Programming
    Replies: 16
    Last Post: 13th April 2007, 11:13
  5. Segmentation Fault
    By merry in forum General Programming
    Replies: 4
    Last Post: 12th March 2007, 04:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.