Re: guayadeque: assert "m_size != wxSize(0, 0)" failed in GetImageCount(): Invalid image list

2022-08-16 Thread Martin Gansser
Thank you for the detailed explanation.
In the meantime, I'll compile guayadeque without debug flag until the developer 
solves this.

Regards
Martin
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: guayadeque: assert "m_size != wxSize(0, 0)" failed in GetImageCount(): Invalid image list

2022-08-15 Thread Scott Talbert

On Mon, 15 Aug 2022, Scott Talbert wrote:


On Mon, 15 Aug 2022, Scott Talbert wrote:


On Mon, 15 Aug 2022, Martin Gansser wrote:


Sorry i ment F36/F37.


You didn't answer whether you see the same problem on F38.  Have you tried 
it there?


Never mind - I tried it there and do observe the same problem.


The issue appears to be that guayadeque is creating a wxImageList with its 
default constructor (wxImageList()), here:

https://github.com/anonbeat/guayadeque/blob/master/src/ui/radios/RadioPanel.cpp#L154

This creates a wxImageList where the images are of width=0, height=0 which 
is basically useless (hence the assert).


Instead, it should specify a width and height for the wxImageList using 
this constructor:

https://docs.wxwidgets.org/trunk/classwx_image_list.html#a7c99503e0d851e8d416204325014901a

Either that, or build without Debug enabled and you won't see the asserts.

Scott
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: guayadeque: assert "m_size != wxSize(0, 0)" failed in GetImageCount(): Invalid image list

2022-08-15 Thread Scott Talbert

On Mon, 15 Aug 2022, Scott Talbert wrote:


On Mon, 15 Aug 2022, Martin Gansser wrote:


Sorry i ment F36/F37.


You didn't answer whether you see the same problem on F38.  Have you tried it 
there?


Never mind - I tried it there and do observe the same problem.

Scott
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: guayadeque: assert "m_size != wxSize(0, 0)" failed in GetImageCount(): Invalid image list

2022-08-15 Thread Scott Talbert

On Mon, 15 Aug 2022, Martin Gansser wrote:


Sorry i ment F36/F37.


You didn't answer whether you see the same problem on F38.  Have you tried 
it there?


Scott
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: guayadeque: assert "m_size != wxSize(0, 0)" failed in GetImageCount(): Invalid image list

2022-08-15 Thread Martin Gansser
Sorry i ment F36/F37.

Regards
Martin
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: guayadeque: assert "m_size != wxSize(0, 0)" failed in GetImageCount(): Invalid image list

2022-08-15 Thread Scott Talbert

On Mon, 15 Aug 2022, Martin Gansser wrote:


Hi,

since i started guayadeque to compile with wxsqlite3-4.8.2-5.fc36.x86_64 and
wxGTK-3.1.5-6.fc36.x86_64 compile, the program starts on F37/F38 with the 
following error message:

../src/generic/imaglist.cpp(44): assert "m_size != wxSize(0, 0)" failed in 
GetImageCount(): Invalid image list
Downloading 0.01 MB separate debug info for 
/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
Downloading 6.79 MB separate debug info for /lib64/librsvg-2.so.2
[New Thread 0x7fffe1391640 (LWP 12198)]
[New Thread 0x7fffe1bbb640 (LWP 12199)]
[Thread 0x7fffe1391640 (LWP 12198) exited]
[Thread 0x7fffe1bbb640 (LWP 12199) exited]


Do you see the same problem with wxWidgets 3.2 on F38?

Scott
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


guayadeque: assert "m_size != wxSize(0, 0)" failed in GetImageCount(): Invalid image list

2022-08-15 Thread Martin Gansser
Hi,

since i started guayadeque to compile with wxsqlite3-4.8.2-5.fc36.x86_64 and
wxGTK-3.1.5-6.fc36.x86_64 compile, the program starts on F37/F38 with the 
following error message:

../src/generic/imaglist.cpp(44): assert "m_size != wxSize(0, 0)" failed in 
GetImageCount(): Invalid image list
Downloading 0.01 MB separate debug info for 
/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
Downloading 6.79 MB separate debug info for /lib64/librsvg-2.so.2
[New Thread 0x7fffe1391640 (LWP 12198)] 

   
[New Thread 0x7fffe1bbb640 (LWP 12199)]
[Thread 0x7fffe1391640 (LWP 12198) exited]
[Thread 0x7fffe1bbb640 (LWP 12199) exited]

