[cantor] [Bug 414541] cantor git master and maxima 5.43 crash

2019-12-03 Thread nijso
https://bugs.kde.org/show_bug.cgi?id=414541

--- Comment #11 from nijso  ---
Hi, thanks, I did a git clone today of master and I do not have this problem
anymore. Thank you all for getting me started with Cantor.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 414541] cantor git master and maxima 5.43 crash

2019-12-01 Thread nijso
https://bugs.kde.org/show_bug.cgi?id=414541

--- Comment #8 from nijso  ---
(In reply to Alexander Semke from comment #7)
> To unblock you, instead of using a latex entry you can work with a markdown
> entry and use the $...$ environment to set mathematical expressions. For
> this we already work with pdflatex and PDF to generate images.

Thanks! I see the rendered equation between $...$, but if I just type e.g.
$\alpha=1$, the rendered equation is displayed in a normal size, but with a lot
of whitespace surrounding the equation on all sides. Effectively, the result
fills an entire page. Actually, if I open the pdf-file it shows an entire page
with the equation somehwere in the middle. It looks like cantor does not scale
the equation to something that fits on a single line. Is this connected? Do you
see the same behavior?

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 414541] cantor git master and maxima 5.43 crash

2019-11-30 Thread nijso
https://bugs.kde.org/show_bug.cgi?id=414541

--- Comment #6 from nijso  ---
Thank you for the detailed explanation - good to hear that there is a fix.
Removing the pathway that leads to the error completely by switching to
pdflatex sounds like a good idea.

I wanted to try cantor because of its jupyter support, which I think provides
great added value to the package.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 414541] cantor git master and maxima 5.43 crash

2019-11-27 Thread nijso
https://bugs.kde.org/show_bug.cgi?id=414541

--- Comment #4 from nijso  ---
Hi, I have the most recent version of libspectre, 0.2.8. I re-compiled
libspectre and cantor and it still crashes, also for the previous cantor
version 19.08 (I thought that one worked, but unfortunately it doesn't work
either. I tried cantor 18.04 but that one crashes when I load it). 

I could improve the debugging information for the libspectre part:


#18 0x7f112c9fe68c in spectre_gs_run (gs=gs@entry=0x282f2e0,
n_args=, args=args@entry=0x2bbe880) at spectre-gs.c:201
#19 0x7f112c9ff21e in spectre_device_render (device=device@entry=0x289fc00,
page=0, rc=rc@entry=0x2bc3460, x=x@entry=0, y=y@entry=0, width=13, height=16,
page_data=0x7ffdf9334950, row_length=0x7ffdf933494c) at spectre-device.c:366
#20 0x7f112c9ffb55 in spectre_page_render (page=page@entry=0x28230d0,
rc=rc@entry=0x2bc3460, page_data=page_data@entry=0x7ffdf9334950,
row_length=row_length@entry=0x7ffdf933494c) at spectre-page.c:164
#21 0x7f112c9fdb2f in spectre_document_render_full (document=0x2833030,
rc=0x2bc3460, page_data=0x7ffdf9334950, row_length=0x7ffdf933494c) at
spectre-document.c:351
#22 0x7f112ddb7636 in Cantor::Renderer::epsRenderToImage (url=..., scale=1,
useHighRes=false, size=0x7ffdf9334b40, errorReason=0x0) at
/home/nijso/mathematics/cantor/src/lib/renderer.cpp:153

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 414541] cantor git master and maxima 5.43 crash

2019-11-26 Thread nijso
https://bugs.kde.org/show_bug.cgi?id=414541

--- Comment #2 from nijso  ---
That's interesting, deactivating latex typesetting prevents it from crashing. 
Just tried cantor 19.08.3 with/without latex typesetting and that seems to work
fine.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 414541] New: cantor git master and maxima 5.43 crash

2019-11-26 Thread nijso
https://bugs.kde.org/show_bug.cgi?id=414541

Bug ID: 414541
   Summary: cantor git master and maxima 5.43 crash
   Product: cantor
   Version: unspecified
  Platform: openSUSE RPMs
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: cantor-b...@kde.org
  Reporter: bigfootedrockmid...@hotmail.com
  Target Milestone: ---

Application: cantor (20.03.70)

Qt Version: 5.9.7
Frameworks Version: 5.55.0
Operating System: Linux 4.12.14-lp151.28.32-default x86_64
Distribution: "openSUSE Leap 15.1"

