History.makeWin crashes SC 3.11.1 interpreter on Linux

Hi,

I can repeatedly make the interpreter crash by evaluating
History.makeWin

This is the post window:
*** Welcome to SuperCollider 3.11.1. *** For help press Ctrl-D.
// History.logFile opened.
→ History
→ a HistoryGui
Interpreter has crashed or stopped forcefully. [Exit code: 11]

Is this known? So far there doesn’t seem to be an issue on the tracker
at

best, P

FWIW, I have a somewhat more recent supercollider build and do not see this crash (arch linux).

Same as shiihs, I can’t reproduce the crash (using 3.11.2 + development-version stuff).

I’d guess it may be specific to your environment :confused: which would be hard for troubleshooting. Have you used gdb (debugger) before?

hjh

Hi,

thanks to the dysfunctional mailing-list mode I did not your replies
forwarded. Had to check on the forum manually. Phew,
frustrating, especially since we were told that the forum will be a
drop-in replacement for the mailing list. It does simply not work.

Back to topic:
This is the backtrace I get running sclang in gdb with a code.scd
document holding just the line
History.makeWin

*** Welcome to SuperCollider 3.11.1. *** For help type ctrl-c ctrl-h
(Emacs) or :SChelp (vim) or ctrl-U (sced/gedit).
[New Thread 0x7fff9affd700 (LWP 1110807)]
qt.qpa.xcb: xcb_shm_create_segment() can’t be called for size 17179344900, maximumallowed size is 4294967295
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::save: Painter not active
QPainter::setPen: Painter not active
QPainter::drawRects: Painter not active
QPainter::restore: Unbalanced save/restore
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::translate: Painter not active
QPainter::save: Painter not active
QPainter::setClipRect: Painter not active
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::pen: Painter not active
QPainter::worldTransform: Painter not active
QPainter::compositionMode: Painter not active

Thread 1 “sclang” received signal SIGSEGV, Segmentation fault.
0x00007ffff736d941 in QTextLayout::drawCursor(QPainter*, QPointF const&, int, int) const ()
from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5