Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • VLC VLC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,434
    • Issues 3,434
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 171
    • Merge requests 171
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLAN
  • VLCVLC
  • Issues
  • #1344
Closed
Open
Created Oct 21, 2007 by Rafaël Carré@funmanDeveloper

ShoutcastTV services discovery is broken

When using the ShoutcastTV, vlc sometimes crashes when opening an item

Could be a race condition.

The cause is an invalid pointer being given to input_ItemAddSubItem() OR the pointer can be valid, but the memory it points to have been freed in the meantime.

Anyway, this is not nice

Core was generated by `/home/fun/vlc/bin/vlc --no-media-library --album-art 0 --services-discovery=ShoutcastTV'.
Program terminated with signal 11, Segmentation fault.
[#0](https://code.videolan.org/videolan/vlc/-/issues/0)  0xb7d1b550 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
(gdb) bt
[#0](https://code.videolan.org/videolan/vlc/-/issues/0)  0xb7d1b550 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
[#1](https://code.videolan.org/videolan/vlc/-/issues/1)  0xb7e0d546 in pthread_mutex_lock () from /lib/tls/i686/cmov/libc.so.6
[#2](https://code.videolan.org/videolan/vlc/-/issues/2)  0xb7f38488 in __vlc_object_lock (obj=0x20)
    at ../../trunk/include/vlc_threads_funcs.h:124
[#3](https://code.videolan.org/videolan/vlc/-/issues/3)  0xb7eb7add in input_item_subitem_added (p_event=0xae54624c, 
    user_data=0x828ac30) at ../../trunk/src/playlist/item.c:53
[#4](https://code.videolan.org/videolan/vlc/-/issues/4)  0xb7f33374 in vlc_event_send (p_em=0x828a960, p_event=0xae54624c)
    at ../../trunk/src/misc/events.c:197
[#5](https://code.videolan.org/videolan/vlc/-/issues/5)  0xadc55378 in Demux (p_demux=0x85e56dc)
    at ../../../../trunk/include/vlc_input.h:164
[#6](https://code.videolan.org/videolan/vlc/-/issues/6)  0xb7ed8570 in MainLoop (p_input=0x85bf434)
    at ../../trunk/src/input/input.c:595
[#7](https://code.videolan.org/videolan/vlc/-/issues/7)  0xb7ed942c in Run (p_input=0x85bf434) at ../../trunk/src/input/input.c:499
[#8](https://code.videolan.org/videolan/vlc/-/issues/8)  0xb7d1946b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
[#9](https://code.videolan.org/videolan/vlc/-/issues/9)  0xb7e0073e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) 

#4 0xb7f33374 in vlc_event_send (p_em=0x828a960, p_event=0xae54624c) at ../../trunk/src/misc/events.c:197

0xae54624c not being a valid pointer => crash

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking

VideoLAN code repository instance