Skip to content
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

Monitor replication to GitHub #3

Open
wincent opened this issue Oct 2, 2015 · 1 comment
Open

Monitor replication to GitHub #3

wincent opened this issue Oct 2, 2015 · 1 comment

Comments

@wincent
Copy link
Owner

wincent commented Oct 2, 2015

For example, complain when the HEAD at http://git.wincent.com/wincent.git does not match the one at https://github.com/wincent/wincent

Monit may not be the best tool for this.

@wincent
Copy link
Owner Author

wincent commented Oct 2, 2015

Monit may not be the best tool for this.

Although it could perhaps be used for a crude check of the sync script output. Basically, log it somewhere and if the final "DONE" string is not detected in the output for some number of cycles, send an alert.

wincent added a commit that referenced this issue Mar 20, 2022
Yields this:

    [bailout (kind: deopt-soft, reason: Insufficient type feedback for compare operation): begin. deoptimizing 0x03ec77643e39 <JSFunction lex (sfi = 0x3ec38d4fb29)>, opt id 0, bytecode offset 2056, deopt exit 150, FP to SP delta 96, caller SP 0x7ff7b4735e90, pc 0x00011061b4a4]
                ;;; deoptimize at </Users/wincent/code/masochist/next/packages/lexer/lib/lex.js:208:24>
      reading input frame lex => bytecode_offset=2056, args=2, height=13, retval=0(#0); inputs:
          0: 0x03ec77643e39 ;  [fp -  16]  0x03ec77643e39 <JSFunction lex (sfi = 0x3ec38d4fb29)>
          1: 0x03ec7a081599 ;  [fp +  16]  0x03ec7a081599 <undefined>
          2: 0x03ec77642a01 ; r8 0x03ec77642a01 <String[5160]: "...<truncated>>">
          3: 0x03ec776429d9 ;  [fp -  40]  0x03ec776429d9 <FunctionContext[3]>
          4: 0x03ec31045d49 ;  [fp -  96]  0x03ec31045d49 <JSGenerator>
          5: 0xffffffff00000000 ;  [fp -  32]  -1
          6: 0x000000000000 ; rax 0
          7: 0x03ec7a081de9 ; (literal  4) 0x03ec7a081de9 <Odd Oddball: optimized_out>
          8: 0x133300000000 ;  [fp -  56]  4915
          9: 0x133400000000 ; rbx 4916
         10: 48 ; r11 (int32)
         11: 0x03ec7a081de9 ; (literal  4) 0x03ec7a081de9 <Odd Oddball: optimized_out>
         12: 0x03ec7a081de9 ; (literal  4) 0x03ec7a081de9 <Odd Oddball: optimized_out>
         13: 0x03ec7a081de9 ; (literal  4) 0x03ec7a081de9 <Odd Oddball: optimized_out>
         14: 0x03ec7a081de9 ; (literal  4) 0x03ec7a081de9 <Odd Oddball: optimized_out>
         15: 0x03ec7a081de9 ; (literal  4) 0x03ec7a081de9 <Odd Oddball: optimized_out>
         16: 0x03ec7a081de9 ; (literal  4) 0x03ec7a081de9 <Odd Oddball: optimized_out>
         17: 0x003000000000 ; (literal 10) 48
      translating baseline frame lex => bytecode_offset=2056, variable_frame_size=112, frame_size=184
        0x7ff7b4735e88: [top + 176] <- 0x03ec77642a01 <String[5160]: "...<truncated>>"> ;  stack parameter (input #2)
        0x7ff7b4735e80: [top + 168] <- 0x03ec7a081599 <undefined> ;  stack parameter (input #1)
        -------------------------
        0x7ff7b4735e78: [top + 160] <- 0x00010c2b1db0 ;  bottommost caller's pc
        0x7ff7b4735e70: [top + 152] <- 0x7ff7b4735ec0 ;  caller's fp
        0x7ff7b4735e68: [top + 144] <- 0x03ec776429d9 <FunctionContext[3]> ;  context (input #3)
        0x7ff7b4735e60: [top + 136] <- 0x03ec77643e39 <JSFunction lex (sfi = 0x3ec38d4fb29)> ;  function (input #0)
        0x7ff7b4735e58: [top + 128] <- 0x000000000001 ;  actual argument count
        0x7ff7b4735e50: [top + 120] <- 0x03ec38d7a661 <BytecodeArray[5903]> ;  bytecode array
        0x7ff7b4735e48: [top + 112] <- 0x083d00000000 <Smi 2109> ;  bytecode offset
        -------------------------
        0x7ff7b4735e40: [top + 104] <- 0x03ec31045d49 <JSGenerator> ;  stack parameter (input #4)
        0x7ff7b4735e38: [top +  96] <- 0xffffffff00000000 <Smi -1> ;  stack parameter (input #5)
        0x7ff7b4735e30: [top +  88] <- 0x000000000000 <Smi 0> ;  stack parameter (input #6)
        0x7ff7b4735e28: [top +  80] <- 0x03ec7a081de9 <Odd Oddball: optimized_out> ;  stack parameter (input #7)
        0x7ff7b4735e20: [top +  72] <- 0x133300000000 <Smi 4915> ;  stack parameter (input #8)
        0x7ff7b4735e18: [top +  64] <- 0x133400000000 <Smi 4916> ;  stack parameter (input #9)
        0x7ff7b4735e10: [top +  56] <- 0x003000000000 <Smi 48> ;  stack parameter (input #10)
        0x7ff7b4735e08: [top +  48] <- 0x03ec7a081de9 <Odd Oddball: optimized_out> ;  stack parameter (input #11)
        0x7ff7b4735e00: [top +  40] <- 0x03ec7a081de9 <Odd Oddball: optimized_out> ;  stack parameter (input #12)
        0x7ff7b4735df8: [top +  32] <- 0x03ec7a081de9 <Odd Oddball: optimized_out> ;  stack parameter (input #13)
        0x7ff7b4735df0: [top +  24] <- 0x03ec7a081de9 <Odd Oddball: optimized_out> ;  stack parameter (input #14)
        0x7ff7b4735de8: [top +  16] <- 0x03ec7a081de9 <Odd Oddball: optimized_out> ;  stack parameter (input #15)
        0x7ff7b4735de0: [top +   8] <- 0x03ec7a081de9 <Odd Oddball: optimized_out> ;  stack parameter (input #16)
        0x7ff7b4735dd8: [top +   0] <- 0x003000000000 <Smi 48> ;  accumulator (input #17)
    [bailout end. took 0.355 ms]

which corresponds to this `if` conditional:

            case 14:
                if (ch >= 0x30 && ch <= 0x39) {
                    state = 14;
                }

Still not sure how to fix this, but it is at least some form of
progress.

`--trace-deopt-verbose` flag brought to you via inspecting the available
options in `node --v8-options`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant