On OSX 10.14.6 (Mojave), I load the attached in j903 beta-j then run
0 dv ast
and it crashes.
Interestingly, if I include 0 dv ast in the script, that does not crash.
I hope this helps,
--
Raul
Engine: j903/j64avx2/darwin
Beta-j: commercial/2021-05-18T17:06:59
Library: 9.03.03
Qt IDE: 1.9.2/5.12.10(5.12.10)
Platform: Darwin 64
Installer: J903 install
InstallPath: /users/rauldmiller/applications/j903
Contact: www.jsoftware.com
On Mon, May 24, 2021 at 10:18 AM Henry Rich <[email protected]> wrote:
>
> I can't get this to crash under JQt. Can you provide detailed
> instructions (I know you did once, I just want to make sure I'm doing
> what you're doing)?
>
> And can others reproduce this crash?
>
> Henry Rich
>
> On 5/23/2021 10:37 PM, Raul Miller wrote:
> > This does not crash for me under jconsole.
> >
> > This does crash for me under jqt.
> >
> > This also crashes for me under jhs.
> >
> > Here's the message I get in jconsole from jhs:
> >
> > /Users/rauldmiller/Applications/j903/bin/jhs.command: line 2: 36569
> > Segmentation fault: 11 "`dirname "$0"`/jconsole"
> > ~addons/ide/jhs/core.ijs -js " init_jhs_'' "
> >
> > Here's the stack trace I get from jqt:
> >
> > Crashed Thread: 0 Dispatch queue: com.apple.main-thread
> >
> > Exception Type: EXC_BAD_ACCESS (SIGSEGV)
> > Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000024
> > Exception Note: EXC_CORPSE_NOTIFY
> >
> > Termination Signal: Segmentation fault: 11
> > Termination Reason: Namespace SIGNAL, Code 0xb
> > Terminating Process: exc handler [36601]
> >
> > VM Regions Near 0x24:
> > -->
> > __TEXT 000000010b381000-000000010b386000 [ 20K]
> > r-x/rwx SM=COW /Users/USER/*
> >
> > Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> > 0 libj.dylib 0x000000011954a453 jtfa + 243
> > 1 libj.dylib 0x000000011954a2e1 freesymb + 545
> > 2 libj.dylib 0x000000011954aa60 jtmf + 208
> > 3 libj.dylib 0x000000011954ba48 jttpop + 216
> > 4 libj.dylib 0x00000001195428ca jdo + 362
> > 5 libj.dylib 0x0000000119542680 JDo + 112
> > 6 libjqt.dylib 0x000000010bf68df4
> > Jcon::cmdSentence(std::__1::basic_string<char,
> > std::__1::char_traits<char>, std::__1::allocator<char> >) + 116
> > 7 libjqt.dylib 0x000000010bf68c6a Jcon::cmdSentences() +
> > 170
> > 8 libjqt.dylib 0x000000010bf6a368 Tedit::docmd(QString)
> > + 184
> > 9 libjqt.dylib 0x000000010bf6b28a Tedit::enter() + 506
> > 10 org.qt-project.QtWidgets 0x00000001140a530f
> > QWidget::event(QEvent*) + 527
> > 11 org.qt-project.QtWidgets 0x000000011414d11d QFrame::event(QEvent*)
> > + 45
> > 12 org.qt-project.QtWidgets 0x000000011422ddcf
> > QTextEdit::event(QEvent*) + 415
> > 13 org.qt-project.QtWidgets 0x000000011406982d
> > QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
> > 14 org.qt-project.QtWidgets 0x000000011406ad93
> > QApplication::notify(QObject*, QEvent*) + 947
> > 15 org.qt-project.QtCore 0x000000010bac9d84
> > QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
> > 16 org.qt-project.QtWidgets 0x00000001140c4151 0x114059000 + 438609
> > 17 org.qt-project.QtWidgets 0x00000001140c3507 0x114059000 + 435463
> > 18 org.qt-project.QtWidgets 0x000000011406982d
> > QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
> > 19 org.qt-project.QtWidgets 0x000000011406abd1
> > QApplication::notify(QObject*, QEvent*) + 497
> > 20 org.qt-project.QtCore 0x000000010bac9d84
> > QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
> > 21 org.qt-project.QtGui 0x000000010b3bcecf
> > QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
> > + 191
> > 22 org.qt-project.QtGui 0x000000010b3a2f8b
> > QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> > + 219
> > 23 org.qt-project.QtGui 0x000000010b39de75
> > QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> > + 581
> > 24 libqcocoa.dylib 0x0000000116830368 0x116801000 + 193384
> > 25 libqcocoa.dylib 0x0000000116830538 0x116801000 + 193848
> > 26 com.apple.AppKit 0x00007fff3bb52367
> > -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 6840
> > 27 com.apple.AppKit 0x00007fff3bb50667
> > -[NSWindow(NSEventRouting) sendEvent:] + 478
> > 28 libqcocoa.dylib 0x0000000116833975 0x116801000 + 207221
> > 29 com.apple.AppKit 0x00007fff3b9f0889
> > -[NSApplication(NSEvent) sendEvent:] + 2953
> > 30 libqcocoa.dylib 0x000000011683a9fa 0x116801000 + 236026
> > 31 com.apple.AppKit 0x00007fff3b9de5c0 -[NSApplication run] +
> > 755
> > 32 libqcocoa.dylib 0x00000001168370d3 0x116801000 + 221395
> > 33 org.qt-project.QtCore 0x000000010bac539f
> > QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
> > 34 libjqt.dylib 0x000000010bf5d040 state_run + 176
> > 35 jqt 0x000000010b38552e main + 1022
> >
> > I hope this helps,
> >
>
>
> --
> This email has been checked for viruses by AVG.
> https://www.avg.com
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
N=:0
dv =: {{
if. 20 < N=: N+1 do. throw. end.
echo y
([echo) (];(>:x) dv [)/\ |.x;}.y
}}
t=:'.'
ast=:t;(t;t);(t;(t;t);t);(t;(t;t;t);(t;t;t);t)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm