[knights] [Bug 465518] Crash when loading invalid PGN file

2023-02-09 Thread Chris Spiegel
https://bugs.kde.org/show_bug.cgi?id=465518

--- Comment #1 from Chris Spiegel  ---
Created attachment 156113
  --> https://bugs.kde.org/attachment.cgi?id=156113=edit
Stack trace

Apparently you can add extra attachments, so to make things easier, I'm also
attaching the stack trace as a file.

-- 
You are receiving this mail because:
You are watching all bug changes.

[knights] [Bug 465518] New: Crash when loading invalid PGN file

2023-02-09 Thread Chris Spiegel
https://bugs.kde.org/show_bug.cgi?id=465518

Bug ID: 465518
   Summary: Crash when loading invalid PGN file
Classification: Applications
   Product: knights
   Version: unspecified
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: alexander.se...@web.de
  Reporter: cspie...@gmail.com
CC: kde-games-b...@kde.org
  Target Milestone: ---

Created attachment 156112
  --> https://bugs.kde.org/attachment.cgi?id=156112=edit
The invalid PGN file

Note: This is version 22.12.2, but that's not available in the versions list.

SUMMARY
When loading an invalid PGN file, Knights segfaults.

STEPS TO REPRODUCE
1. Start Knights
2. Open an invalid PGN file

OBSERVED RESULT
Crash

EXPECTED RESULT
No crash

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15 (From KDE Git)

ADDITIONAL INFORMATION
I've attached the invalid PGN file.  Since there is, apparently, only one
attachment allowed, I'll dump the gdb stack trace here:

Thread 1 "knights" received signal SIGSEGV, Segmentation fault.
0x00429f40 in Knights::Piece::pieceType (this=0x0) at
/usr/ports/ports/knights-kde/knights-22.12.2/src/core/piece.cpp:140
140 return m_type;
#0  0x00429f40 in Knights::Piece::pieceType (this=0x0) at
/usr/ports/ports/knights-kde/knights-22.12.2/src/core/piece.cpp:140
#1  0x0044bbcb in Knights::ChessRules::castlingMoves (this=0x1018160,
pos=...) at
/usr/ports/ports/knights-kde/knights-22.12.2/src/rules/chessrules.cpp:463
#2  0x004480de in Knights::ChessRules::legalMoves (this=0x1018160,
pos=...) at
/usr/ports/ports/knights-kde/knights-22.12.2/src/rules/chessrules.cpp:122
#3  0x0044cca9 in Knights::ChessRules::changeNotation (this=0x1018160,
move=0x7fffd240, notation=Knights::Move::Coordinate, color=Knights::White)
at
/usr/ports/ports/knights-kde/knights-22.12.2/src/rules/chessrules.cpp:578
#4  0x00449b05 in Knights::ChessRules::checkSpecialFlags
(this=0x1018160, move=0x7fffd240, color=Knights::White) at
/usr/ports/ports/knights-kde/knights-22.12.2/src/rules/chessrules.cpp:285
#5  0x004653a1 in Knights::Manager::processMove (this=0x4d0620
<(anonymous namespace)::Q_QGS_instance::innerFunction()::holder>, move=...)
at /usr/ports/ports/knights-kde/knights-22.12.2/src/gamemanager.cpp:736
#6  0x00465f5e in Knights::Manager::loadGameHistoryFrom (this=0x4d0620
<(anonymous namespace)::Q_QGS_instance::innerFunction()::holder>, filename=...)
at /usr/ports/ports/knights-kde/knights-22.12.2/src/gamemanager.cpp:850
#7  0x0047966a in Knights::MainWindow::protocolInitSuccesful
(this=0xaf8dd0) at
/usr/ports/ports/knights-kde/knights-22.12.2/src/knights.cpp:441
#8  0x0048045d in QtPrivate::FunctorCall,
QtPrivate::List<>, void, void (Knights::MainWindow::*)()>::call(void
(Knights::MainWindow::*)(), Knights::MainWindow*, void**) (
f=(void (Knights::MainWindow::*)(Knights::MainWindow * const)) 0x47834a
, o=0xaf8dd0, arg=0x7fffd4d0)
at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
#9  0x0048001d in QtPrivate::FunctionPointer::call, void>(void
(Knights::MainWindow::*)(), Knights::MainWindow*, void**) (
f=(void (Knights::MainWindow::*)(Knights::MainWindow * const)) 0x47834a
, o=0xaf8dd0, arg=0x7fffd4d0)
at /usr/include/qt/QtCore/qobjectdefs_impl.h:185
#10 0x0047f5da in QtPrivate::QSlotObject, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1,
this_=0x10d8220, 
r=0xaf8dd0, a=0x7fffd4d0, ret=0x0) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:418
#11 0x758bf742 in ?? () from /usr/lib/libQt5Core.so.5
#12 0x0041fa0d in Knights::Manager::initComplete (this=0x4d0620
<(anonymous namespace)::Q_QGS_instance::innerFunction()::holder>)
at
/usr/ports/ports/knights-kde/knights-22.12.2/x/src/knights_autogen/EWIEGA46WW/moc_gamemanager.cpp:378
#13 0x00463e4b in Knights::Manager::protocolInitSuccesful
(this=0x4d0620 <(anonymous
namespace)::Q_QGS_instance::innerFunction()::holder>)
at /usr/ports/ports/knights-kde/knights-22.12.2/src/gamemanager.cpp:421
#14 0x004691b8 in QtPrivate::FunctorCall,
QtPrivate::List<>, void, void (Knights::Manager::*)()>::call(void
(Knights::Manager::*)(), Knights::Manager*, void**) (
f=(void (Knights::Manager::*)(Knights::Manager * const)) 0x463cc0
, o=0x4d0620 <(anonymous
namespace)::Q_QGS_instance::innerFunction()::holder>, 
arg=0x1a0d778) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
#15 0x00468de9 in QtPrivate::FunctionPointer::call, void>(void
(Knights::Manager::*)(), Knights::Manager*, void**) (
f=(void (Knights::Manager::*)(Knights::Manager * const)) 0x463cc0
, o=0x4d0620 <(anonymous
namespace)::Q_QGS_instance::innerFunction()::holder>, 
arg=0x1a0d778) at 

