Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pipewire pipewire
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 584
    • Issues 584
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 23
    • Merge requests 23
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PipeWirePipeWire
  • pipewirepipewire
  • Issues
  • #295
Closed
Open
Issue created Sep 15, 2020 by Oschowa@OschowaContributor

pactl info segfaults

When running pactl info against pipewire from the build directory with pw-uninstalled.sh, pactl info crashes in pipewire code with the following backtrace:

(gdb) run info
Starting program: /usr/bin/pactl info
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
pw_properties_iterate (properties=0x7ffff7d7de40 <pa_idxset_string_hash_func>, state=0x7fffffffdd90) at ../src/pipewire/properties.c:496
496		return pw_array_get_unchecked(&impl->items, index, struct spa_dict_item)->key;
(gdb) bt
#0  pw_properties_iterate (properties=0x7ffff7d7de40 <pa_idxset_string_hash_func>, state=0x7fffffffdd90) at ../src/pipewire/properties.c:496
#1  0x00007ffff7d1a09f in pa_proplist_iterate (p=0x55555556bf30, state=0x7fffffffdd90) at ../pipewire-pulseaudio/src/proplist.c:241
#2  0x00007ffff7d1a8a6 in pw_properties_update_proplist (props=0x555555574910, p=0x55555556bf30) at ../pipewire-pulseaudio/src/proplist.c:394
#3  0x00007ffff7cfa6e3 in pa_context_new_with_proplist (mainloop=0x55555556c380, name=0x0, p=0x55555556bf30)
    at ../pipewire-pulseaudio/src/context.c:1542
#4  0x0000555555557521 in main ()

I've tried to print out the values of index and the length of the impl->items array before the crash and I get: index 0 len 1046907865865642224

Other pulseaudio applications like pavucontrol however work this way (pulseaudio server is disabled systemwide).

pipewire log: pw.log

Assignee
Assign to
Time tracking