Loop unrolling -> stack corruption

Stephan Kulow coolo at kde.org
Wed May 8 18:22:31 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mittwoch, 8. Mai 2002 17:41, Michael Goffioul wrote:
> Something weird seems to happen with kdeprint code. When compiled with
> the flag -funroll-loops, crashes happen and it's impossible to debug it
> with gdb as the stack is corrupted ("Cannot access memory..."). Without
> that compilation flag, everything is OK.
> This is tested with gcc-2.95.3.
>
> Except valgrinding the code, does anybody have any hint?
Hmm, using valgrind on the binary? :)

Greetings, Stephan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE82V7XwFSBhlBjoJYRAn3tAKDHnWOrYi/mhe3jPzXAscr0KvYX+wCeKo2n
AFFdSHtuAv6mOJatEEmaXC8=
=Ly9l
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list