Page 2 of 2

Re: Program closes when selecting PRINT

Posted: Thu Feb 13, 2020 6:44 am
by nDervish
Finally got my new laptop delivered last week, installed the current Debian version and was able to run the Linux OWM build... and promptly ran into this bug.

Is there a known workaround, or do I just need to print from Windows until 1.0.2 comes out? Based on the earlier speculation in this thread, I tried switching the default printer, but it didn't seem to change anything - still segfaults as soon as I hit "print".

Re: Program closes when selecting PRINT

Posted: Thu Feb 13, 2020 11:43 am
by Kanchou
nDervish wrote:
Thu Feb 13, 2020 6:44 am
Finally got my new laptop delivered last week, installed the current Debian version and was able to run the Linux OWM build... and promptly ran into this bug.

Is there a known workaround, or do I just need to print from Windows until 1.0.2 comes out? Based on the earlier speculation in this thread, I tried switching the default printer, but it didn't seem to change anything - still segfaults as soon as I hit "print".
We were able to reproduce it, and it's one of the issues we are still working on for the next release. It's got me a bit confused.

If you don't want to print from Windows another option is to export the map to PDF and then print the PDF.

- Alejandro

Re: Program closes when selecting PRINT

Posted: Fri Feb 14, 2020 4:41 am
by nDervish
Ah, great, thanks! I was actually trying to print to PDF, then send that to the printer (so I have both paper and digital copies), but it never occurred to me that I might be able to export to PDF instead of going through a PDF print driver.

Re: Program closes when selecting PRINT

Posted: Sat May 23, 2020 9:06 pm
by Kanchou
Update. I was not able to fix this issue (personally working on the Linux port).

We made the call not to hold the release over this, but we will make it our first priority for the release after (which will aim only to make small changes/fixes).

Thank you!

-Alejandro

Re: Program closes when selecting PRINT

Posted: Sat Sep 26, 2020 2:53 pm
by malachid
Confirmed that I am also seeing it crash when attempting to print; but exporting PDF is working.

If it helps, I'm seeing this from dmesg

Code: Select all

[ 3559.531435] OWM[9028]: segfault at 20 ip 00007f9f85553e33 sp 00007ffd4390ddc8 error 4 in libgtk-x11-2.0.so.0.2400.32[7f9f853fa000+435000]
[ 3632.559448] OWM[13473]: segfault at 20 ip 00007f4d99c52e33 sp 00007fff24cf86f8 error 4 in libgtk-x11-2.0.so.0.2400.32[7f4d99af9000+435000]

Re: Program closes when selecting PRINT

Posted: Wed Jun 23, 2021 10:56 pm
by Kanchou
Let me add, that I hate this bug.

For whatever reason printing and contexts in Linux is different and weird. I was able to get past the original crash but actually hitting "print" doesn't work and I can't figure out why.

So, that's still for the next release....

- Alejandro