Bug#962622: qmapshack: Segmentation fault: no file found for translations
On Thu, Jun 11, 2020 at 09:24:01PM +0200, Sebastiaan Couwenberg wrote: > > The issue was already fixed upstream, those changes have been included > as patch which will be included in the next upload. As the gdal > transition just started, the the upload will have to wait until that's > completed. Thanks. I saw the upstream duplicate bug. Menawhile I must look into code page generation. ael
Bug#962622: qmapshack: Segmentation fault: no file found for translations
Control: tags -1 pending On 6/11/20 7:24 PM, Sebastiaan Couwenberg wrote: > On 6/11/20 7:21 PM, ael wrote: >> On Thu, Jun 11, 2020 at 06:28:58PM +0200, Sebastiaan Couwenberg wrote: >>> On 6/11/20 4:55 PM, ael wrote: Small test.img (20M) attached. >>> >>> This indeed causes a segfault, but gmapsup.img files from >>> garmin.openstreetmap.nl work correctly. >> >> It is likely to be something to do with the typ file. If I omit a typ >> file, then there is no problem. But still, any segfault is always a bug, >> of course. > > Indeed, the exception should at least be caught. Please subscribe to the > issue in the upstream issue tracker if you haven't done so already to > follow up there. The issue was already fixed upstream, those changes have been included as patch which will be included in the next upload. As the gdal transition just started, the the upload will have to wait until that's completed. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Bug#962622: qmapshack: Segmentation fault: no file found for translations
On 6/11/20 7:21 PM, ael wrote: > On Thu, Jun 11, 2020 at 06:28:58PM +0200, Sebastiaan Couwenberg wrote: >> On 6/11/20 4:55 PM, ael wrote: >>> Small test.img (20M) attached. >> >> This indeed causes a segfault, but gmapsup.img files from >> garmin.openstreetmap.nl work correctly. > > It is likely to be something to do with the typ file. If I omit a typ > file, then there is no problem. But still, any segfault is always a bug, > of course. Indeed, the exception should at least be caught. Please subscribe to the issue in the upstream issue tracker if you haven't done so already to follow up there. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Bug#962622: qmapshack: Segmentation fault: no file found for translations
On Thu, Jun 11, 2020 at 06:28:58PM +0200, Sebastiaan Couwenberg wrote: > Control: tags -1 - moreinfo > Control: tags -1 upstream > Control: forwarded -1 https://github.com/Maproom/qmapshack/issues/209 > > On 6/11/20 4:55 PM, ael wrote: > > Small test.img (20M) attached. > > This indeed causes a segfault, but gmapsup.img files from > garmin.openstreetmap.nl work correctly. It is likely to be something to do with the typ file. If I omit a typ file, then there is no problem. But still, any segfault is always a bug, of course. ael
Bug#962622: qmapshack: Segmentation fault: no file found for translations
Control: tags -1 - moreinfo Control: tags -1 upstream Control: forwarded -1 https://github.com/Maproom/qmapshack/issues/209 On 6/11/20 4:55 PM, ael wrote: > Small test.img (20M) attached. This indeed causes a segfault, but gmapsup.img files from garmin.openstreetmap.nl work correctly. I've forwarded the issue upstream as it doesn't seem to be packaging related issue. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Bug#962622: qmapshack: Segmentation fault: no file found for translations
On Thu, Jun 11, 2020 at 05:52:04AM +0200, Sebastiaan Couwenberg wrote: > Control: tags -1 moreinfo > > On 6/10/20 10:08 PM, ael wrote: > > Trying to read a gmapsupp.img generated by mkgmap using mapnik.typ > > results in an immediate crash. > > Can you share this file somewhere to help reproduce the issue? I will see if I can generate a much smaller test.img that also causes the crash. I did see it before with much smaller file so I should be able to do that. ael
Bug#962622: qmapshack: Segmentation fault: no file found for translations
Control: tags -1 moreinfo On 6/10/20 10:08 PM, ael wrote: > Trying to read a gmapsupp.img generated by mkgmap using mapnik.typ > results in an immediate crash. Can you share this file somewhere to help reproduce the issue? > There seems to be no version with debug symbols. Install qmapshack-dbgsym from debug.mirrors.debian.org. https://www.debian.org/releases/stretch/amd64/release-notes/ch-whats-new.en.html#debug-archive Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Bug#962622: qmapshack: Segmentation fault: no file found for translations
Package: qmapshack Version: 1.14.1-1 Severity: normal Trying to read a gmapsupp.img generated by mkgmap using mapnik.typ results in an immediate crash. Running under gdb doesn't give much useful information, but: (gdb) run Starting program: /usr/bin/qmapshack [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffded86700 (LWP 8692)] [New Thread 0x7fffdcefc700 (LWP 8693)] [New Thread 0x7fffd7fff700 (LWP 8694)] [New Thread 0x7fffd77fe700 (LWP 8695)] [New Thread 0x7fffd6ffd700 (LWP 8696)] 2020-06-10 21:01:36.084 [warning] "no file found for translations '/usr/share/qt5/translations/qt_en' (using default)." 2020-06-10 21:01:36.084 [warning] "no file found for translations '/usr/share/qmapshack/translations/qmapshack_en' (using default)." [New Thread 0x7fffd568a700 (LWP 8697)] [New Thread 0x7fffd4ce5700 (LWP 8699)] [New Thread 0x7fffbb97c700 (LWP 8700)] [Detaching after fork from child process 8701] ...[snip]... Thread 1 "qmapshack" received signal SIGSEGV, Segmentation fault. 0x74d120af in QTextCodec::toUnicode(QByteArray const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 There seems to be no version with debug symbols. -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.6.0-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages qmapshack depends on: ii libalglib3.143.16.0-1 ii libc62.30-8 ii libgcc-s110.1.0-3 ii libgdal263.0.4+dfsg-1+b6 ii libjpeg62-turbo 1:1.5.2-2+b1 ii libproj197.0.1-1 ii libqt5core5a 5.12.5+dfsg-10+b1 ii libqt5dbus5 5.12.5+dfsg-10+b1 ii libqt5gui5 5.12.5+dfsg-10+b1 ii libqt5help5 5.12.5-2+b2 ii libqt5network5 5.12.5+dfsg-10+b1 ii libqt5printsupport5 5.12.5+dfsg-10+b1 ii libqt5qml5 5.12.5-5 ii libqt5sql5 5.12.5+dfsg-10+b1 ii libqt5sql5-sqlite5.12.5+dfsg-10+b1 ii libqt5webenginewidgets5 5.12.5+dfsg-7+b3 ii libqt5widgets5 5.12.5+dfsg-10+b1 ii libqt5xml5 5.12.5+dfsg-10+b1 ii libquazip5-1 0.9-2 ii libroutino0 3.3.2-1 ii libstdc++6 10.1.0-3 Versions of packages qmapshack recommends: pn gdal-bin pn routino Versions of packages qmapshack suggests: ii gpsd 3.20-12 -- no debconf information