From: Everton L. B. <ev...@fa...> - 2004-01-08 18:41:26
|
result: WTF.. NAME LENGTH = 8, MAINLOOP COUNT = 136146712 ** NUTS.. WE CRASHED Quit (core dumped) Bob Doan escreveu: > Hi, > > In bindings/php/php.c > > You will see ZEND_FUNCTION(rlib_add_report) > > Can you add the rlogit line.. run your report.. crash.. but then look @ > the apache log (or command line depending on how you did it).. > and tell me what it says.. this looks like a PHP problem I think > > - Bob > > > ZEND_FUNCTION(rlib_add_report) { > zval *z_rip = NULL; > int whatever, mainloop_count; > char *name, *mainloop; > rlib_inout_pass *rip; > int id = -1; > > if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|s", &z_rip, > &name, &whatever, &mainloop, &mainloop_count) == FAILURE) { > return; > } > > rlogit("WTF.. NAME LENGTH = %d, MAINLOOP COUNT = %d\n", whatever, > mainloop_count); > > ZEND_FETCH_RESOURCE(rip, rlib_inout_pass *, &z_rip, id, LE_RLIB_NAME, > le_link); > > if(mainloop_count > 0) > rlib_add_report(rip->r, estrdup(name), estrdup(mainloop)); > else > rlib_add_report(rip->r, estrdup(name), NULL); > > } > > -- Everton Luis Berz Nucleo de Sistemas :: FACCAT - Faculdades de Taquara +55 51 541 6600 - R.624 ICQ 7807919 |