Ticket #505 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

segfault with module-hal-detect

Reported by: dr_evil Owned by: lennart
Milestone: Component: daemon
Keywords: Cc: acid_man@…

Description

While testing pulseaudio-0.9.15-test3 i receive a segfault if i use module-hal-detect together with a custom alsa-sink. The sink works if i disable module-hal-detect.
I have this in ~/.pulse/default.pa

load-module module-alsa-sink device=a52encode tsched=0 sink_name=alsa_surround
set-default-sink alsa_surround

And this in ~/.asoundrc

pcm.a52encode {
        type a52;
        channels 6;
        rate 48000;
        bitrate 448;
        hint {
            show on;
            description "A52 Encoded";
        }
}

stack trace is attached i hope it is useful

Attachments

stacktrace.log (8.3 kB) - added by dr_evil 3 years ago.
stacktrace2.log (17.3 kB) - added by dr_evil 3 years ago.
pulseaudio.log (16.4 kB) - added by dr_evil 3 years ago.

Change History

Changed 3 years ago by dr_evil

Changed 3 years ago by dr_evil

  • cc acid_man@… added

Changed 3 years ago by lennart

Please provide the output of pa itself when this happened with -vvvv.

And also provide a full gdb backtrace with all debug symbols installed.

This looks a lot like a bug in the a52 module.

Also on 0.9.15 the profile logic can be used to switch to a52. You need not to configure anything manually. You can simply switch to a52 using the git version of pavucontrol (right most tab "Configuration"). Or use pacmd and the set-card-profile command.

Changed 3 years ago by lennart

  • milestone 0.9.15 deleted

Changed 3 years ago by dr_evil

Changed 3 years ago by dr_evil

Changed 3 years ago by dr_evil

I'm not sure if this can be ever debugged. I get different traces all the time as it looks. I have attached the last one and the output from pulseaudio itself.

Maybe i should get used on the new profile stuff then anyway - but for this i would need pulseaudios latest git, right?

Changed 3 years ago by dr_evil

  • status changed from new to closed
  • resolution set to invalid

I had a look again on this. Looks like it was really a problem with my alsa setup. I changed now my config to a state were i don't get a segfault anymore. hence i will close the bug.

Note: See TracTickets for help on using tickets.