Giter Site home page Giter Site logo

core dumped about ngx_http_estreaming_module HOT 30 CLOSED

whatvn avatar whatvn commented on August 9, 2024
core dumped

from ngx_http_estreaming_module.

Comments (30)

whatvn avatar whatvn commented on August 9, 2024

could you please upload it to somewhere so I can download?
Or just provide me direct link to mp4 file on your server.
Thanks

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024

File is here
http://www.ex.ua/483946877946

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024

Is reproduce problem? You acknowledge the problem?

from ngx_http_estreaming_module.

whatvn avatar whatvn commented on August 9, 2024

No, I have trouble downloading file from url you provided, the speed is not so good.
I will look at this and feed back ASAP.

from ngx_http_estreaming_module.

whatvn avatar whatvn commented on August 9, 2024

this file give me error too. but I dont get core dump here, it just report a silly arg that was sent to malloc() and my code use malloc everywhere, it's hard to debug what produces the error.
it would be great if you can send me core dump file

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024

I do not see at the dump file, only the entry in the log as I have shown above, you also receive the same record in erorr log? The dump file should be somewhere to go then? Where?

from ngx_http_estreaming_module.

whatvn avatar whatvn commented on August 9, 2024

well, I find out what is the problem.
the problem is your media file, metadata report that its duration is 01:39:18.95, but it's actually just 43 minutes long, I don't know why, maybe your or someone who use video muxing tool which has problem by its self.

But this introduces a bug in our module, cause core dump and worker exit if there's a bad media file likes that.
344538d fixed error showed above.

@arty777 : Do you convert/re-convert media file before publish it to the website?

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024

its duration is 01:39:18.95, but it's actually just 43 minutes long
How do you define it?
do you convert/re-convert media file before publish it to the website?
Yes of course I convert files to MP4, as well as hundreds of other files that do not have problems, no error messages I have not seen when conwert this file

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024

PS file size is 321 Mb (337 211 392 byte)

from ngx_http_estreaming_module.

whatvn avatar whatvn commented on August 9, 2024

example your streaming domain is: domain.com, to request m3u8 file:
http://domain.com/issue.m3u8
Replace m3u8 with mp4 and paste url to chrome browser, let it play. Seek to more than 2/3 of video, your video will end immediately.
Or just look at duration of file in your player

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024

duration file in flash player is 01:39:18 , via chrome (direct link to mp4) 01:39:18 , plz check again file is here http://embed.china-cdn88nmbwacdnln8hq8qwe.com/embed.php?mid=176169

from ngx_http_estreaming_module.

whatvn avatar whatvn commented on August 9, 2024

hmm, the file you uploaded before is 146MB. they are different?

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024

No , it's same file http://www.ex.ua/483946877946 , i see 337,209,408 file size by link

Apparently you're it somehow not completely downloaded

from ngx_http_estreaming_module.

whatvn avatar whatvn commented on August 9, 2024

I download that file again, it has size 322M, and I don't get any trouble playing the file. Even with adaptive or not.

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024

i still have error , Please see details in file attached http://www.ex.ua/399578959909

from ngx_http_estreaming_module.

whatvn avatar whatvn commented on August 9, 2024

can you run your test nginx with error file with nginx's configuration above after run sudo ulimit -c unlimited and send me core dump file:

daemon off;
master_process off;

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024

i does't see dump file , how get it? see log attached http://www.ex.ua/399578959909
filename error_1.zip

from ngx_http_estreaming_module.

whatvn avatar whatvn commented on August 9, 2024

with previous nginx configuration, cd /path/to/nginx ; gdb ./sbin/nginx
Request m3u8 file, nginx will reply with 500 response. On console (still in gdb shell), run bt, copy its output

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024

root@test:/usr/local/nginx2# gdb ./sbin/nginx2
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./sbin/nginx2...done.
(gdb) bt
No stack.
(gdb) bt
No stack.
(gdb) bt
No stack.
(gdb) bt
No stack.
(gdb) bt
No stack.
(gdb) run bt
Starting program: /usr/local/nginx2/sbin/nginx2 bt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
nginx: invalid option: "bt"
Inferior 1 (process 19211) exited with code 01 run bt
Starting program: /usr/local/nginx2/sbin/nginx2 bt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
nginx: invalid option: "bt"
Inferior 1 (process 19219) exited with code 01 bt
No stack.

from ngx_http_estreaming_module.

whatvn avatar whatvn commented on August 9, 2024

did you request m3u8 in-order to crash nginx before using bt command?

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024
  1. i run gdb ./sbin/nginx1
  2. Request problem file
  3. in gdb shell run bt i see
    (gdb) bt No stack.
    :(
    what my mistake?

from ngx_http_estreaming_module.

whatvn avatar whatvn commented on August 9, 2024

2. Request problem file
did you get 500 error?

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024

yes , 502

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024

i find core
here is http://www.ex.ua/399578959909
it's help to resolve issue?

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024

any updates?

from ngx_http_estreaming_module.

whatvn avatar whatvn commented on August 9, 2024

Well, your nginx build does not match mine, maybe you're using different Nginx version, different OS and /or different code base.
On my machine/and production server, we are using nginx-1.6.2 and lastest source code of this module, your file can be played well.

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024

try this plz , ant tell me pls is everything is fine http://nginx.org/download/nginx-1.9.1.tar.gz

from ngx_http_estreaming_module.

whatvn avatar whatvn commented on August 9, 2024

that version is not stable, from version 1.8 nginx introduces many new features which I dont think all of those are stable (although they marked it as stable).
If you dont need threads, tcp load balancing, I recommend using 1.6 branch, it's more stable and durable.

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024

nginx 1.6.3 , with last your module ver
2015/05/29 09:42:57 [alert] 24330#0: worker process 24331 exited on signal 11 (core dumped)
:(

nginx version: nginx/1.6.3
built by gcc 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
configure arguments: --prefix=/usr/local/nginx/work/nginx1 --sbin-path=/usr/local/nginx/work/nginx1/sbin/nginx1 --conf-path=/usr/local/nginx/ work/nginx1/conf/nginx.conf --pid-path=/usr/local/nginx/work/nginx1/nginx1.pid --error-log-path=/usr/local/nginx/work/nginx1/log/error.log -- lock-path=/usr/local/nginx/work/nginx1/nginx.lock --http-log-path=/usr/local/nginx/work/nginx1/log/access.log --http-client-body-temp-path=/u sr/local/nginx/work/nginx1/temp/client --http-proxy-temp-path=/usr/local/nginx/work/nginx1/temp/proxy --http-fastcgi-temp-path=/usr/local/ngi nx/work/nginx1/temp/fastcgi --http-uwsgi-temp-path=/usr/local/nginx/work/nginx1/temp/uwsgi --http-scgi-temp-path=/usr/local/nginx/work/nginx1 /temp/scgi --with-file-aio --without-http_autoindex_module --without-http_browser_module --without-http_fastcgi_module --without-http_geo_mod ule --without-http_empty_gif_module --without-http_memcached_module --without-http_ssi_module --without-http_userid_module --without-http_gzi p_module --with-http_perl_module --with-debug --with-http_secure_link_module --with-http_stub_status_module --add-module=/usr/local/nginx/ngx _http_estreaming_module-master

from ngx_http_estreaming_module.

arty777 avatar arty777 commented on August 9, 2024

I reconvert file again ...

all fine ...

from ngx_http_estreaming_module.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.