-- Information about the crash:
- What I was doing when the application crashed:

just installed cantor from git (master) and installed maxima 5.43.0 from
sourceforge
started cantor from the command line in kde (opensuse)

evaluating any maxima command will result in a crash for my system setup
This does not happen with cantor 18.12.3-lp151.2.1, which is the current
release of my opensuse distribution.

The crash can be reproduced every time.

-- Backtrace:
Application: Cantor (cantor), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f87dda17140 (LWP 22179))]

Thread 4 (Thread 0x7f87a7e4b700 (LWP 22184)):
#0  0x7f87ce39cff0 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x7f87ce3566fc in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#2  0x7f87ce3570db in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x7f87ce3572bc in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#4  0x7f87d65ef96b in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib64/libQt5Core.so.5
#5  0x7f87d659490a in
QEventLoop::exec(QFlags) () from
/usr/lib64/libQt5Core.so.5
#6  0x7f87d63b2daa in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x7f87d63b7ced in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x7f87d3540569 in start_thread () from /lib64/libpthread.so.0
#9  0x7f87d57649ef in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f87bb114700 (LWP 22181)):
#0  0x7f87ce39cff4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x7f87ce3572c6 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#2  0x7f87d65ef96b in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib64/libQt5Core.so.5
#3  0x7f87d659490a in
QEventLoop::exec(QFlags) () from
/usr/lib64/libQt5Core.so.5
#4  0x7f87d63b2daa in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#5  0x7f87d80d89e5 in ?? () from /usr/lib64/libQt5DBus.so.5
#6  0x7f87d63b7ced in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x7f87d3540569 in start_thread () from /lib64/libpthread.so.0
#8  0x7f87d57649ef in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f87c32cd700 (LWP 22180)):
#0  0x7f87d575a19b in poll () from /lib64/libc.so.6
#1  0x7f87cbc0c307 in ?? () from /usr/lib64/libxcb.so.1
#2  0x7f87cbc0df3a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x7f87c5c0e939 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x7f87d63b7ced in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x7f87d3540569 in start_thread () from /lib64/libpthread.so.0
#6  0x7f87d57649ef in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f87dda17140 (LWP 22179)):
[KCrash Handler]
#6  0x7f87d570e5b3 in __memmove_sse2_unaligned_erms () from
/lib64/libc.so.6
#7  0x7f87d3c29a04 in cmsOpenIOhandlerFromMem () from
/usr/lib64/liblcms2.so.2
#8  0x7f87d3c2b245 in cmsOpenProfileFromMemTHR () from
/usr/lib64/liblcms2.so.2
#9  0x7f87d249d2f5 in gsicc_set_device_profile () from
/usr/lib64/libgs.so.9
#10 0x7f87d249da22 in gsicc_init_device_profile_struct () from
/usr/lib64/libgs.so.9
#11 0x7f87d26b697c in gs_setdevice_no_erase () from /usr/lib64/libgs.so.9
#12 0x7f87d27ae43c in zsetdevice () from /usr/lib64/libgs.so.9
#13 0x7f87d2783278 in ?? () from /usr/lib64/libgs.so.9
#14 0x7f87d2783523 in gs_interpret () from /usr/lib64/libgs.so.9
#15 0x7f87d27766cc in ?? () from /usr/lib64/libgs.so.9
#16 0x7f87d2776b90 in gs_main_init2aux () from /usr/lib64/libgs.so.9
#17 0x7f87d2777152 in gs_main_init2 () from /usr/lib64/libgs.so.9
#18 0x7f87d2779e6e in gs_main_init_with_args () from /usr/lib64/libgs.so.9
#19 0x7f87dc27084c in spectre_gs_run () from /usr/lib64/libspectre.so.1
#20 0x7f87dc27143e in spectre_device_render () from
/usr/lib64/libspectre.so.1
#21 0x7f87dc271db3 in spectre_page_render () from
/usr/lib64/libspectre.so.1
#22 0x7f87dc26fc3f in spectre_document_render_full () from
/usr/lib64/libspectre.so.1
#23 0x7f87dd629626 in Cantor::Renderer::epsRenderToImage (url=..., scale=1,
useHighRes=false, size=0x7ffc6627bb10, errorReason=0x0) at
/home/nijso/mathematics/cantor/src/lib/renderer.cpp:153
#24 0x7f87dd62a07f in Cantor::Renderer::renderToI