Hi, I was doing some tests with TMS/WMS maps and QMap files on QLGT 1.1.2, and bumped into the bug in the subject.
In my user configuration I have a .qmap (/tmp/pnoa.qmap) which contains, apart from the rest of the information, the following: [level1] files=frmt_wms_pnoa.xml| zoomLevelMin=1 zoomLevelMax=1024 I mistakenly deleted the /tmp/frmt_wms_pnoa.xml file, and now at start time, QLGT 1.1.2 crashes with a SIGSEGV. A quick backtrace check shows the problem seems to be at src/CMapQMAP.cpp:115, which seems to do some Qt string work, and indeed, the top of the backtrace shows the problem: (gdb) backtrace #0 0xb6aec574 in ?? () from /usr/lib/libQtCore.so.4 #1 0xb6aec948 in QString::arg(QString const&, int, QChar const&) const () from /usr/lib/libQtCore.so.4 #2 0x08106d3c in CMapQMAP::CMapQMAP (this=0x86730e8, key=..., fn=..., parent=0x861e3b8) at /tmp/QLandkarteGT/src/CMapQMAP.cpp:115 #3 0x081cb029 in CMapDB::openMap (this=0x8665c50, filename=..., asRaster=false, canvas=...) at /tmp/QLandkarteGT/src/CMapDB.cpp:201 #4 0x081cd5ef in CMapDB::CMapDB (this=0x8665c50, tb=0x86acc10, parent=0xbffff528) at /tmp/QLandkarteGT/src/CMapDB.cpp:112 #5 0x080e2019 in CMainWindow::CMainWindow (this=0xbffff528) at /tmp/QLandkarteGT/src/CMainWindow.cpp:263 #6 0x080b08f5 in main (argc=-1228069336, argv=0x85f2ea8) at /tmp/QLandkarteGT/src/main.cpp:253 (gdb) quit It's been decades since I last debugged and fixed a programming error, and back then I wasn't a programmer either, so I hope you the hard core developers can fix the problem it in a minute. By the way, libQtCore.so.4.7.2 from 32 bit Ubuntu Natty (11.04), if that matters. Hope it helps, and if need further details, feel free to ask. -- Jose Luis Domingo Lopez Linux Registered User #189436 Linux Kubuntu 11.04 (Linux 2.6.38-8-generic-pae)
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
