Project

General

Profile

Actions

Bug #16040

closed

Segmentation Fault when calling setWindowTitle() in Qt

Added by edhotmetal (Edward Fernandez) over 4 years ago. Updated over 4 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
2.5.5p157 (2019-03-15 revision 67260) [x64-mingw32]
[ruby-core:94118]

Description

I get a segmentation fault and a lot of backtrace information in the console when I run high_low_qt.rb
I am trying to create a widget that will display cards and buttons to control the game.
The fault happens at line 81 when I call setWindowTitle. I have used this method before in other scripts with no problems
so I'm not sure what happened here.
I am new to the Qt framework so I'm not sure if I'm even doing this right.
The output in the console says that it's most likely a bug, so I'm reporting it!


Files

card.rb (3.71 KB) card.rb Represents a card that can be placed in a deck edhotmetal (Edward Fernandez), 08/02/2019 09:42 PM
deck.rb (3.11 KB) deck.rb Represents a deck of 52 or 54 cards edhotmetal (Edward Fernandez), 08/02/2019 09:42 PM
high_low_qt.rb (3.13 KB) high_low_qt.rb Run this one edhotmetal (Edward Fernandez), 08/02/2019 09:49 PM
highlow.txt (11.9 KB) highlow.txt output from the command line edhotmetal (Edward Fernandez), 08/02/2019 10:03 PM

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Status changed from Open to Third Party's Issue

The segfault happens in the qtbindings gem:

C:\Ruby25-x64\lib\ruby\gems\2.5.0\gems\qtbindings-qt-4.8.6.4-x64-mingw32\qtbin\QtGui4.dll(ZNK7QWidget11windowTitleEv+0x8) [0x000000006514ea98]

Please try reporting the bug to them: https://github.com/ryanmelt/qtbindings/issues

Actions

Also available in: Atom PDF

Like0
Like0