Skip to content

XS_SDL__Surface_set_pixels/get_pixel coredump when invoked with out-of-bounds index. #257

Open
varnie opened this Issue Jan 3, 2014 · 0 comments

1 participant

@varnie
varnie commented Jan 3, 2014

I have perl 5.14.2 and libsdl-perl 2.540-1 installed.
Here's the gdb session:

gdb /usr/bin/perl core
GNU gdb (GDB) 7.5-ubuntu
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/bin/perl...(no debugging symbols found)...done.

warning: core file may not match specified executable file.
[New LWP 32317]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/perl ./yup_change.pl'.
Program terminated with signal 11, Segmentation fault.
#0 0xb697a315 in XS_SDL__Surface_set_pixels ()
from /usr/lib/perl5/auto/SDL/Surface/Surface.so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.