Bug 1208813

Summary: [abrt] poedit: wxAbort()(): poedit killed by SIGABRT
Product: [Fedora] Fedora Reporter: miguel rodriguez <bokerones.fritos>
Component: wxGTK3Assignee: Jeremy Newton <alexjnewt>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: alexjnewt, c72578, christoph.wickert, itamar, karlthered, mario.blaettermann
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/696b9b7685946a558d279338c1fd1ccd86fff08a
Whiteboard: abrt_hash:5ce4bd76e02d449d48e1d2affc9c01eff3970bc3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-14 15:43:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: mountinfo
none
File: namespaces
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description miguel rodriguez 2015-04-03 09:24:17 UTC
Description of problem:
Try to open in terminal typing "poedit" and no works:
bash-4.3$ poedit 
Fatal Error: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1008,wx containers,compatible with 2.8).
Abortado (`core' generado)

Version-Release number of selected component:
poedit-1.7.5-2.fc22

Additional info:
reporter:       libreport-2.5.0
backtrace_rating: 4
cmdline:        poedit
crash_function: wxAbort()
executable:     /usr/bin/poedit
global_pid:     3349
kernel:         4.0.0-0.rc5.git4.1.fc22.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #2 wxAbort() at src/common/appbase.cpp:1034
 #3 wxLog::OnLog(unsigned long, wxString const&, wxLogRecordInfo const&) at src/common/log.cpp:353
 #4 wxLogger::DoLog(wchar_t const*, ...) at include/wx/log.h:1252
 #7 wxAppConsoleBase::CheckBuildOptions(char const*, char const*) at include/wx/log.h:968
 #9 wxCreateApp() at edapp.cpp:90
 #10 wxEntryStart(int&, wchar_t**) at src/common/init.cpp:307
 #11 wxInitialize(int, wchar_t**) at src/common/init.cpp:531
 #12 wxEntry(int&, wchar_t**) at include/wx/init.h:92
 #14 wxEntry(int&, char**) at src/common/init.cpp:507
 #15 main(int, char**) at edapp.cpp:90

Comment 1 miguel rodriguez 2015-04-03 09:24:20 UTC
Created attachment 1010552 [details]
File: backtrace

Comment 2 miguel rodriguez 2015-04-03 09:24:21 UTC
Created attachment 1010553 [details]
File: cgroup

Comment 3 miguel rodriguez 2015-04-03 09:24:22 UTC
Created attachment 1010554 [details]
File: core_backtrace

Comment 4 miguel rodriguez 2015-04-03 09:24:23 UTC
Created attachment 1010555 [details]
File: dso_list

Comment 5 miguel rodriguez 2015-04-03 09:24:24 UTC
Created attachment 1010556 [details]
File: environ

Comment 6 miguel rodriguez 2015-04-03 09:24:25 UTC
Created attachment 1010557 [details]
File: limits

Comment 7 miguel rodriguez 2015-04-03 09:24:27 UTC
Created attachment 1010558 [details]
File: maps

Comment 8 miguel rodriguez 2015-04-03 09:24:28 UTC
Created attachment 1010559 [details]
File: mountinfo

Comment 9 miguel rodriguez 2015-04-03 09:24:29 UTC
Created attachment 1010560 [details]
File: namespaces

Comment 10 miguel rodriguez 2015-04-03 09:24:31 UTC
Created attachment 1010561 [details]
File: open_fds

Comment 11 miguel rodriguez 2015-04-03 09:24:32 UTC
Created attachment 1010562 [details]
File: proc_pid_status

Comment 12 miguel rodriguez 2015-04-03 09:24:33 UTC
Created attachment 1010563 [details]
File: var_log_messages

Comment 13 miguel rodriguez 2015-04-03 09:48:25 UTC
In tehory is the same fail that reported bug 1202572

Comment 14 Mario Blättermann 2015-04-10 19:39:06 UTC
I've changed the component to wxGTK3. Not really sure about that, but I read the following in the backtrace:

m_impl = L"Mismatch between the program and library build versions detected.\nThe library used 3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 2.8),\nand your program used 3.0 (wchar_t,compil"..., m_convertedToChar = {m_str = 0x0, m_len = 139915471809392}}
        __FUNCTION__ = "CheckBuildOptions"

Obviously there's a kind of backward compatibility in wxGTK3. This confuses Poedit. Correct me if I'm wrong.

Comment 15 Jeremy Newton 2015-04-11 15:43:57 UTC
(In reply to Mario Blättermann from comment #14)
> I've changed the component to wxGTK3. Not really sure about that, but I read
> the following in the backtrace:
> 
> m_impl = L"Mismatch between the program and library build versions
> detected.\nThe library used 3.0 (wchar_t,compiler with C++ ABI 1002,wx
> containers,compatible with 2.8),\nand your program used 3.0
> (wchar_t,compil"..., m_convertedToChar = {m_str = 0x0, m_len =
> 139915471809392}}
>         __FUNCTION__ = "CheckBuildOptions"
> 
> Obviously there's a kind of backward compatibility in wxGTK3. This confuses
> Poedit. Correct me if I'm wrong.

Yes there is a backwards compatibility, but I can't turn it off because some packages depend on it.

Also note that WxGTK3 is built with gtk3, while most distros build it with gtk2, so this may also be something to be concerned with.

You can try building this against compat-wxGTK3-gtk2-devel, as I'm pretty sure it has the 2.8 compatibility turned off (it also uses gtk2 instead of gtk3), see RH#1203587. Let me know if this works better for you.

Comment 16 Jeremy Newton 2015-04-11 15:48:24 UTC
For clarification, I was trying to direct that to the maintainers, but anyone willing to try to rebuild this could work.

Comment 17 Mario Blättermann 2015-04-17 19:46:54 UTC
(In reply to Jeremy Newton from comment #15)
> You can try building this against compat-wxGTK3-gtk2-devel, as I'm pretty
> sure it has the 2.8 compatibility turned off (it also uses gtk2 instead of
> gtk3), see RH#1203587. Let me know if this works better for you.

This package is only in Rawhide, so it wouldn't solve the problem in f22. But anyway, I'll try to rebuild the package for f22 and see if it works.

The scratch build fails:
http://koji.fedoraproject.org/koji/taskinfo?taskID=9500743

./configure: line 5769: test: 3-gtk2: integer expression expected
no (version 3.0.2-gtk2 is not new enough)
configure: error: 
        Please check that wx-config is in path, the directory
        where wxWidgets libraries are installed (returned by
        'wx-config --unicode --libs' command) is in LD_LIBRARY_PATH or
        equivalent variable and wxWidgets is version 3.0.0 or above,
        with Unicode build available.

This is no solution for the time being, and even not for the upcoming f22.

Comment 18 Mario Blättermann 2015-06-14 15:43:20 UTC
The latest v1.8.1 of Poedit works fine now, so I think we can close this ticket now.