Program closes when selecting PRINT

Report new issues and add information on existing ones.

Moderator: Kyete

nDervish
Posts: 93
Joined: Sat Nov 15, 2014 12:18 am

Re: Program closes when selecting PRINT

Post by nDervish » 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".

User avatar
Kanchou
Site Admin
Posts: 1021
Joined: Mon Nov 10, 2014 2:23 pm

Re: Program closes when selecting PRINT

Post by Kanchou » Thu Feb 13, 2020 11:43 am

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
Alejandro S. Canosa
Three Minds Software

nDervish
Posts: 93
Joined: Sat Nov 15, 2014 12:18 am

Re: Program closes when selecting PRINT

Post by nDervish » Fri Feb 14, 2020 4:41 am

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.

User avatar
Kanchou
Site Admin
Posts: 1021
Joined: Mon Nov 10, 2014 2:23 pm

Re: Program closes when selecting PRINT

Post by Kanchou » Sat May 23, 2020 9:06 pm

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
Alejandro S. Canosa
Three Minds Software

User avatar
malachid
Posts: 2
Joined: Sat Nov 15, 2014 12:07 pm
Location: PDX

Re: Program closes when selecting PRINT

Post by malachid » Sat Sep 26, 2020 2:53 pm

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]

User avatar
Kanchou
Site Admin
Posts: 1021
Joined: Mon Nov 10, 2014 2:23 pm

Re: Program closes when selecting PRINT

Post by Kanchou » Wed Jun 23, 2021 10:56 pm

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
Alejandro S. Canosa
Three Minds Software

Post Reply