[1.8.0 stable] bug when install on old linux version

Filipe DA SILVA fdasilva at ingima.com
Wed May 6 08:53:54 UTC 2015


Hi ,

I quickly review your code .

Please check this :

   while (1) {
…
            free(ftyp_atom);
            ftyp_atom = ngx_palloc(r->connection->pool, ftyp_atom_size);
            //            ftyp_atom = malloc(ftyp_atom_size);

I see others ngx_palloc/free mix-up…

You also may merge 6d468b45f40e change (rev 5807)  .

Regards,
Filipe



De : nginx-devel-bounces at nginx.org [mailto:nginx-devel-bounces at nginx.org] De la part de hungnv at opensource.com.vn
Envoyé : mercredi 6 mai 2015 09:36
À : nginx-devel at nginx.org
Objet : [1.8.0 stable] bug when install on old linux version


Hello,

I tested new stable version (1.8.0) with simple option: ./configure —add-module=./ngx_enhance_mp4_module (https://github.com/whatvn/ngx_http_enhance_mp4_module) , then start nginx and it fail to spawn child process (with error similar to compiling with —with-file-aio on old linux kernel):

2015/05/06 14:22:28 [emerg] 19004#0: eventfd() failed (38: Function not implemented)
2015/05/06 14:22:28 [emerg] 19005#0: eventfd() failed (38: Function not implemented)
2015/05/06 14:22:28 [emerg] 19006#0: eventfd() failed (38: Function not implemented)
2015/05/06 14:22:28 [alert] 18999#0: worker process 19000 exited with fatal code 2 and cannot be respawned
2015/05/06 14:22:28 [alert] 18999#0: worker process 19002 exited with fatal code 2 and cannot be respawned
2015/05/06 14:22:28 [alert] 18999#0: worker process 19003 exited with fatal code 2 and cannot be respawned
2015/05/06 14:22:28 [alert] 18999#0: worker process 19004 exited with fatal code 2 and cannot be respawned
2015/05/06 14:22:28 [alert] 18999#0: worker process 19005 exited with fatal code 2 and cannot be respawned
2015/05/06 14:22:28 [alert] 18999#0: worker process 19006 exited with fatal code 2 and cannot be respawned



with same configure options, nginx stable 1.6.3 work fine. Maybe a bug?

System details:

Centos 5, kernel: 2.6.18-164.el5



--
Hưng
Email: hungnv at opensource.com.vn<mailto:hungnv at opensource.com.vn>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20150506/88fefccf/attachment-0001.html>


More information about the nginx-devel mailing list