wxMaxima-developers / wxmaxima

A gui for the computer algebra system Maxima built with wxWidgets
https://wxMaxima-developers.github.io/wxmaxima/
Other
471 stars 98 forks source link

Warning is still there on Nightly build 2023-10-26 #1831

Closed ReneSci closed 10 months ago

ReneSci commented 11 months ago

build_info(version="branch_5_47_base_439_ga04417106_dirty",timestamp="2023-10-26 23:53:34",host="x86_64-w64-mingw32",lisp_name="SBCL",lisp_version="2.3.2",maxima_userdir="C:/Users/U265227/maxima",maxima_tempdir="C:/Users/xxxx/AppData/Local/Temp",maxima_objdir="C:/Users/xxx/maxima/binary/branch_5_47_base_439_ga04417106_dirty/sbcl/2_3_2",maxima_frontend="wxMaxima",maxima_frontend_version="23.10.0_DevelopmentSnapshot_MSW")

This warning pups up a number of times (4 times for me), otherwise wxMaxima seems to run ok image

daute commented 11 months ago

You mean the warning from the issue https://github.com/wxMaxima-developers/wxmaxima/issues/1830 which was closed by me? I can not reproduce that. "Enter Matrix" does not result in such warnings (now), neither on Windows (10, 22H2, 64bit), nor on Linux. And it did produce that warning on Linux before my commit: https://github.com/wxMaxima-developers/wxmaxima/commit/38b2ac419fa73720f82451c9a8a038c8e21b1127

Best regards, Wolfgang

ReneSci commented 11 months ago

Hmmm... no it shows up at start up. Even with an empty worksheet.

Den fre. 27. okt. 2023 kl. 17.45 skrev Wolfgang Dautermann < @.***>:

You mean the warning from the issue #1830 https://github.com/wxMaxima-developers/wxmaxima/issues/1830 which was closed by me? I can not reproduce that. "Enter Matrix" does not result in such warnings (now), neither on Windows (10, 22H2, 64bit), nor on Linux. And it did produce that warning on Linux before my commit: 38b2ac4 https://github.com/wxMaxima-developers/wxmaxima/commit/38b2ac419fa73720f82451c9a8a038c8e21b1127

Best regards, Wolfgang

— Reply to this email directly, view it on GitHub https://github.com/wxMaxima-developers/wxmaxima/issues/1831#issuecomment-1783134443, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUEG6IHP5ZFLIRMYSFGRKDYBPJI7AVCNFSM6AAAAAA6SJ4M22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTGEZTINBUGM . You are receiving this because you authored the thread.Message ID: @.***>

gunterkoenigsmann commented 11 months ago

Hmm... ... oftentimes such a report is caused by MS Windows starting a different one of the installed wMaximas than the one that would be mogical. If not: the problem most probably is a debug messages sidebar message. Which message does appear after that dialogue is closed?

ReneSci commented 11 months ago

After giving the same message 4 times, wxMaxima runs normally without further warnings.

gunterkoenigsmann commented 11 months ago

The question was: Which message does appear in the "debug log messages" sidebar when this assert dialogue is closed?

daute commented 11 months ago

The issue is still not solved? And I was so happy, that I was able to get the same message here and was able to fix it (here on my system)...

Can you tell us more about your setup? Are you running a 64 or 32 bit system? Which locale (I assume, Danish?). Are you able to run wxMaxima using the Gnu debugger (gdb) and get a backtrace?

Best regards, Wolfgang

ReneSci commented 11 months ago

Unfortunately, I can not do Gnu debugger (gdb) My system is Windows 11 64bit Danish, but is set-up to be English

ReneSci commented 11 months ago

The Debug Alert still pops up.

ich-bin-der-ich-bin commented 11 months ago

Hello everyone,

