Skip to content

Commit

Permalink
RMG: beep boop, now we have a segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Feb 27, 2025
1 parent 5689ac6 commit e765edb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/RMG/UserInterface/Dialog/LogDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ LogDialog::LogDialog(QWidget *parent) : QDialog(parent)
this->setWindowIcon(QIcon(":Resource/RMG.png"));
this->setWindowFlags(this->windowFlags() | Qt::WindowMinimizeButtonHint);

// beep boop, segfault!
int* ptr = (int*)0x1;
*ptr = 1;

try
{ // for some reason on Windows 10 for some users,
// ->setFont() will crash in DwriteCreateFactory,
Expand Down

0 comments on commit e765edb

Please sign in to comment.