Results 1 to 3 of 3

Thread: Qt-4.4.3 excecutable on S3C2440 gives segmentation fault

  1. #1
    Join Date
    Jul 2009
    Posts
    49
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Qt-4.4.3 excecutable on S3C2440 gives segmentation fault

    Hi all,

    I want to run my customised qt application on ARM Board(S3C2440)..

    I designed my application in QT4(version 4.4.3) which was already installed in my OPENSUSE(version 11.1) PC,my application is working fine in PC.

    But when I tried to run on board I am getting segmentation fault.. The steps I followed are:

    * I downloaded qt-embedded-4.4.3.tar.gz and added my application to example directory and cross compiled the package for ARM like ./configure -embedded arm -shared -no-cups , gmake..
    after this I got arm executable of my application.
    * I transfered this arm executable of my application to board and also qt libs to board,exported all QT environment variables..

    When I tried to run this application on board, I am getting segmentation fault
    But when I tried to run example application from qt-embedded-4.4.3 package even it gives the same error segmentation fault

    I am not getting any clues also.so dont know how to proceed..


    Can anyone faced this problem..?? or any suggesions are badly needed..

    I have to debug this application using strace.. I dont know how to use strace on the target..
    Please guide me from where i have to download strace and how should i use it in the target?

    Thanks in advance:-)

    Regards,
    Soumya

  2. #2
    Join Date
    Oct 2009
    Posts
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt-4.4.3 excecutable on S3C2440 gives segmentation fault

    hi,
    for application to work environment variables and application path should be correctly specified ie., if you installed your qt embedded in /usr/local/qt , the application you want to run on your board should be in /usr/local/qt/bin (on your board) and also environment variables likie QTDIR,LD_LIBRARY_PATH should be correcly set.
    i am using mini2440 board where i am running qt 4.5.3 on my board. if u want i will provide environment paths and qt application path of my boards.
    u can check this link for reference
    http://www.developmentboard.net/inde...4-3-to-s3c2440

  3. #3
    Join Date
    Dec 2010
    Posts
    14
    Qt products
    Qt4 Qt/Embedded

    Default Re: Qt-4.4.3 excecutable on S3C2440 gives segmentation fault

    ./name_application -qws -fn somefont

Similar Threads

  1. Segmentation fault
    By Schimanski in forum Qt Programming
    Replies: 20
    Last Post: 31st August 2009, 16:26
  2. Segmentation fault
    By impeteperry in forum Qt Programming
    Replies: 5
    Last Post: 29th December 2008, 18:59
  3. segmentation fault
    By dreamer in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2008, 07:48
  4. Segmentation Fault
    By merry in forum General Programming
    Replies: 4
    Last Post: 12th March 2007, 04:08
  5. segmentation fault
    By shamik in forum Qt Programming
    Replies: 3
    Last Post: 24th November 2006, 07:33

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.