Qt Signal Slot Segmentation Fault

Dec 09, 2007 Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Nov 23, 2016 I've just started learning QT with C. I'm pretty new to both languages. When making a simple program to help figure out signals and slots, I get a segmentation fault. What I'm trying to do is three things: Make a push button below that closes the window. When the slider reaches 100, set the text of the push button to something else.
Qt Signal Slot Segmentation Fault Map

Exit Signal Segmentation Fault 11
- Program received signal SIGSEGV, Segmentation fault.
- 0x00007f124c9d14e8in QTextFormatCollection::format()
- (gdb) bt
- #00x00007f124c9d14e8in QTextFormatCollection::format()
- #10x00007f124ca115abin QTextCursor::charFormat ()
- #20x00007f124ca13914in QTextCursor::insertText ()
- #30x000000000041cce5in TConsole::printMessageOnDisplay ()
- #40x00000000004180d2in mudlet::printMessageOnDisplay ()
- #60x0000000000424cfbin cTelnet::connectIt ()
- #70x00000000004174c3in mudlet::slot_connection_dlg_finnished ()
- #90x00007f124c036134in QMetaObject::activate () from /usr/lib/libQtCore.so.4
- #100x00000000004bd9d0in dlgConnectionProfiles::signal_establish_connection ()
- #110x0000000000437c2bin dlgConnectionProfiles::slot_connection_dlg_finnished
- #120x00000000004bda58in dlgConnectionProfiles::qt_metacall ()
- #130x00007f124c036134in QMetaObject::activate () from /usr/lib/libQtCore.so.4
- #140x00007f124cbf68ddin QDialog::qt_metacall () from /usr/lib/libQtGui.so.4
- #150x00000000004bda05in dlgConnectionProfiles::qt_metacall ()
- #160x00007f124c036134in QMetaObject::activate () from /usr/lib/libQtCore.so.4
- #170x00007f124cd63787in QAbstractButton::clicked ()
- ---Type <return> to continue, or q <return> to quit---