Results 1 to 3 of 3

Thread: segmentation fault error

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2008
    Location
    Chennai, India
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default segmentation fault error

    i have installed Qt 4 on slackware 12.1 without GUI , the installation has done successfully qmake -project, qmake, make everything working fine. while executing the output script getting segmentation fault it doesnt show any errors.

    Just I have tried sample program to verify the installation.

    Here is the code

    Qt Code:
    1. #include <QCoreApplication>
    2. #include <QtDebug>
    3. int main(int argc,char*argv[])
    4. {
    5. qDebug()<<"WithinMain";
    6. QCoreApplication app(argc,argv);
    7. qDebug ()<<"Running";
    8. return app.exec();
    9. }
    To copy to clipboard, switch view to plain text mode 
    Output
    within main
    Segmentation fault

    what could be the wrong? Please help me

    root@myami:/home/pr# ldd pr
    linux-gate.so.1 => (0xbfffe000)
    libQtGui.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtGui.so.4 (0xb765b000)
    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb75e8000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0xb75da000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0xb74f3000)
    libQtCore.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtCore.so.4 (0xb72b9000)
    librt.so.1 => /lib/librt.so.1 (0xb72af000)
    libdl.so.2 => /lib/libdl.so.2 (0xb72ab000)
    libpthread.so.0 => /lib/libpthread.so.0 (0xb7294000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb71b0000)
    libm.so.6 => /lib/libm.so.6 (0xb718a000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb717f000)
    libc.so.6 => /lib/libc.so.6 (0xb7032000)
    libz.so.1 => /usr/lib/libz.so.1 (0xb701e000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0xb701b000)
    libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7019000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7002000)
    /lib/ld-linux.so.2 (0xb7f30000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6ffc000)
    installation path: /usr/local/Trolltech/Qt-4.4.0/

    Thanks in advnace
    Sg..
    Last edited by jpn; 24th July 2008 at 17:30. Reason: missing tags

Similar Threads

  1. nmake error during .pro compiling
    By mattia in forum Installation and Deployment
    Replies: 5
    Last Post: 18th June 2008, 10:15
  2. Compile 4.4.0
    By LordQt in forum Installation and Deployment
    Replies: 18
    Last Post: 29th May 2008, 13:43
  3. QPSQL driver in windows
    By brevleq in forum Installation and Deployment
    Replies: 31
    Last Post: 14th December 2007, 12:57
  4. Error compiling psql plugin
    By vieraci in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2007, 02:49
  5. qt 4.2.2 install on aix
    By try to remember in forum Installation and Deployment
    Replies: 2
    Last Post: 28th March 2007, 12:19

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
  •  
Qt is a trademark of The Qt Company.