pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:2804:    struct byte_buffer buf = BUFFER_INIT();    fprintf (stderr, "There's no master to handle the error. Dumping it raw:\n");    safe_describe_svalue (&buf, Pike_sp - 1, 0, 0);    fprintf(stderr,"%s\n",buffer_get_string(&buf));    buffer_free(&buf);    if (TYPEOF(Pike_sp[-1]) == PIKE_T_OBJECT && Pike_sp[-1].u.object->prog) {    int fun = find_identifier("backtrace", Pike_sp[-1].u.object->prog);    if (fun != -1) {    fprintf(stderr, "Attempting to extract the backtrace.\n");    safe_apply_low2(Pike_sp[-1].u.object, fun, 0, 0); -  buf = BUFFER_INIT(); +     safe_describe_svalue(&buf, Pike_sp - 1, 0, 0);    pop_stack();    fprintf(stderr,"%s\n",buffer_get_string(&buf));    buffer_free(&buf);    }    }    }       pop_stack();    Pike_interpreter.svalue_stack_margin = SVALUE_STACK_MARGIN;