Bug#344259: Simple logo programs can crash kturtle
Package: kturtle
Version: 4:3.4.3-2
Severity: normal
Whilst feeding very large values to goy (and presumably gox as well) is
generally something to be avoided, one would expect that kturtle not crash
as a result. :P
Somewhat smaller values (eg. 10000000000) merely cause kturtle to consume
all memory.
I'm guessing the turtle wrapping code is not quite what it should be...
crashme.logo:
reset
goy 1000000000000
fw 1
Console output:
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = 0x8197ec8 ): KAccel object already contains an action name "help_contents"
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = 0x8197ec8 ): KAccel object already contains an action name "help_whats_this"
In file kernel/qimage.cpp, line 1283: Out of memory
QImage::scanLine: Index 0 out of range
KCrash: Application 'kturtle' crashing...
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (498, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.3
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Versions of packages kturtle depends on:
ii kdelibs4c2a 4:3.4.3-2 core libraries for all KDE applica
ii libc6 2.3.5-8 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.2-5 GCC support library
ii libqt3-mt 3:3.3.5-1 Qt GUI Library (Threaded runtime v
ii libstdc++6 4.0.2-5 The GNU Standard C++ Library v3
Versions of packages kturtle recommends:
ii kdeedu-data 4:3.4.2-2.1 shared data for KDE educational ap
-- no debconf information
--
______________________________________________________________________________
Michael Deegan, Unix Server Administrator, Murdoch University. Ph +61893606967
Reply to: