aMule does not open on Xenial Xerus while using the priscilla skin

Bug #1523153 reported by trekfan1
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
amule (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

 2015-12-05 21:12:46: Initialising aMule SVN compiled with wxGTK2 v3.0.2 and Boost 1.58
 2015-12-05 21:12:46: Checking if there is an instance already running...
 2015-12-05 21:12:46: No other instances are running.
 2015-12-05 21:12:46: ListenSocket: Ok.
Assertion failed: ../src/generic/imaglist.cpp:Add:66: Assertion '(bitmap.GetWidth() >= m_width && bitmap.GetHeight() == m_height) || (m_width == 0 && m_height == 0)' failed. invalid bitmap size in wxImageList: this might work on this platform but definitely won't under Windows.
Backtrace follows:
[3] wxOnAssert(char const*, int, char const*, char const*, wchar_t const*) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7f23e30530fa]
[4] wxGenericImageList::Add(wxBitmap const&) in /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0[0x7f23e390239e]
[5] CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>, 64u, CryptoPP::HashTransformation>::DataBuf() in amule[0x53bdf1]
[6] CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>, 64u, CryptoPP::HashTransformation>::DataBuf() in amule[0x53c34c]
[7] CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>, 64u, CryptoPP::HashTransformation>::DataBuf() in amule[0x53e309]
[8] CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>, 64u, CryptoPP::HashTransformation>::DataBuf() in amule[0x532ea9]
[9] CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>, 64u, CryptoPP::HashTransformation>::DataBuf() in amule[0x533324]
[10] void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t const*>(wchar_t const*, wchar_t const*, std::forward_iterator_tag) in amule[0x46b9de]
[11] CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>, 64u, CryptoPP::HashTransformation>::DataBuf() in amule[0x5333a7]
[12] wxEntry(int&, wchar_t**) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7f23e30dfea2]
[13] ?? in amule[0x440712]
[14] __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6[0x7f23e1f52a00]
[15] ?? in amule[0x452c19]

Revision history for this message
trekfan1 (trekfan1) wrote :

Italian text: il problema è nel tema dell'interfaccia denominato "priscilla", cambiando tema amule funziona.

Revision history for this message
trekfan1 (trekfan1) wrote :

When select theme priscilla:

SSERT INFO:
../src/generic/imaglist.cpp(66): assert "(bitmap.GetWidth() >= m_width && bitmap.GetHeight() == m_height) || (m_width == 0 && m_height == 0)" failed in Add(): invalid bitmap size in wxImageList: this might work on this platform but definitely won't under Windows.

BACKTRACE:
[1] wxOnAssert(char const*, int, char const*, char const*, wchar_t const*)
[2] wxGenericImageList::Add(wxBitmap const&)
[3] CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>, 64u, CryptoPP::HashTransformation>::DataBuf()
[4] CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>, 64u, CryptoPP::HashTransformation>::DataBuf()
[5] CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>, 64u, CryptoPP::HashTransformation>::DataBuf()
[6] wxNavigationEnabled<wxWindow>::AcceptsFocusRecursively() const
[7] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[8] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[9] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[10] wxEvtHandler::TryHereOnly(wxEvent&)
[11] wxEvtHandler::ProcessEventLocally(wxEvent&)
[12] wxEvtHandler::ProcessEvent(wxEvent&)
[13] wxWindowBase::TryAfter(wxEvent&)
[14] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[15] g_signal_emit_valist
[16] g_signal_emit
[17] g_closure_invoke
[18] g_signal_emit_valist
[19] g_signal_emit
[20] g_closure_invoke
[21] g_signal_emit_valist
[22] g_signal_emit
[23] gtk_propagate_event
[24] gtk_main_do_event
[25] g_main_context_dispatch
[26] g_main_loop_run
[27] gtk_main
[28] wxGUIEventLoop::DoRun()
[29] wxEventLoopBase::Run()
[30] wxAppConsoleBase::MainLoop()
[31] wxEntry(int&, wchar_t**)
[32] __libc_start_main

I have tried to copy theme files from stable but same result.

Revision history for this message
shankao (shankao) wrote :

Is this a problem with the most recent upstream amule version? Notice that ubuntu is packaging a git snapshot at the moment.
May it be a difference in the package compilation for the ubuntu flavor? (i.e. wxGTK2 version)

Revision history for this message
trekfan1 (trekfan1) wrote :

Yes, on Ubuntu 15.10 amule is compiled wit GTK2:

2016-02-11 11:00:05: Initialising aMule SVN compiled with wxGTK2 v2.8.12 (Snapshot: rev. 10835)

Revision history for this message
shankao (shankao) wrote :

Is upstream amule (the one at http://www.amule.org/) also experiencing the same problems when compiled against a recent version of wxGTK? can this be a problem in amule upstream and not ubuntu itself?

If a problem upstream, then please fill up a bug report for them to notice it and link it here. Ubuntu could also temporarily change it's dependencies to pin compile with a previous version of wxGTK.

If instead, upstream amule works properly, then we may be looking at some other type of problem here.

Revision history for this message
shankao (shankao) wrote :

I have had a look at amule's bugtracker [1] and they seem to have already ported it to wxGTK 3 [2].
The new version is not only in xenial but, supposedly, in debian too [3]

This seems to be a different type of bug; I suggest you to fill up a report directly to amule's bug tracking tool [1] and please add a link to it here.

Thanks!

[1] https://github.com/amule-project/amule/issues
[2] https://github.com/amule-project/amule/issues/2
[3] https://packages.debian.org/sid/amule

Changed in amule (Ubuntu):
status: New → Incomplete
status: Incomplete → New
summary: - aMule not open on Xenial Xerus
+ aMule does not open on Xenial Xerus
Revision history for this message
trekfan1 (trekfan1) wrote : Re: aMule does not open on Xenial Xerus

Ho aperto un topic nel forum di amule: http://forum.amule.org/index.php?topic=21297.0;topicseen a quanto sembra è una immagine del tema priscilla ad avere una dimensione sbagliata.

Revision history for this message
shankao (shankao) wrote :

Hi. Some of the sentences in this bug report are not in English. If they were translated to English they would be more understandable to triagers. Could you please translate them?

From the link, it seems that this bug only happens with a user-installed, and not default, amule skin: priscilla. Is the error happening to you with the default amule skin?

Revision history for this message
trekfan1 (trekfan1) wrote :
shankao (shankao)
summary: - aMule does not open on Xenial Xerus
+ aMule does not open on Xenial Xerus with the priscilla skin
Changed in amule (Ubuntu):
status: New → Confirmed
summary: - aMule does not open on Xenial Xerus with the priscilla skin
+ aMule does not open on Xenial Xerus while using the priscilla skin
Revision history for this message
trekfan1 (trekfan1) wrote :

Sul forum di amule hanno risposto che il problema è stato corretto (oltre a qualche altro dettaglio9 il link a github lo ho postato, spero che a breve venga caricato nei repo di xenial

Revision history for this message
trekfan1 (trekfan1) wrote :

On github the bug is corrected (see previous link!) please update!

Revision history for this message
shankao (shankao) wrote :

I think that ubuntu syncs the amule package from debian. It would be better to ask for a package update there:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=amule;dist=unstable

Changed in amule (Ubuntu):
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.