-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wxmaxima crashes when exporting a sheet containing (3D) animations. #1616
Comments
I cannot guarantee that I will have time to fix that tomorrow. But I promise to fix it as fast as I can. |
Am still trying to reproduce the problem on different systems, but to no avail => Either I am doing something wrong, or I am missing the crucial piece of knowledge that I would need for crashing the program - or the bug has been resolved in the meantime, but only after the release your students are using. Another possibility is that all of my systems happen to fill the crucial byte in memory with the right contents before it is used by pure accident - which actually happens quite often, as wxMaxima uses lists extensively and pointers to plausible list elements might still lie in memory locations that were used only a while ago. |
Hi,
I am just back from a lab and it still happens consistently with all the
students if they forget to close the animations before printing to PDF
or to export to HTML.
You press "Print" and seconds later the whole GUI crashes with a core
dump: quite strange. FYI: our wxmaxima version is 21.05.1 (on Debian
Linux).
Would it help if I send you the core dump or an strace?
However, I tried again with an older version (20.12.1 from Debian
Bullseye) and there it does NOT crash!
Hereafter I'll attach the gdb output for the crashing version 21.05.1:
================================================================
gdb /opt64/wxmaxima/bin/wxmaxima coredump_sheet25_pde_with_animations.core
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt64/wxmaxima/bin/wxmaxima...
BFD: warning:
/mnt/dutita4/dv/PDE/coredump_sheet25_pde_with_animations.core is
truncate
d: expected core file size >= 247140352, found: 4169728
warning: Can't open file /SYSV00000000 (deleted) during file-backed
mapping note processing
[New LWP 1487572]
[New LWP 1487593]
[New LWP 1487644]
[New LWP 1487594]
[New LWP 1487717]
Failed to read a valid object file image from memory.
Core was generated by `/mnt/sda3/opt64/wxmaxima-21.05.1/bin/wxmaxima'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007fb89f03fce1in ??()
[Current thread is 1 (LWP 1487572)]
(gdb)
================================================================
Tnx for your work!
Casey
…On 1/25/22 16:22, Gunter Königsman wrote:
Am still trying to reproduce the problem on different systems, but to
no avail => Either I am doing something wrong, or I am missing the
crucial piece of knowledge that I would need for crashing the program
- or the bug has been resolved in the meantime, but only after the
release your students are using. Another possibility is that all of my
systems happen to fill the crucial byte in memory with the right
contents before it is used by pure accident - which actually happens
quite often, as wxMaxima uses lists extensively and pointers to
plausible list elements might still lie in memory locations that were
used only a while ago.
—
Reply to this email directly, view it on GitHub
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_wxMaxima-2Ddevelopers_wxmaxima_issues_1616-23issuecomment-2D1021300788&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=LT__3NokHpx2w5xzJK4bbW6n9i3LxutEiQBM4iz8fNE&s=vBnEhpfsAfq6dxYd_vQjejuUUojB275tlkUFOjdsBeA&e=>,
or unsubscribe
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AJOBBQFSCUIAOJTKSRX5OFTUX254JANCNFSM5LWXE4LQ&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=LT__3NokHpx2w5xzJK4bbW6n9i3LxutEiQBM4iz8fNE&s=tZ-YLhUwgVTnWYazPFiGuEeqHPgFbwj6iru_w82twpk&e=>.
Triage notifications on the go with GitHub Mobile for iOS
<https://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=LT__3NokHpx2w5xzJK4bbW6n9i3LxutEiQBM4iz8fNE&s=Ut7bH7EOFgulIUzwS4hByxaKT5Yyv1q5Qa4LtUQxy9g&e=>
or Android
<https://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=LT__3NokHpx2w5xzJK4bbW6n9i3LxutEiQBM4iz8fNE&s=M__9uG3x21bNhVUw7iDOHkMVkvb1L_D8-1vy2H9PeoU&e=>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Casey,
Tu Delft,
Netherlands
|
Ok... ...after 21.05.1 I re-wrote part of the image and slideshow handling. Perhaps I accidentally fixed that bug... |
Hello Gunther,
Just compiled and installed version wxmaxima 21.11.0 (the latest).
However, it still crashes when exporting or printing a sheet containing
(3D) animations unless you fold the animations. Do you have any ideas?
Version 20.12.1 works fine.
I could try to recompile with -g and see where exactly it crashes, but
unfortunately I haven't got much time at the moment.
Best Casey
~/Develop/wxmaxima-Version-21.11.0/build 144 % gdb
/opt64/wxmaxima-21.11.0/bin/wxmaxima core
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt64/wxmaxima-21.11.0/bin/wxmaxima...
BFD: warning: /mnt/sda3/Develop/wxmaxima-Version-21.11.0/build/core is
truncated: expected core file size >= 280354816, f
ound: 1024000
warning: Can't open file /SYSV00000000 (deleted) during file-backed
mapping note processing
[New LWP 10663]
[New LWP 10685]
[New LWP 10730]
[New LWP 10744]
[New LWP 10684]
Cannot access memory at address 0x7f843acc8088
Cannot access memory at address 0x7f843acc8080
Failed to read a valid object file image from memory.
Core was generated by `/opt64/wxmaxima-21.11.0/bin/wxmaxima'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f8439957ce1in ??()
[Current thread is 1 (LWP 10663)]
(gdb)
…On 1/25/22 19:24, Gunter Königsman wrote:
Ok... ...after 21.05.1 I re-wrote part of the image and slideshow
handling. Perhaps I accidentally fixed that bug...
—
Reply to this email directly, view it on GitHub
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_wxMaxima-2Ddevelopers_wxmaxima_issues_1616-23issuecomment-2D1021480945&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=L-yrSSjFW0vwFczDG1GqpXh2wh-b3XvDuUqJga74ld8&s=n53VRhu-0_XqV_d-P5u73zob-ms9npWpO-J2fUxgPgQ&e=>,
or unsubscribe
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AJOBBQF5NRU3MHIKII4T7Y3UX3TEZANCNFSM5LWXE4LQ&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=L-yrSSjFW0vwFczDG1GqpXh2wh-b3XvDuUqJga74ld8&s=bpz3MgkEDtg5M-lJXinUD-Uh1kwA9RStW0QsKd6lpiA&e=>.
Triage notifications on the go with GitHub Mobile for iOS
<https://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=L-yrSSjFW0vwFczDG1GqpXh2wh-b3XvDuUqJga74ld8&s=FTJIAncl5kps6oTK-WlxkvAWQHX4vfj_yd-CW9C_as4&e=>
or Android
<https://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=L-yrSSjFW0vwFczDG1GqpXh2wh-b3XvDuUqJga74ld8&s=ZLuP7geDNmH2Gvl7qxFEuPQJkUc6dVSJGV-DcRLAC38&e=>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
If you are able to crash the program and are able to produce backtraces I would be very happy as it is possi le to find crashes by looking at the code. But doing so requires much time and luck, in the best case. |
One additional request: Could you type the command
Into the gdb after the crash? |
Ok, here it is:
/Develop/wxmaxima-Version-21.11.0 130 % gdb
/opt64/wxmaxima-21.11.0/bin/wxmaxima
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt64/wxmaxima-21.11.0/bin/wxmaxima...
(gdb) run
Starting program: /mnt/sda3/opt64/wxmaxima-21.11.0/bin/wxmaxima
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after vfork from child process 6742]
[Detaching after vfork from child process 6744]
[Detaching after vfork from child process 6746]
[Detaching after vfork from child process 6748]
[Detaching after vfork from child process 6750]
[Detaching after vfork from child process 6752]
[Detaching after vfork from child process 6754]
[Detaching after vfork from child process 6756]
[Detaching after vfork from child process 6758]
[Detaching after vfork from child process 6760]
[New Thread 0x7ffff41f7700 (LWP 6762)]
[New Thread 0x7ffff39f6700 (LWP 6763)]
[New Thread 0x7ffff27b3700 (LWP 6764)]
[Detaching after vfork from child process 6765]
[Detaching after vfork from child process 6767]
[Detaching after vfork from child process 6769]
[Detaching after fork from child process 6771]
[New Thread 0x7ffff0ed8700 (LWP 6800)]
[Thread 0x7ffff0ed8700 (LWP 6800) exited]
[Detaching after fork from child process 6801]
[New Thread 0x7fffe24e6700 (LWP 6802)]
[New Thread 0x7ffff0ed8700 (LWP 6804)]
[New Thread 0x7fffe1ce5700 (LWP 6805)]
[Thread 0x7ffff0ed8700 (LWP 6804) exited]
[Thread 0x7fffe24e6700 (LWP 6802) exited]
[Thread 0x7fffe1ce5700 (LWP 6805) exited]
[New Thread 0x7fffe14e4700 (LWP 6817)]
[New Thread 0x7fffe0ce3700 (LWP 6818)]
[New Thread 0x7fffd3fff700 (LWP 6819)]
[New Thread 0x7fffd37fe700 (LWP 6820)]
[New Thread 0x7fffd2ffd700 (LWP 6821)]
[Thread 0x7ffff27b3700 (LWP 6764) exited]
[Thread 0x7fffe14e4700 (LWP 6817) exited]
[Thread 0x7fffd37fe700 (LWP 6820) exited]
[Thread 0x7fffe0ce3700 (LWP 6818) exited]
[Thread 0x7fffd3fff700 (LWP 6819) exited]
[New Thread 0x7fffd3fff700 (LWP 6825)]
[New Thread 0x7fffe0ce3700 (LWP 6826)]
[Thread 0x7fffd3fff700 (LWP 6825) exited]
Thread 1 "wxmaxima" received signal SIGSEGV, Segmentation fault.
0x00005555556f76e5in Image::Recalculate(this=0x6af4f4f4f4f2e3c3,
scale=2.34375)
at
/mnt/sda3/home/Develop/wxmaxima-Version-21.11.0/src/Image.cpp:924
924 intwidth =m_originalWidth;
(gdb) backtrace
#0 0x00005555556f76e5in
Image::Recalculate(double)(this=0x6af4f4f4f4f2e3c3, scale=2.34375)
at
/mnt/sda3/home/Develop/wxmaxima-Version-21.11.0/src/Image.cpp:924
#1 0x00005555558ae4dain SlideShow::Draw(wxPoint)(this=0x555556b64600,
point=...)
at
/mnt/sda3/home/Develop/wxmaxima-Version-21.11.0/src/cells/SlideShowCell.cpp:302
#2 0x00005555558862b8in GroupCell::Draw(wxPoint)(this=0x555556b4f610,
point=...)
at
/mnt/sda3/home/Develop/wxmaxima-Version-21.11.0/src/cells/GroupCell.cpp:828
#3 0x00005555558d80dein Printout::OnPrintPage(int)(this=0x7fffffffc3e0,
num=5)
at
/mnt/sda3/home/Develop/wxmaxima-Version-21.11.0/src/graphical_io/Printout.cpp:133
#4 0x00007ffff77b2ce1in wxGtkPrinter::DrawPage(wxPrintout*,
_GtkPrintOperation*, _GtkPrintContext*, int)()
at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#5 0x00007ffff626c0a2in g_closure_invoke() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007ffff627e413in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007ffff62846cfin g_signal_emit_valist() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8 0x00007ffff6284c3fin g_signal_emit() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007ffff6652323in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#10 0x00007ffff6652a5bin () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#11 0x00007ffff62e0dd9in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#12 0x00007ffff5fdbd6fin g_main_context_dispatch() at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff5fdc118in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff5fdc40bin g_main_loop_run() at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007ffff6651c41in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#16 0x00007ffff6652f43in gtk_print_operation_run() at
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#17 0x00007ffff77b4e92in wxGtkPrintDialog::ShowModal()() at
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#18 0x00007ffff77b5cf4in wxGtkPrinter::Print(wxWindow*, wxPrintout*,
bool)()
at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#19 0x00007ffff78bd5c4in wxPrinter::Print(wxWindow*, wxPrintout*, bool)()
at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#20 0x00005555557d3d0din
wxMaxima::PrintMenu(wxCommandEvent&)(this=0x555555d22e20, event=...)
at
/mnt/sda3/home/Develop/wxmaxima-Version-21.11.0/src/wxMaxima.cpp:4588
#21 0x00007ffff7368241in
wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&)
() at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#22 0x00007ffff73685bain wxEvtHandler::SearchDynamicEventTable(wxEvent&)()
at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#23 0x00007ffff7368650in wxEvtHandler::TryHereOnly(wxEvent&)() at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#24 0x00007ffff73684f3in wxEvtHandler::DoTryChain(wxEvent&)() at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#25 0x00007ffff73687a1in wxEvtHandler::ProcessEvent(wxEvent&)() at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#26 0x00007ffff78fe60ain wxWindowBase::TryAfter(wxEvent&)() at
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#27 0x00007ffff7368537in wxEvtHandler::SafelyProcessEvent(wxEvent&)()
at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#28 0x00007ffff78b1b16in wxMenuBase::SendEvent(int, int)() at
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#29 0x00007ffff77a212fin () at
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#30 0x00007ffff626c0a2in g_closure_invoke() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007ffff627e413in () at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#32 0x00007ffff62846cfin g_signal_emit_valist() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#33 0x00007ffff6284c3fin g_signal_emit() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#34 0x00007ffff6751354in gtk_widget_activate() at
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#35 0x00007ffff6617456in gtk_menu_shell_activate_item() at
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#36 0x00007ffff6617733in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#37 0x00007ffff67a49f8in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#38 0x00007ffff626c2eein () at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#39 0x00007ffff6283df9in g_signal_emit_valist() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#40 0x00007ffff6284c3fin g_signal_emit() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#41 0x00007ffff674ed04in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#42 0x00007ffff6601e00in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#43 0x00007ffff6603a63in gtk_main_do_event() at
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#44 0x00007ffff62ec785in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#45 0x00007ffff63202e2in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#46 0x00007ffff5fdbe6bin g_main_context_dispatch() at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007ffff5fdc118in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007ffff5fdc40bin g_main_loop_run() at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007ffff6602a55in gtk_main() at
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#50 0x00007ffff7723955in wxGUIEventLoop::DoRun()() at
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#51 0x00007ffff722797din wxEventLoopBase::Run()() at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#52 0x00007ffff71f09a6in wxAppConsoleBase::MainLoop()() at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#53 0x00005555557a056ain MyApp::OnRun()(this=0x555555c0e1e0)
at
/mnt/sda3/home/Develop/wxmaxima-Version-21.11.0/src/main.cpp:415
#54 0x000055555579e500in CommonMain()() at
/mnt/sda3/home/Develop/wxmaxima-Version-21.11.0/src/main.cpp:67
#55 0x000055555579e9b4in main(int, char**)(argc=1, argv=0x7fffffffe0a8)
at
/mnt/sda3/home/Develop/wxmaxima-Version-21.11.0/src/main.cpp:84
(gdb)
…On 1/28/22 20:04, Gunter Königsman wrote:
One additional request: Could you type the command
|backtrace |
Into the gdb after the crash?
The line itself looks harmless: The system has reserved memory for all
the variables an image object consists of and now we assign some of
these bytes in memory a value. But sometimes completely harmless code
crashes if something messed up the system on the way to the harmless
code. Normally the backtrace tells a quite detailed story of what
happened on the way to the crash.
—
Reply to this email directly, view it on GitHub
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_wxMaxima-2Ddevelopers_wxmaxima_issues_1616-23issuecomment-2D1024520758&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=Ahm7_9KGa5_9ZmiWzwf7WrbYHPy_dEekJ-JkZXbqqQs&s=SpE39JSP1lG63fbakz0etq0fl33Zr7v-dnieUXIsHfs&e=>,
or unsubscribe
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AJOBBQCOKRTRFS3OOWLTHC3UYLSC5ANCNFSM5LWXE4LQ&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=Ahm7_9KGa5_9ZmiWzwf7WrbYHPy_dEekJ-JkZXbqqQs&s=lX_vuVIxJuE-RBExyU3veGjruMJ5_s99ewd03ChOOuI&e=>.
Triage notifications on the go with GitHub Mobile for iOS
<https://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=Ahm7_9KGa5_9ZmiWzwf7WrbYHPy_dEekJ-JkZXbqqQs&s=bi3kW3KorAAE9xnCpMZ3aHm07lUoaRJr768pss1Nocs&e=>
or Android
<https://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=Ahm7_9KGa5_9ZmiWzwf7WrbYHPy_dEekJ-JkZXbqqQs&s=54VosCe5a9oqP_TIYOULgehLJVQFw2TT46lMFEmhiHk&e=>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi all of you,
Just pulled everything from github and compiled, but this version still
crashes, so I am afraid the bug isn't fixed yet, despite the latest
bugfixes.
Hereafter again a backtrace:
....
-- Installing:
/opt64/wxmaxima-jan2022-git/share/wxMaxima/unicode_specialchars.wxm
-- Installing: /opt64/wxmaxima-jan2022-git/share/wxMaxima/weirdLabels.wxm
-- Installing: /opt64/wxmaxima-jan2022-git/share/wxMaxima/xmlQuote.wxm
-- Up-to-date: /opt64/wxmaxima-jan2022-git/share/wxMaxima/b.png
-- Up-to-date: /opt64/wxmaxima-jan2022-git/share/wxMaxima/c.png
-- Up-to-date: /opt64/wxmaxima-jan2022-git/share/wxMaxima/d.png
/Develop/wxmaxima-jan2022-git/build 144 %
/opt64/wxmaxima-jan2022-git/bin/wxmaxima
Aborted (core dumped)
/Develop/wxmaxima-jan2022-git/build 145 % gdb
/opt64/wxmaxima-jan2022-git/bin/wxmaxima
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt64/wxmaxima-jan2022-git/bin/wxmaxima...
(gdb) run
Starting program: /mnt/sda3/opt64/wxmaxima-jan2022-git/bin/wxmaxima
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after vfork from child process 13000]
[Detaching after vfork from child process 13002]
[Detaching after vfork from child process 13004]
[Detaching after vfork from child process 13006]
[Detaching after vfork from child process 13008]
[Detaching after vfork from child process 13010]
[Detaching after vfork from child process 13012]
[Detaching after vfork from child process 13014]
[Detaching after vfork from child process 13016]
[Detaching after vfork from child process 13018]
[New Thread 0x7ffff41f7700 (LWP 13020)]
[New Thread 0x7ffff39f6700 (LWP 13021)]
[New Thread 0x7ffff27b3700 (LWP 13022)]
[Detaching after vfork from child process 13023]
[Detaching after vfork from child process 13025]
[Detaching after vfork from child process 13027]
[Detaching after fork from child process 13029]
[New Thread 0x7ffff0ed8700 (LWP 13054)]
[Detaching after fork from child process 13055]
[Thread 0x7ffff0ed8700 (LWP 13054) exited]
[New Thread 0x7fffe24e6700 (LWP 13056)]
[New Thread 0x7ffff0ed8700 (LWP 13058)]
[New Thread 0x7fffe1ce5700 (LWP 13059)]
[Thread 0x7ffff0ed8700 (LWP 13058) exited]
[Thread 0x7fffe24e6700 (LWP 13056) exited]
[Thread 0x7fffe1ce5700 (LWP 13059) exited]
[Thread 0x7ffff27b3700 (LWP 13022) exited]
[New Thread 0x7ffff27b3700 (LWP 13060)]
[New Thread 0x7fffe0acb700 (LWP 13061)]
[Thread 0x7fffe0acb700 (LWP 13061) exited]
Thread 1 "wxmaxima" received signal SIGSEGV, Segmentation fault.
0x00005555556f7929in Image::Recalculate(this=0x3, scale=2.34375)
at
/mnt/sda3/home/Develop/wxmaxima-jan2022-git/src/Image.cpp:923
923 intwidth =m_originalWidth;
(gdb) backtrace
#0 0x00005555556f7929in Image::Recalculate(double)(this=0x3, scale=2.34375)
at
/mnt/sda3/home/Develop/wxmaxima-jan2022-git/src/Image.cpp:923
#1 0x00005555558ae9e0in SlideShow::Draw(wxPoint)(this=0x555556c0c070,
point=...)
at
/mnt/sda3/home/Develop/wxmaxima-jan2022-git/src/cells/SlideShowCell.cpp:303
#2 0x0000555555886795in GroupCell::Draw(wxPoint)(this=0x555556c0af00,
point=...)
at
/mnt/sda3/home/Develop/wxmaxima-jan2022-git/src/cells/GroupCell.cpp:828
#3 0x00005555558d85e4in Printout::OnPrintPage(int)(this=0x7fffffffc3c0,
num=5)
at
/mnt/sda3/home/Develop/wxmaxima-jan2022-git/src/graphical_io/Printout.cpp:133
#4 0x00007ffff77b2ce1in wxGtkPrinter::DrawPage(wxPrintout*,
_GtkPrintOperation*, _GtkPrintContext*, int)()
at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#5 0x00007ffff626c0a2in g_closure_invoke() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007ffff627e413in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007ffff62846cfin g_signal_emit_valist() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8 0x00007ffff6284c3fin g_signal_emit() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007ffff6652323in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#10 0x00007ffff6652a5bin () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#11 0x00007ffff62e0dd9in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#12 0x00007ffff5fdbd6fin g_main_context_dispatch() at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff5fdc118in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff5fdc40bin g_main_loop_run() at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007ffff6651c41in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#16 0x00007ffff6652f43in gtk_print_operation_run() at
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#17 0x00007ffff77b4e92in wxGtkPrintDialog::ShowModal()() at
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#18 0x00007ffff77b5cf4in wxGtkPrinter::Print(wxWindow*, wxPrintout*,
bool)()
at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#19 0x00007ffff78bd5c4in wxPrinter::Print(wxWindow*, wxPrintout*, bool)()
at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#20 0x00005555557d41cfin
wxMaxima::PrintMenu(wxCommandEvent&)(this=0x555555d37ad0, event=...)
at
/mnt/sda3/home/Develop/wxmaxima-jan2022-git/src/wxMaxima.cpp:4577
#21 0x00007ffff7368241in
wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&)
() at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#22 0x00007ffff73685bain wxEvtHandler::SearchDynamicEventTable(wxEvent&)()
at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#23 0x00007ffff7368650in wxEvtHandler::TryHereOnly(wxEvent&)() at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#24 0x00007ffff73684f3in wxEvtHandler::DoTryChain(wxEvent&)() at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#25 0x00007ffff73687a1in wxEvtHandler::ProcessEvent(wxEvent&)() at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#26 0x00007ffff78fe60ain wxWindowBase::TryAfter(wxEvent&)() at
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#27 0x00007ffff7368537in wxEvtHandler::SafelyProcessEvent(wxEvent&)()
at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#28 0x00007ffff78b1b16in wxMenuBase::SendEvent(int, int)() at
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#29 0x00007ffff77a212fin () at
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#30 0x00007ffff626c0a2in g_closure_invoke() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007ffff627e413in () at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#32 0x00007ffff62846cfin g_signal_emit_valist() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#33 0x00007ffff6284c3fin g_signal_emit() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#34 0x00007ffff6751354in gtk_widget_activate() at
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#35 0x00007ffff6617456in gtk_menu_shell_activate_item() at
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#36 0x00007ffff6617733in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#37 0x00007ffff67a49f8in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#38 0x00007ffff626c2eein () at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#39 0x00007ffff6283df9in g_signal_emit_valist() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#40 0x00007ffff6284c3fin g_signal_emit() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#41 0x00007ffff674ed04in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#42 0x00007ffff6601e00in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#43 0x00007ffff6603a63in gtk_main_do_event() at
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#44 0x00007ffff62ec785in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#45 0x00007ffff63202e2in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#46 0x00007ffff5fdbe6bin g_main_context_dispatch() at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007ffff5fdc118in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007ffff5fdc40bin g_main_loop_run() at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007ffff6602a55in gtk_main() at
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#50 0x00007ffff7723955in wxGUIEventLoop::DoRun()() at
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#51 0x00007ffff722797din wxEventLoopBase::Run()() at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#52 0x00007ffff71f09a6in wxAppConsoleBase::MainLoop()() at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#53 0x00005555557a0c9ain MyApp::OnRun()(this=0x555555c2ea90)
at /mnt/sda3/home/Develop/wxmaxima-jan2022-git/src/main.cpp:420
#54 0x000055555579ebfein CommonMain()() at
/mnt/sda3/home/Develop/wxmaxima-jan2022-git/src/main.cpp:69
#55 0x000055555579f0b2in main(int, char**)(argc=1, argv=0x7fffffffe088)
at /mnt/sda3/home/Develop/wxmaxima-jan2022-git/src/main.cpp:86
(gdb)
…On 1/29/22 17:02, Gunter Königsman wrote:
Closed #1616
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_wxMaxima-2Ddevelopers_wxmaxima_issues_1616&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=lrhSO6ooiZuuXtjDeARp073is58vUz95M8Pg41S4vkw&s=G2xJS0xhO0v2-nBnyZlDlPfC6C3H0MH13phAaCeo4Q8&e=>
via 4068e80
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_wxMaxima-2Ddevelopers_wxmaxima_commit_4068e801a0cdd3c45c2f2c11465086cf7fc8ff2c&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=lrhSO6ooiZuuXtjDeARp073is58vUz95M8Pg41S4vkw&s=_Ya_Ne6XFkXxHFAcBYjDgzmJSF0kgAHzIhv2m9tYwqY&e=>.
—
Reply to this email directly, view it on GitHub
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_wxMaxima-2Ddevelopers_wxmaxima_issues_1616-23event-2D5975236744&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=lrhSO6ooiZuuXtjDeARp073is58vUz95M8Pg41S4vkw&s=EAyb0hgi8ji5FgV0ArSlt8mjYZq3BgFNAjXpETeiCok&e=>,
or unsubscribe
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AJOBBQDSXZFRJ3VF47MO2IDUYQFQLANCNFSM5LWXE4LQ&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=lrhSO6ooiZuuXtjDeARp073is58vUz95M8Pg41S4vkw&s=ls3rViksnUBBL3uKGvTuYVzB_7VGe3XWox0tfBMU1XI&e=>.
Triage notifications on the go with GitHub Mobile for iOS
<https://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=lrhSO6ooiZuuXtjDeARp073is58vUz95M8Pg41S4vkw&s=Nbw8moMyHbL4XOtjDcr7m-GboClkgBLdbu-2nz7NjJQ&e=>
or Android
<https://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=lrhSO6ooiZuuXtjDeARp073is58vUz95M8Pg41S4vkw&s=2_cH87aYKEg088iLyd4qjtvPL7Yjywam2T4pOw4TSR4&e=>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This is weird: both the width and height and even the viewPortWidth seem
to be negative at the time of the crash?
(gdb) info locals
width= -1
height= -1
configuration= 0x555555710e18
<std::__shared_ptr_access<Image, (__gnu_cxx::_Lock_policy)2, false,
false>::operator->() const+24>
viewPortHeight= 32767
viewPortWidth= -15216
Maybe that gives a clue to the solution?
…On 1/29/22 17:58, Kees Lemmens (using TUDelft) wrote:
Hi all of you,
Just pulled everything from github and compiled, but this version
still crashes, so I am afraid the bug isn't fixed yet, despite the
latest bugfixes.
Hereafter again a backtrace:
....
-- Installing:
/opt64/wxmaxima-jan2022-git/share/wxMaxima/unicode_specialchars.wxm
-- Installing: /opt64/wxmaxima-jan2022-git/share/wxMaxima/weirdLabels.wxm
-- Installing: /opt64/wxmaxima-jan2022-git/share/wxMaxima/xmlQuote.wxm
-- Up-to-date: /opt64/wxmaxima-jan2022-git/share/wxMaxima/b.png
-- Up-to-date: /opt64/wxmaxima-jan2022-git/share/wxMaxima/c.png
-- Up-to-date: /opt64/wxmaxima-jan2022-git/share/wxMaxima/d.png
/Develop/wxmaxima-jan2022-git/build 144 %
/opt64/wxmaxima-jan2022-git/bin/wxmaxima
Aborted (core dumped)
/Develop/wxmaxima-jan2022-git/build 145 % gdb
/opt64/wxmaxima-jan2022-git/bin/wxmaxima
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt64/wxmaxima-jan2022-git/bin/wxmaxima...
(gdb) run
Starting program: /mnt/sda3/opt64/wxmaxima-jan2022-git/bin/wxmaxima
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after vfork from child process 13000]
[Detaching after vfork from child process 13002]
[Detaching after vfork from child process 13004]
[Detaching after vfork from child process 13006]
[Detaching after vfork from child process 13008]
[Detaching after vfork from child process 13010]
[Detaching after vfork from child process 13012]
[Detaching after vfork from child process 13014]
[Detaching after vfork from child process 13016]
[Detaching after vfork from child process 13018]
[New Thread 0x7ffff41f7700 (LWP 13020)]
[New Thread 0x7ffff39f6700 (LWP 13021)]
[New Thread 0x7ffff27b3700 (LWP 13022)]
[Detaching after vfork from child process 13023]
[Detaching after vfork from child process 13025]
[Detaching after vfork from child process 13027]
[Detaching after fork from child process 13029]
[New Thread 0x7ffff0ed8700 (LWP 13054)]
[Detaching after fork from child process 13055]
[Thread 0x7ffff0ed8700 (LWP 13054) exited]
[New Thread 0x7fffe24e6700 (LWP 13056)]
[New Thread 0x7ffff0ed8700 (LWP 13058)]
[New Thread 0x7fffe1ce5700 (LWP 13059)]
[Thread 0x7ffff0ed8700 (LWP 13058) exited]
[Thread 0x7fffe24e6700 (LWP 13056) exited]
[Thread 0x7fffe1ce5700 (LWP 13059) exited]
[Thread 0x7ffff27b3700 (LWP 13022) exited]
[New Thread 0x7ffff27b3700 (LWP 13060)]
[New Thread 0x7fffe0acb700 (LWP 13061)]
[Thread 0x7fffe0acb700 (LWP 13061) exited]
Thread 1 "wxmaxima" received signal SIGSEGV, Segmentation fault.
0x00005555556f7929in Image::Recalculate(this=0x3, scale=2.34375)
at
/mnt/sda3/home/lemmens/Develop/wxmaxima-jan2022-git/src/Image.cpp:923
923 intwidth =m_originalWidth;
(gdb) backtrace
#0 0x00005555556f7929in Image::Recalculate(double)(this=0x3,
scale=2.34375)
at
/mnt/sda3/home/lemmens/Develop/wxmaxima-jan2022-git/src/Image.cpp:923
#1 0x00005555558ae9e0in SlideShow::Draw(wxPoint)(this=0x555556c0c070,
point=...)
at
/mnt/sda3/home/lemmens/Develop/wxmaxima-jan2022-git/src/cells/SlideShowCell.cpp:303
#2 0x0000555555886795in GroupCell::Draw(wxPoint)(this=0x555556c0af00,
point=...)
at
/mnt/sda3/home/lemmens/Develop/wxmaxima-jan2022-git/src/cells/GroupCell.cpp:828
#3 0x00005555558d85e4in
Printout::OnPrintPage(int)(this=0x7fffffffc3c0, num=5)
at
/mnt/sda3/home/lemmens/Develop/wxmaxima-jan2022-git/src/graphical_io/Printout.cpp:133
#4 0x00007ffff77b2ce1in wxGtkPrinter::DrawPage(wxPrintout*,
_GtkPrintOperation*, _GtkPrintContext*, int)()
at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#5 0x00007ffff626c0a2in g_closure_invoke() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007ffff627e413in () at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007ffff62846cfin g_signal_emit_valist() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8 0x00007ffff6284c3fin g_signal_emit() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007ffff6652323in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#10 0x00007ffff6652a5bin () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#11 0x00007ffff62e0dd9in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#12 0x00007ffff5fdbd6fin g_main_context_dispatch() at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff5fdc118in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff5fdc40bin g_main_loop_run() at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007ffff6651c41in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#16 0x00007ffff6652f43in gtk_print_operation_run() at
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#17 0x00007ffff77b4e92in wxGtkPrintDialog::ShowModal()() at
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#18 0x00007ffff77b5cf4in wxGtkPrinter::Print(wxWindow*, wxPrintout*,
bool)()
at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#19 0x00007ffff78bd5c4in wxPrinter::Print(wxWindow*, wxPrintout*, bool)()
at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#20 0x00005555557d41cfin
wxMaxima::PrintMenu(wxCommandEvent&)(this=0x555555d37ad0, event=...)
at
/mnt/sda3/home/lemmens/Develop/wxmaxima-jan2022-git/src/wxMaxima.cpp:4577
#21 0x00007ffff7368241in
wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&)
() at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#22 0x00007ffff73685bain
wxEvtHandler::SearchDynamicEventTable(wxEvent&)()
at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#23 0x00007ffff7368650in wxEvtHandler::TryHereOnly(wxEvent&)() at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#24 0x00007ffff73684f3in wxEvtHandler::DoTryChain(wxEvent&)() at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#25 0x00007ffff73687a1in wxEvtHandler::ProcessEvent(wxEvent&)() at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#26 0x00007ffff78fe60ain wxWindowBase::TryAfter(wxEvent&)() at
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#27 0x00007ffff7368537in wxEvtHandler::SafelyProcessEvent(wxEvent&)()
at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#28 0x00007ffff78b1b16in wxMenuBase::SendEvent(int, int)() at
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#29 0x00007ffff77a212fin () at
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#30 0x00007ffff626c0a2in g_closure_invoke() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007ffff627e413in () at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#32 0x00007ffff62846cfin g_signal_emit_valist() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#33 0x00007ffff6284c3fin g_signal_emit() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#34 0x00007ffff6751354in gtk_widget_activate() at
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#35 0x00007ffff6617456in gtk_menu_shell_activate_item() at
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#36 0x00007ffff6617733in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#37 0x00007ffff67a49f8in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#38 0x00007ffff626c2eein () at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#39 0x00007ffff6283df9in g_signal_emit_valist() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#40 0x00007ffff6284c3fin g_signal_emit() at
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#41 0x00007ffff674ed04in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#42 0x00007ffff6601e00in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#43 0x00007ffff6603a63in gtk_main_do_event() at
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#44 0x00007ffff62ec785in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#45 0x00007ffff63202e2in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#46 0x00007ffff5fdbe6bin g_main_context_dispatch() at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007ffff5fdc118in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007ffff5fdc40bin g_main_loop_run() at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007ffff6602a55in gtk_main() at
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#50 0x00007ffff7723955in wxGUIEventLoop::DoRun()() at
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#51 0x00007ffff722797din wxEventLoopBase::Run()() at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#52 0x00007ffff71f09a6in wxAppConsoleBase::MainLoop()() at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#53 0x00005555557a0c9ain MyApp::OnRun()(this=0x555555c2ea90)
at
/mnt/sda3/home/lemmens/Develop/wxmaxima-jan2022-git/src/main.cpp:420
#54 0x000055555579ebfein CommonMain()() at
/mnt/sda3/home/lemmens/Develop/wxmaxima-jan2022-git/src/main.cpp:69
#55 0x000055555579f0b2in main(int, char**)(argc=1, argv=0x7fffffffe088)
at /mnt/sda3/home/lemmens/Develop/wxmaxima-jan2022-git/src/main.cpp:86
(gdb)
On 1/29/22 17:02, Gunter Königsman wrote:
>
> Closed #1616
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_wxMaxima-2Ddevelopers_wxmaxima_issues_1616&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=lrhSO6ooiZuuXtjDeARp073is58vUz95M8Pg41S4vkw&s=G2xJS0xhO0v2-nBnyZlDlPfC6C3H0MH13phAaCeo4Q8&e=>
> via 4068e80
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_wxMaxima-2Ddevelopers_wxmaxima_commit_4068e801a0cdd3c45c2f2c11465086cf7fc8ff2c&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=lrhSO6ooiZuuXtjDeARp073is58vUz95M8Pg41S4vkw&s=_Ya_Ne6XFkXxHFAcBYjDgzmJSF0kgAHzIhv2m9tYwqY&e=>.
>
> —
> Reply to this email directly, view it on GitHub
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_wxMaxima-2Ddevelopers_wxmaxima_issues_1616-23event-2D5975236744&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=lrhSO6ooiZuuXtjDeARp073is58vUz95M8Pg41S4vkw&s=EAyb0hgi8ji5FgV0ArSlt8mjYZq3BgFNAjXpETeiCok&e=>,
> or unsubscribe
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AJOBBQDSXZFRJ3VF47MO2IDUYQFQLANCNFSM5LWXE4LQ&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=lrhSO6ooiZuuXtjDeARp073is58vUz95M8Pg41S4vkw&s=ls3rViksnUBBL3uKGvTuYVzB_7VGe3XWox0tfBMU1XI&e=>.
> Triage notifications on the go with GitHub Mobile for iOS
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=lrhSO6ooiZuuXtjDeARp073is58vUz95M8Pg41S4vkw&s=Nbw8moMyHbL4XOtjDcr7m-GboClkgBLdbu-2nz7NjJQ&e=>
> or Android
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=sr-rP9ifbAiuloT_jSqOv7lcPIkmq8RyiZix7oSWNIk&m=lrhSO6ooiZuuXtjDeARp073is58vUz95M8Pg41S4vkw&s=2_cH87aYKEg088iLyd4qjtvPL7Yjywam2T4pOw4TSR4&e=>.
>
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
What I still don't get is: The image is at the memory address 0x03. Everything else is at an address like 0x555555710e18. Where do we get that obviously wrong image address from? |
We stored the number of frames in an animation in two locations => got rid of one. One step to get rid of #1616
Thanks a lot! And thanks for this bug report. Since I didn't find the bug I re-wrote all the parts of image handling that I didn't understand - which has the side effect that I believe I have been finally able to add consist handling of image sizes to the program. |
Sheets with embedded animations cannot be exported or printed: as soon as you try to do this it simply crashes the wxmaxima GUI. A workaround is to hide all animations before printing or exporting, but that is of course not a real solution.
OS: Linux Debian 11 with wxwidgets 3.0.5.1+dfsg-2
Would be nice if this could be fixed, so our students can hand in a PDF version of their work without seeing crashes ;-)
Best Casey
The text was updated successfully, but these errors were encountered: