New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GTK+ assert when opening a PO file #396
Comments
From a quick glance, looks like you got an assert in a library Poedit uses (GTK+ or wxGTK, versions of neither of which you provide), not in Poedit itself. You probably should file a bug with Fedora. If you think otherwise, please follow this advice and also provide backtrace from the debugger (with debug symbols compiled in!). |
So, I left feedback in Fedora's update gating system. I hope that my info will help (I don't know how I can provide backtrace). |
Attached you will find a backtrace Remark: The problem does not appear in previous Poedit 2.0.1 release. |
In the meantime I could do some further tests.
Problem appeared
OK |
Thanks! That's a useful clue that I wouldn't have suspected. |
This will remove "--line command-line switch" of version 2.0.2, but opening of po files will be possible again. See: vslavik/poedit#396 Revert vslavik/poedit@f98feb2 Revert vslavik/poedit@4b692e6 git diff 4b692e6 0f9dac7 > ~/rpmbuild/SOURCES/poedit-2.0.2_revert_4b692e6_f98feb2_invoke-dde_line_switch.patch Workaround for now, until this is fixed
This seems to be largely coincidental with f98feb2, not directly caused by it. Not reproducible with wx trunk either, only 3.0. |
* Fri Jun 02 2017 Wolfgang Stöggl <c72578@yahoo.de> - 2.0.2-4 - Add upstream fix to enable opening of .po files again in Poedit 2.0.2 Fix DrawRoundedRectangle assert with wxGTK 3.0 Commit: vslavik/poedit@86e0677 Fixes: vslavik/poedit#396
Maybe it is coincidental, but the issue also occurs under Arch Linux and the patch/revert provided by @c72578 fixes it here, too. |
@Martchus You will observe that I don't dispute that; in fact I explicitly confirm it (and thus your "me too" comment adds little value: yes, it is already known that wx-3.0 causes it). That a commit changes circumstances in the code in such a way that it triggers a bug in some unrelated code is not unheard of — that doesn't mean that said change causes it. The far more interesting question that I would appreciate help with is what causes the actual bug and if there's anything that can be done about it in client code, i.e. outside of wxGTK. Reverting f98feb2 is out of the question, but it must be some small bit of it triggering this and that may be possible to work around. (And sorry, I apparently closed this by accidentally clicking the other comment button. Didn't mean to. If it can be worked around in Poedit code, it should.) |
I've just responded because you've been closing the issue and I wasn't sure how to interpret your last comment. So thanks for making it clear. And I agree that the commit should not be reverted. |
Yeah, I see the ambiguity now :( |
@Martchus Actually, I was confused: as seen in the log above, commit 86e0677 fixed this 4 days before your comment. Closing again; please reopen/comment only if you tested with the latest master, not 2.0.2. |
If I run Poedit and then open some po-file, everything is fine. But if I try to open po-file directly (for example from desktop), Poedit crashes.
Terminal log:
OS: Fedora 26
DE: Gnome 3.24
Version: Poedit 2.0.2
The text was updated successfully, but these errors were encountered: