Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tplay: will crash if the playlist is exhausted #47

Closed
juanrubio opened this issue Apr 17, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@juanrubio
Copy link
Collaborator

commented Apr 17, 2014

To reproduce, simply try to stream a folder without any CBR files (e.g. a folder where all files are ABR encoded). The initial playlist will be processed and each of the files will end up being removed. After that tplay will crash with this stack trace:

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7fffea4f2700 (LWP 7190)]
0x00000000004184bc in tiz::playlist::skip (this=0x6ef230, jump=1) at tizplaylist.cpp:259
259 current_index_ %= list_size;
(gdb) bt
#0 0x00000000004184bc in tiz::playlist::skip (this=0x6ef230, jump=1) at tizplaylist.cpp:259
#1 0x0000000000437b70 in tiz::graph::ops::do_skip (this=0x7fffe0005a70) at tizgraphops.cpp:268
#2 0x000000000046509f in operator()boost::msm:🔙:state_machine<tiz::graph::hsfsm::fsm_::configuring_, boost::msm::front::none, tiz::graph::hsfsm::fsm_::configuring_::probing, tiz::graph::hsfsm::fsm_::configuring_::probing> (this=, evt=..., fsm=...) at tizgraphaction.hpp:84

@juanrubio juanrubio added this to the OpenMAX IL 0.1.0 milestone Apr 17, 2014

@juanrubio juanrubio added the bug label Apr 17, 2014

@juanrubio juanrubio self-assigned this Apr 17, 2014

@juanrubio juanrubio closed this in 6dc26d8 Apr 17, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.