sorry, I'm late because this contributing is new to me. I ran wxmaxima with gdb: `(gdb) run /usr/bin/wxmaxima Starting program: /usr/bin/wxmaxima /usr/bin/wxmaxima [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffe09ff6c0 (LWP 160696)] [New Thread 0x7fffdbfff6c0 (LWP 160697)] [New Thread 0x7fffdb7fe6c0 (LWP 160698)] [Detaching after vfork from child process 160699] [Detaching after vfork from child process 160701] [New Thread 0x7fffdaffd6c0 (LWP 160703)] [Thread 0x7fffdaffd6c0 (LWP 160703) exited] [New Thread 0x7fffdaffd6c0 (LWP 160704)] [New Thread 0x7fffda7fc6c0 (LWP 160705)] [Thread 0x7fffdaffd6c0 (LWP 160704) exited] [Thread 0x7fffda7fc6c0 (LWP 160705) exited] [New Thread 0x7fffda7fc6c0 (LWP 160706)] [Detaching after vfork from child process 160707] [Detaching after vfork from child process 160709] [Detaching after vfork from child process 160711] [New Thread 0x7fffdaffd6c0 (LWP 160713)] [New Thread 0x7fffd9e496c0 (LWP 160714)] [Thread 0x7fffdaffd6c0 (LWP 160713) exited] [Thread 0x7fffd9e496c0 (LWP 160714) exited] [Detaching after vfork from child process 160715] [Detaching after vfork from child process 160717] [Detaching after vfork from child process 160719] [Detaching after vfork from child process 160721] [Detaching after vfork from child process 160723] [New Thread 0x7fffd9e496c0 (LWP 160725)] [New Thread 0x7fffdaffd6c0 (LWP 160726)] [Thread 0x7fffd9e496c0 (LWP 160725) exited] [Thread 0x7fffdaffd6c0 (LWP 160726) exited] [New Thread 0x7fffdaffd6c0 (LWP 160727)] [New Thread 0x7fffd9e496c0 (LWP 160728)] [Thread 0x7fffdaffd6c0 (LWP 160727) exited] [Thread 0x7fffd9e496c0 (LWP 160728) exited] [New Thread 0x7fffd9e496c0 (LWP 160729)] [New Thread 0x7fffdaffd6c0 (LWP 160730)] [Thread 0x7fffd9e496c0 (LWP 160729) exited] [Thread 0x7fffdaffd6c0 (LWP 160730) exited] [New Thread 0x7fffdaffd6c0 (LWP 160731)] [New Thread 0x7fffd9e496c0 (LWP 160732)] [Thread 0x7fffdaffd6c0 (LWP 160731) exited] [New Thread 0x7fffdaffd6c0 (LWP 160733)] [New Thread 0x7fffd8e5b6c0 (LWP 160734)] [Thread 0x7fffd9e496c0 (LWP 160732) exited] [Thread 0x7fffdaffd6c0 (LWP 160733) exited] [Thread 0x7fffd8e5b6c0 (LWP 160734) exited]

(wxmaxima:160693): Gtk-WARNING **: 16:00:02.437: Negative content height -12 (allocation 2, extents 7x7) while allocating gadget (node button, owner GtkButton) [New Thread 0x7fffd8e5b6c0 (LWP 160735)]

(wxmaxima:160693): Gtk-CRITICAL **: 16:00:02.486: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

(wxmaxima:160693): Gtk-WARNING **: 16:00:02.503: Negative content height -12 (allocation 2, extents 7x7) while allocating gadget (node button, owner GtkButton)

(wxmaxima:160693): Gtk-WARNING **: 16:00:02.513: Negative content height -12 (allocation 2, extents 7x7) while allocating gadget (node button, owner GtkButton)

(wxmaxima:160693): Gtk-WARNING **: 16:00:02.536: Negative content height -12 (allocation 2, extents 7x7) while allocating gadget (node button, owner GtkButton)

