Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  14 Aug 2019, Stefan Ritt, Info, New history plot facility Screenshot_2019-08-14_at_8.50.53_.png
    Reply  06 Sep 2019, Andreas Suter, Info, New history plot facility label_issue.pngmany_labels.png
       Reply  06 Sep 2019, Stefan Ritt, Info, New history plot facility 
          Reply  06 Sep 2019, Andreas Suter, Info, New history plot facility plot_plus_minus.png
             Reply  07 Sep 2019, Stefan Ritt, Info, New history plot facility Screenshot_2019-09-07_at_13.52.49_.pngSlow-Sine_3-20198107-132905-20198107-135305.png
       Reply  08 Sep 2019, Stefan Ritt, Info, New history plot facility Screenshot_2019-09-08_at_12.29.12_.png
          Reply  10 Sep 2019, Andreas Suter, Info, New history plot facility history_hangs.PNG
             Reply  16 Sep 2019, Konstantin Olchanski, Info, New history plot facility 
                Reply  17 Sep 2019, Andreas Suter, Info, New history plot facility 
                   Reply  17 Sep 2019, Konstantin Olchanski, Info, New history plot facility 
    Reply  16 Sep 2019, Konstantin Olchanski, Info, New history plot facility 
       Reply  16 Sep 2019, Stefan Ritt, Info, New history plot facility 
Message ID: 1687     Entry time: 16 Sep 2019     In reply to: 1681     Reply to this: 1694
Author: Konstantin Olchanski 
Topic: Info 
Subject: New history plot facility 
> I see currently quite often is the error hs_read_arraybuffer (see the 
attachement).
> Are there ways to get a log which would document where the problems 
start?
> [also crash of mhttpd]

We can debug it from both ends, javascript and mhttpd:

On the web page, the error message says "see javascript console", do you see 
anything there?

Or the tab is so hung-up that you cannot even access the console? In this 
case, can you open the console before running your test?

In some browsers (firefox, google-chrome) this will also activate the javascript 
debugger and as likely as not will make the bug go away (ouch!)

On the mhttpd side, please capture the stack trace from the crash: enable 
core dumps (ODB "/experiment/enable core dumps" set to "y", after the crash, 
run "ls -l core.*; gdb mhttpd core.9999") or run mhttpd inside gdb or attach 
gdb to a running mhttpd (gdb -p 9999). Once in gdb, run "info thr" to list all 
threads, "thr 0; bt", "thr 1; bt", etc to get stack traces from all threads, only 
one of them contains the crash (tedious!).

Email me the stack trace (or post here), in case we want to look at values
of any variables from the crash, keep the core dump and do not rebuild 
mhttpd.

K.O.
ELOG V3.1.4-2e1708b5