Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Feb 2015 03:54:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197383] [MAINTAINER] games/wxlauncher: Update to v0.9.5
Message-ID:  <bug-197383-13-ldZFBMqBj5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197383-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197383-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197383

lightside <lightside@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #152649|0                           |1
        is obsolete|                            |

--- Comment #2 from lightside <lightside@gmx.com> ---
Created attachment 152653
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152653&action=edit
Proposed patch (since 374599 revision)

The application, built in debug mode (WANT_DEBUG=yes) and run with gdb, shows
following stack trace:
-8<--
(gdb) run
Starting program: /usr/local/bin/wxlauncher 
[New LWP 100287]
[New Thread 816806400 (LWP 100287/wxlauncher)]
/usr/local/include/wx-3.0/wx/strvararg.h(456): assert "(argtype &
(wxFormatStringSpecifier<T>::value)) == argtype" failed in wxArgNormalizer():
format specifier doesn't match argument type

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 816806400 (LWP 100287/wxlauncher)]
0x000000080355626a in thr_kill () from /lib/libc.so.7
(gdb) bt
#0  0x000000080355626a in thr_kill () from /lib/libc.so.7
#1  0x00000008010bed56 in wxGUIAppTraits::ShowAssertDialog () from
/usr/local/lib/libwx_gtk2u_core-3.0.so.0
#2  0x0000000800a58e9e in wxAppConsoleBase::OnAssertFailure () from
/usr/local/lib/libwx_baseu-3.0.so.0
#3  0x0000000800a58b2a in wxAppConsoleBase::OnAssertFailure () from
/usr/local/lib/libwx_baseu-3.0.so.0
#4  0x000000080109c5f5 in wxApp::OnAssertFailure () from
/usr/local/lib/libwx_gtk2u_core-3.0.so.0
#5  0x0000000800a59417 in wxAbort () from /usr/local/lib/libwx_baseu-3.0.so.0
#6  0x0000000800a57caf in wxOnAssert () from
/usr/local/lib/libwx_baseu-3.0.so.0
#7  0x000000000047c431 in wxArgNormalizer (this=0x7fffffffb6b8, value=0,
fmt=0x7fffffffc0c0, index=1)
    at strvararg.h:456
#8  0x000000000047c396 in wxArgNormalizerWchar (this=0x7fffffffb6b8, value=0,
fmt=0x7fffffffc0c0, index=1)
    at strvararg.h:476
#9  0x000000000047c32b in wxArgNormalizerWchar (this=0x7fffffffb6b8, value=0,
fmt=0x7fffffffc0c0, index=1)
    at strvararg.h:476
#10 0x000000000047b70b in wxString::Format<unsigned long> (f1=@0x7fffffffc0c0,
a1=0) at string.h:2322
#11 0x00000000004cddac in ProMan::Initialize (flags=ProMan::None)
    at
/usr/ports/games/wxlauncher/work/wxLauncher-wxlauncher-7ee46df/code/apis/ProfileManager.cpp:145
#12 0x0000000000516894 in wxLauncher::OnInit (this=0x81691f080)
    at
/usr/ports/games/wxlauncher/work/wxLauncher-wxlauncher-7ee46df/code/wxLauncherApp.cpp:219
#13 0x0000000000517de9 in wxAppConsoleBase::CallOnInit (this=0x81691f080) at
app.h:93
#14 0x0000000800abf298 in wxEntry () from /usr/local/lib/libwx_baseu-3.0.so.0
#15 0x0000000000513f96 in main (argc=1, argv=0x7fffffffd8b0)
    at
/usr/ports/games/wxlauncher/work/wxLauncher-wxlauncher-7ee46df/code/wxLauncherApp.cpp:50
-->8-

It might be related to wxLogInfo format specifiers.

It is possible to ignore such assertion errors, because the application works.
So, I decided to create a patch with selection of wxWidgets version and 2.8 by
default. In case of 3.0 version it will be possible to debug such application
and submit patch(es), which fixes such errors, for interested people.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197383-13-ldZFBMqBj5>