Results 1 to 20 of 25

Thread: Interesting little Segfault w/r to signal/slot connection

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #9
    Join Date
    Mar 2006
    Location
    kingston.on.ca
    Posts
    17
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Interesting little Segfault w/r to signal/slot connection

    ldd is reporting that everything should be fine, here's the dump

    Qt Code:
    1. linux-gate.so.1 => (0x00c87000)
    2. libQtGui_debug.so.4 => /usr/local/Trolltech/Qt-4.1.0/lib/libQtGui_debug.so.4 (0x00111000)
    3. libpng12.so.0 => /usr/lib/libpng12.so.0 (0x07afc000)
    4. libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x00de0000)
    5. libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x00d48000)
    6. libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x0080e000)
    7. libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x00816000)
    8. libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x0081e000)
    9. libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x00821000)
    10. libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x07888000)
    11. libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x0082a000)
    12. libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x0088f000)
    13. libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x00d25000)
    14. libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x008b6000)
    15. libQtCore_debug.so.4 => /usr/local/Trolltech/Qt-4.1.0/lib/libQtCore_debug.so.4 (0x00de8000)
    16. libz.so.1 => /usr/lib/libz.so.1 (0x00d35000)
    17. libdl.so.2 => /lib/libdl.so.2 (0x00c55000)
    18. libpthread.so.0 => /lib/tls/libpthread.so.0 (0x0097e000)
    19. libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x07728000)
    20. libm.so.6 => /lib/tls/libm.so.6 (0x00c30000)
    21. libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00a5a000)
    22. libc.so.6 => /lib/tls/libc.so.6 (0x00b13000)
    23. libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00990000)
    24. /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00afa000)
    To copy to clipboard, switch view to plain text mode 

    I know that these locations all exist.

    As for the initialization thing it's throwing out compile errors about an invalid conversion

    Qt Code:
    1. datagen.cpp: In constructor `DataGen::DataGen()':
    2. datagen.cpp:34: error: invalid conversion from `unsigned int' to `QTableWidget*
    3. '
    4. datagen.cpp:34: error: invalid conversion from `unsigned int' to `QTableWidget*
    5. '
    To copy to clipboard, switch view to plain text mode 

    Trying to solve that problem right now.

    Edit: The QTableWidget pointer doesn't seem to want to let me initialize it's address to a random memory location...
    Last edited by Hydragyrum; 12th September 2006 at 14:46. Reason: update/typo fix

Similar Threads

  1. Interesting tutorial on UI Designer
    By GreyGeek in forum Qt Tools
    Replies: 1
    Last Post: 6th August 2006, 08:43
  2. segfault
    By conexion2000 in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2006, 12:34
  3. Why does setTextColor() cause a segfault?
    By johnny_sparx in forum Qt Programming
    Replies: 1
    Last Post: 1st April 2006, 16:58
  4. Replies: 10
    Last Post: 10th February 2006, 00:15
  5. use interesting QWT Library with QT3.X
    By raphaelf in forum Qwt
    Replies: 2
    Last Post: 23rd January 2006, 11:24

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.