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

segmentation fault on delete station #617

Closed
kalkun opened this issue Apr 14, 2017 · 1 comment
Closed

segmentation fault on delete station #617

kalkun opened this issue Apr 14, 2017 · 1 comment

Comments

@kalkun
Copy link

kalkun commented Apr 14, 2017

I get a segmentation fault sometimes when i try to delete a station. As far as I experience I can replicate the error if I try to delete a station quickly after selecting it - before it starts playing.

I tried to run pianobar through strace but I dont know if the output provides anything meaningful on the error, let me know if there are any other logs that would be helpful.

select(1, [0], NULL, NULL, NULL)        = 1 (in [0])
read(0, "2", 1)                         = 1
write(1, "2", 12)                        = 1
select(1, [0], NULL, NULL, NULL)        = 1 (in [0])
read(0, "1", 1)                         = 1
write(1, "1", 11)                        = 1
select(1, [0], NULL, NULL, NULL)        = 1 (in [0])
read(0, "\n", 1)                        = 1
write(1, "\n", 1
)                       = 1
                                                     |>  Station "Kurt Vile Radio" (3488484821011927067)
) = 56
) = 21                                 #   -05:29/05:38
select(1, [0], NULL, NULL, {1, 0})      = 1 (in [0], left {0, 272519})
read(0, "d", 1)                         = 1
                                                     [?] Really delete "Kurt Vile Radio"? [yN] ) = 46
select(1, [0], NULL, NULL, NULL)        = 1 (in [0])
read(0, "y", 1)                         = 1
write(1, "y", 1y)                        = 1
write(1, "\n", 1
)                       = 1
                                             (i) Deleting station... ) = 28
poll([{fd=4, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
poll([{fd=5, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
poll([{fd=5, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
sendto(5, "POST /services/json/?method=stat"..., 595, MSG_NOSIGNAL, NULL, 0) = 595
poll([{fd=5, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
poll([{fd=5, events=POLLIN}], 1, 1)     = 0 (Timeout)
poll([{fd=5, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout)
poll([{fd=5, events=POLLIN}], 1, 1000)  = 1 ([{fd=5, revents=POLLIN}])
poll([{fd=5, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 1 ([{fd=5, revents=POLLIN|POLLRDNORM}])
recvfrom(5, "HTTP/1.1 200 OK\r\nDate: Fri, 14 A"..., 16384, 0, NULL, NULL) = 236
write(1, "Ok.\n", 4Ok.
)                    = 4
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)
@PromyLOPh
Copy link
Owner

PromyLOPh commented Apr 14, 2017 via email

thedmd pushed a commit to thedmd/pianobar-windows that referenced this issue May 17, 2017
Eventcmd uses both, selStation and selSong. Fixes PromyLOPh#617.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants