Issue #16040 has been updated by jeremyevans0 (Jeremy Evans).

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

----------------------------------------
Bug #16040: Segmentation Fault when calling setWindowTitle() in Qt
https://bugs.ruby-lang.org/issues/16040#change-80360

* Author: edhotmetal (Edward Fernandez)
* Status: Third Party's Issue
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.5.5p157 (2019-03-15 revision 67260) [x64-mingw32]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
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)
deck.rb (3.11 KB)
high_low_qt.rb (3.13 KB)
highlow.txt (11.9 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>