Thread 1 "guayadeque" received signal SIGTRAP, Trace/breakpoint trap.
0x77536a42 in wxGenericImageList::GetImageCount (this=0x150b980) at 
../src/generic/imaglist.cpp:44
Downloading 0.00 MB source file 
/usr/src/debug/wxGTK-3.1.5-6.fc36.x86_64/bld_gtk3/../src/generic/imaglist.cpp
44  wxASSERT_MSG( m_size != wxSize(0, 0), "Invalid image list" );
Missing separate debuginfos, use: dnf debuginfo-install 
wxsqlite3-4.8.2-5.fc36.x86_64
(gdb) bt
#0  0x77536a42 in wxGenericImageList::GetImageCount() const 
(this=0x150b980) at ../src/generic/imaglist.cpp:44
#1  0x008cfa5c in 
Guayadeque::guShoutcastRadioProvider::RegisterImages(wxImageList*) 
(this=0x14d80d0, imagelist=0x150b980)
at 
/usr/src/debug/guayadeque-0.4.7-0.39.20220801gita8b47a6.fc36.x86_64/src/ui/radios/ShoutcastRadio.cpp:133
#2  0x008c27c3 in 
Guayadeque::guRadioGenreTreeCtrl::ReloadProviders(Guayadeque::guRadioProviderArray*)
 (this=0x14dc000, radioproviders=)
at 
/usr/src/debug/guayadeque-0.4.7-0.39.20220801gita8b47a6.fc36.x86_64/src/ui/radios/RadioPanel.cpp:161
#3  0x008c2da3 in Guayadeque::guRadioPanel::ReloadProviders() 
(this=) at 
/usr/src/debug/guayadeque-0.4.7-0.39.20220801gita8b47a6.fc36.x86_64/src/ui/radios/RadioPanel.cpp:770
#4  0x008caed1 in Guayadeque::guRadioPanel::guRadioPanel(wxWindow*, 
Guayadeque::guDbLibrary*, Guayadeque::guPlayerPanel*)
(this=0x14a0a90, parent=, db=, 
playerpanel=, this=, parent=, 
db=, playerpanel=)
at 
/usr/src/debug/guayadeque-0.4.7-0.39.20220801gita8b47a6.fc36.x86_64/src/ui/radios/RadioPanel.cpp:666
#5  0x006908fa in Guayadeque::guMainFrame::OnViewRadio(wxCommandEvent&) 
(this=0xbd1980, event=)
at 
/usr/src/debug/guayadeque-0.4.7-0.39.20220801gita8b47a6.fc36.x86_64/src/ui/MainFrame.cpp:2661
#6  0x0069ebf1 in Guayadeque::guMainFrame::LoadTabsPerspective(wxString 
const&) (this=0xbd1980, layout=...)
at 
/usr/src/debug/guayadeque-0.4.7-0.39.20220801gita8b47a6.fc36.x86_64/src/ui/MainFrame.cpp:4227
#7  0x006791e6 in Guayadeque::guMainFrame::guMainFrame(wxWindow*, 
Guayadeque::guDbCache*)
(this=0xbd1980, parent=, dbcache=, 
this=, parent=, dbcache=)
at 
/usr/src/debug/guayadeque-0.4.7-0.39.20220801gita8b47a6.fc36.x86_64/src/ui/MainFrame.cpp:292
#8  0x0058b2dd in Guayadeque::guMainApp::OnInit() (this=0xb3b810) at 
/usr/src/debug/guayadeque-0.4.7-0.39.20220801gita8b47a6.fc36.x86_64/src/MainApp.cpp:413
#9  0x77cef8ba in wxEntry(int&, wchar_t**) (argc=, 
argv=) at ../src/common/init.cpp:488
#10 0x0057bdb6 in main(int, char**) (argc=, 
argv=) at 
/usr/src/debug/guayadeque-0.4.7-0.39.20220801gita8b47a6.fc36.x86_64/src/MainApp.cpp:41
(gdb) quit
A debugging session is active.

Inferior 1 [process 11679] will be killed.

How can I solve this ?

Regards
Martin
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue