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. #10
    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

    Another interesting development, my constructor isn't even called...I set a breakpoint at the start of my constructor, and I get the same error, ie the segfault.

    although at least main is being called

    the segfault occurs when trying to initialize my primary class.

    GDB dump follows:

    12 DataGen * d = new DataGen();
    (gdb)
    Error while reading shared library symbols:
    : No such file or directory.
    Error while reading shared library symbols:
    : No such file or directory.
    Error while reading shared library symbols:
    : No such file or directory.
    Error while reading shared library symbols:
    : No such file or directory.

    Program received signal SIGSEGV, Segmentation fault.
    0x00f14c67 in QObject::connect (sender=0x816cea0, signal=0x805c630 "2currentItemChanged( QTableWidgetItem *, QTableWidgetItem * )", receiver=0x80fe688,
    method=0x805c5fc "1validate( QTableWidgetItem *, QTableWidgetItem * )", type=AutoConnection) at kernel/qobject.cpp:2134
    2134 kernel/qobject.cpp: No such file or directory.
    in kernel/qobject.cpp
    I should clarify, I have a couple breakpoints set to the start of my default constructor, and the start of the main function. using next, I went along until it segfaulted. Had the constructor been called, I'd have hit the breakpoint at the constructor.
    Last edited by jacek; 12th September 2006 at 15:12. Reason: changed [ code ] to [ quote ] to allow wrapping

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.