[kompare] [Bug 393863] Ligatures incorrectly used, at least in some cases

2022-12-10 Thread Chris Spiegel
https://bugs.kde.org/show_bug.cgi?id=393863

Chris Spiegel  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |FIXED
 Status|NEEDSINFO   |RESOLVED

--- Comment #4 from Chris Spiegel  ---
After testing, I can't reproduce this with any font that I've tried.  Looks
like it's been fixed.  Thanks!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 440359] New: Warning message when opening a file containing just a UTF-8 BOM

2021-07-28 Thread Chris Spiegel
https://bugs.kde.org/show_bug.cgi?id=440359

Bug ID: 440359
   Summary: Warning message when opening a file containing just a
UTF-8 BOM
   Product: kate
   Version: 21.04.3
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: minor
  Priority: NOR
 Component: part
  Assignee: kwrite-bugs-n...@kde.org
  Reporter: cspie...@gmail.com
  Target Milestone: ---

Created attachment 140372
  --> https://bugs.kde.org/attachment.cgi?id=140372=edit
A file consisting of a UTF-8 BOM

Opening a file which contains only a UTF-8 BOM (i.e. U+FEFF, "Zero width
no-break space") causes the following message to appear:

The file /path/to/BOM was opened with UTF-8 encoding but contained invalid
characters.
It is set to read-only mode, as saving might destroy its content.
Either reopen the file with the correct encoding chosen or enable the
read-write mode again in the tools menu to be able to edit it.

Such a file can be created with:

printf "\xef\xbb\xbf" > BOM

I've also attached the file here.

If there are other characters following the BOM there is no error message.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: Latest tagged 5.15 from KDE's repository

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 435309] 3b06b6f22 makes selection near invisible with some foreground/background color combinations

2021-04-24 Thread Chris Spiegel
https://bugs.kde.org/show_bug.cgi?id=435309

Chris Spiegel  changed:

   What|Removed |Added

 CC||cspie...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 433059] Changing "Active/Inactive Titlebar" colors has no effect when Header colors are present

2021-03-05 Thread Chris Spiegel
https://bugs.kde.org/show_bug.cgi?id=433059

Chris Spiegel  changed:

   What|Removed |Added

 CC||cspie...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.