(wxmaxima:160693): Gtk-WARNING **: 16:00:02.570: Negative content height -12 (allocation 2, extents 7x7) while allocating gadget (node button, owner GtkButton) [New Thread 0x7fffdaffd6c0 (LWP 160736)] [New Thread 0x7fffd9e496c0 (LWP 160737)] [Thread 0x7fffdaffd6c0 (LWP 160736) exited] [New Thread 0x7fffdaffd6c0 (LWP 160738)] [Thread 0x7fffd9e496c0 (LWP 160737) exited] [New Thread 0x7fffb3fff6c0 (LWP 160739)] [Thread 0x7fffdaffd6c0 (LWP 160738) exited] [New Thread 0x7fffdaffd6c0 (LWP 160740)] [New Thread 0x7fffd9e496c0 (LWP 160741)] [Thread 0x7fffb3fff6c0 (LWP 160739) exited] [Thread 0x7fffdaffd6c0 (LWP 160740) exited] [Thread 0x7fffd9e496c0 (LWP 160741) exited] [New Thread 0x7fffd9e496c0 (LWP 160742)] [New Thread 0x7fffdaffd6c0 (LWP 160743)] [Thread 0x7fffd9e496c0 (LWP 160742) exited] [Thread 0x7fffdaffd6c0 (LWP 160743) exited]

(wxmaxima:160693): Gtk-CRITICAL **: 16:00:06.777: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

(wxmaxima:160693): Gtk-CRITICAL **: 16:00:09.317: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

(wxmaxima:160693): Gtk-CRITICAL **: 16:00:09.402: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

