[Marble-bugs] [Bug 233153] Tilecreator crashes on armel (Maemo)

Dennis Nienhüser earthwings at gentoo.org
Sat Apr 3 14:56:49 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=233153





--- Comment #1 from Dennis Nienhüser <earthwings gentoo org>  2010-04-03 14:56:48 ---
Here is a test program:

#include <QtCore/QDebug>
#include <QtGui/QImage>

int main(int argc, char** argv)
{
  if (argc != 2 )
  {
    qDebug() << "Usage: " << argv[0] << " /path/to/image";
    return 1;
  }

  QImage image(argv[1]);
  if (!image.isNull())
  {
    qDebug() << "Loaded image " << argv[1] << " with size " << image.width() <<
"x" << image.height();
  }

  return 0;
}

Compile with 
g++ -o test -L /usr/lib/qt4/ -lQtGui test.cpp 

On Maemo with armel target, it segfaults when passing srtm.jpg (any jpg):
./test ../src/data/maps/earth/srtm/srtm.jpg
qemu: uncaught target signal 11 (Segmentation fault) - core dumped

but works fine with other image formats (tested png). Works fine in Kubuntu
with jpg and png.

Can someone with a running Maemo 5 SDK confirm this behavior?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Marble-bugs mailing list