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-boun...@nginx.org [mailto:nginx-devel-boun...@nginx.org] De la 
part de hun...@opensource.com.vn
Envoyé : mercredi 6 mai 2015 09:36
À : nginx-devel@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: hun...@opensource.com.vn<mailto:hun...@opensource.com.vn>



_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to