(wxmaxima:160693): Gtk-CRITICAL **: 16:00:12.785: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed /usr/include/wx-3.2/wx/strvararg.h(484): assert "(argtype & (wxFormatStringSpecifier::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type [New Thread 0x7fffdaffd6c0 (LWP 160754)] [New Thread 0x7fffd9e496c0 (LWP 160755)] [Thread 0x7fffdaffd6c0 (LWP 160754) exited] [Thread 0x7fffd9e496c0 (LWP 160755) exited] [Thread 0x7fffda7fc6c0 (LWP 160706) exited] /usr/include/wx-3.2/wx/strvararg.h(484): assert "(argtype & (wxFormatStringSpecifier::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type /usr/include/wx-3.2/wx/strvararg.h(484): assert "(argtype & (wxFormatStringSpecifier::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type /usr/include/wx-3.2/wx/strvararg.h(484): assert "(argtype & (wxFormatStringSpecifier::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type /usr/include/wx-3.2/wx/strvararg.h(484): assert "(argtype & (wxFormatStringSpecifier::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type /usr/include/wx-3.2/wx/strvararg.h(484): assert "(argtype & (wxFormatStringSpecifier::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type [New Thread 0x7fffda7fc6c0 (LWP 160756)] [New Thread 0x7fffd9e496c0 (LWP 160757)] [Thread 0x7fffda7fc6c0 (LWP 160756) exited] [New Thread 0x7fffda7fc6c0 (LWP 160758)] [New Thread 0x7fffdaffd6c0 (LWP 160759)] [Thread 0x7fffd9e496c0 (LWP 160757) exited] [Thread 0x7fffda7fc6c0 (LWP 160758) exited] [Thread 0x7fffdaffd6c0 (LWP 160759) exited] [New Thread 0x7fffdaffd6c0 (LWP 160760)] [New Thread 0x7fffda7fc6c0 (LWP 160761)] [Thread 0x7fffdaffd6c0 (LWP 160760) exited] [New Thread 0x7fffdaffd6c0 (LWP 160762)] [New Thread 0x7fffd9e496c0 (LWP 160763)] [Thread 0x7fffdaffd6c0 (LWP 160762) exited] [Thread 0x7fffda7fc6c0 (LWP 160761) exited] [New Thread 0x7fffdaffd6c0 (LWP 160764)] [New Thread 0x7fffda7fc6c0 (LWP 160765)] [Thread 0x7fffd9e496c0 (LWP 160763) exited] [Thread 0x7fffdaffd6c0 (LWP 160764) exited] [New Thread 0x7fffdaffd6c0 (LWP 160766)] [Thread 0x7fffda7fc6c0 (LWP 160765) exited] [New Thread 0x7fffda7fc6c0 (LWP 160767)] [Thread 0x7fffdaffd6c0 (LWP 160766) exited] [Thread 0x7fffda7fc6c0 (LWP 160767) exited] [New Thread 0x7fffda7fc6c0 (LWP 160768)] [New Thread 0x7fffdaffd6c0 (LWP 160769)] [Thread 0x7fffda7fc6c0 (LWP 160768) exited] [Thread 0x7fffdaffd6c0 (LWP 160769) exited] [New Thread 0x7fffdaffd6c0 (LWP 160773)] [New Thread 0x7fffda7fc6c0 (LWP 160774)] [Thread 0x7fffdaffd6c0 (LWP 160773) exited] [Thread 0x7fffda7fc6c0 (LWP 160774) exited] [Thread 0x7fffd8e5b6c0 (LWP 160735) exited] [Thread 0x7fffdb7fe6c0 (LWP 160698) exited] [Thread 0x7fffdbfff6c0 (LWP 160697) exited] [Thread 0x7fffe1afb300 (LWP 160693) exited] [Thread 0x7fffe09ff6c0 (LWP 160696) exited] [New process 160693] [Inferior 1 (process 160693) exited normally] (gdb) quit ` Additional information: I installed lately (some days ago) wxmaxima on an new arch install and ran in the very same issue there. Version ist still 23.10.0 wxWidgets: 3.2.3 Unicode Unterstützung: ja Maxima Version: 5.47.0 (x86_64-unknown-linux-gnu) Maxima wurde compiliert mit: SBCL 2.3.8

Hope that helps.

Regards Michael

PS: I just opened wxmaxima and clicked "enter Matrix". I filled in the name field with "m" and clicked OK.

gunterkoenigsmann commented 11 months ago

Nearly: the last thing we still need is you to tell the dialogue to crash wxMaxima so we end up in gdb - and to type

backtrace

In gdb which function called which function with which parameters leading to that crash: On Windows that info should come with all line numbers that are involved in the crash.

ich-bin-der-ich-bin commented 11 months ago

Hello,

ok, I'm not familiar with gdb (or debugging at all) so please accept my apologies. So here's the output:

0 0x0000555555bc15eb in ()

1 0x0000555555bc3185 in ()

2 0x000055555588b864 in ()

3 0x000055555588c35b in ()

4 0x00007ffff6f86cb2 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()

at /usr/lib/libwx_baseu-3.2.so.0

5 0x00007ffff6f878e7 in wxEvtHandler::SearchDynamicEventTable(wxEvent&) () at /usr/lib/libwx_baseu-3.2.so.0

6 0x00007ffff6f87c45 in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/lib/libwx_baseu-3.2.so.0

7 0x00007ffff6f87cef in wxEvtHandler::ProcessEventLocally(wxEvent&) () at /usr/lib/libwx_baseu-3.2.so.0

8 0x00007ffff6f87e0a in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib/libwx_baseu-3.2.so.0

9 0x00007ffff75a2c2c in wxDialogBase::SendWindowModalDialogEvent(int) () at /usr/lib/libwx_gtk3u_core-3.2.so.0

10 0x0000555555917dca in ()

11 0x00007ffff6f86cb2 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()

at /usr/lib/libwx_baseu-3.2.so.0

12 0x00007ffff6f878e7 in wxEvtHandler::SearchDynamicEventTable(wxEvent&) () at /usr/lib/libwx_baseu-3.2.so.0

13 0x00007ffff6f87c45 in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/lib/libwx_baseu-3.2.so.0

14 0x00007ffff6f86e53 in wxEvtHandler::DoTryChain(wxEvent&) () at /usr/lib/libwx_baseu-3.2.so.0

15 0x00007ffff6f87e0a in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib/libwx_baseu-3.2.so.0

16 0x00007ffff7687c00 in wxWindowBase::TryAfter(wxEvent&) () at /usr/lib/libwx_gtk3u_core-3.2.so.0

17 0x00007ffff6f8a63b in wxEvtHandler::SafelyProcessEvent(wxEvent&) () at /usr/lib/libwx_baseu-3.2.so.0

18 0x00007ffff763b23c in wxMenuBase::DoProcessEvent(wxMenuBase, wxEvent&, wxWindow) () at /usr/lib/libwx_gtk3u_core-3.2.so.0

19 0x00007ffff763b343 in wxMenuBase::SendEvent(int, int) () at /usr/lib/libwx_gtk3u_core-3.2.so.0

20 0x00007ffff7835f5f in () at /usr/lib/libwx_gtk3u_core-3.2.so.0

21 0x00007ffff70d06c0 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0

22 0x00007ffff70fea36 in () at /usr/lib/libgobject-2.0.so.0

23 0x00007ffff70efa42 in () at /usr/lib/libgobject-2.0.so.0

24 0x00007ffff70efc77 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0

25 0x00007ffff70efd34 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0

26 0x00007ffff6340c9d in gtk_widget_activate () at /usr/lib/libgtk-3.so.0

27 0x00007ffff6204edd in gtk_menu_shell_activate_item () at /usr/lib/libgtk-3.so.0

28 0x00007ffff620521a in () at /usr/lib/libgtk-3.so.0

29 0x00007ffff6085039 in () at /usr/lib/libgtk-3.so.0

30 0x00007ffff70efb73 in () at /usr/lib/libgobject-2.0.so.0

31 0x00007ffff70efc77 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0

32 0x00007ffff70efd34 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0

33 0x00007ffff63546e5 in () at /usr/lib/libgtk-3.so.0

34 0x00007ffff61ee91b in () at /usr/lib/libgtk-3.so.0

35 0x00007ffff61ef447 in gtk_main_do_event () at /usr/lib/libgtk-3.so.0

36 0x00007ffff6d3ab87 in () at /usr/lib/libgdk-3.so.0

37 0x00007ffff6d92d38 in () at /usr/lib/libgdk-3.so.0

38 0x00007ffff5d34f69 in () at /usr/lib/libglib-2.0.so.0

39 0x00007ffff5d93327 in () at /usr/lib/libglib-2.0.so.0

40 0x00007ffff5d35b97 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0

41 0x00007ffff61ecf6f in gtk_main () at /usr/lib/libgtk-3.so.0

42 0x00007ffff77beed6 in wxGUIEventLoop::DoRun() () at /usr/lib/libwx_gtk3u_core-3.2.so.0

43 0x00007ffff6ed8e12 in wxEventLoopBase::Run() () at /usr/lib/libwx_baseu-3.2.so.0

44 0x00007ffff6eb4f28 in wxAppConsoleBase::MainLoop() () at /usr/lib/libwx_baseu-3.2.so.0

45 0x000055555585c080 in ()

46 0x000055555585b28b in ()

47 0x00005555556b5867 in ()

48 0x00007ffff6845cd0 in () at /usr/lib/libc.so.6

49 0x00007ffff6845d8a in __libc_start_main () at /usr/lib/libc.so.6

50 0x00005555556b6715 in ()

Just started program, clicked enter matrix and stop.

Hope (again) this will help.

Regards Michael

ReneSci commented 10 months ago

It seems like you got it now :-)

(%o1) build_info(version="branch_5_47_base_452_g182b5c1ce",timestamp="2023-11-08 23:52:47",host="x86_64-w64-mingw32",lisp_name="SBCL",lisp_version="2.3.2",maxima_userdir="C:/Users/xxx/maxima",maxima_tempdir="C:/Users/xxx/AppData/Local/Temp",maxima_objdir="C:/Users/xxxx/maxima/binary/branch_5_47_base_452_g182b5c1ce/sbcl/2_3_2",maxima_frontend="wxMaxima",maxima_frontend_version="23.10.0_DevelopmentSnapshot_MSW")

By the way: If I use "Copy as plain text" then only (%o1) is copied ???

gunterkoenigsmann commented 10 months ago

Wow... ...wouldn't have thought that such a seemingly easy issue requires 4 pairs of eyes and lots of work from 4 human beings until it is resolved. Thanks a lot for making it possible that we finally found a fix!