IgmpProxy segfaults without noticeable impact so far
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Maintainer: @nbd168
Environment: OpenWrt 22.03.3 x86 running in a QEMU virtual machine
Description:
Hi,
From time to time in the kernel log I can see this kind of messages:
[192496.775752] igmpproxy[29279]: segfault at 7fb635069060 ip 000000000040628f sp 00007fffeb17cb20 error 6 in igmpproxy[402000+5000]
[192496.777708] Code: b7 6a 00 00 eb 0c 48 89 02 48 85 c0 74 04 48 89 50 08 48 89 df ff 15 78 4d 00 00 bf 50 89 40 00 e8 78 f8 ff ff b8 01 00 00 00 <c7> 43 30 00 00 00 00 5a 5b 5d c3 51 e8 4f f2 ff ff 48 89 c7 31 c0
[290894.250976] igmpproxy[18451]: segfault at 7f17dd79f1b0 ip 000000000040628f sp 00007ffc1acbf8a0 error 6 in igmpproxy[402000+5000]
[290894.252696] Code: b7 6a 00 00 eb 0c 48 89 02 48 85 c0 74 04 48 89 50 08 48 89 df ff 15 78 4d 00 00 bf 50 89 40 00 e8 78 f8 ff ff b8 01 00 00 00 <c7> 43 30 00 00 00 00 5a 5b 5d c3 51 e8 4f f2 ff ff 48 89 c7 31 c0
[379414.609013] igmpproxy[6123]: segfault at 7f0829847060 ip 000000000040628f sp 00007fff20f2cae0 error 6 in igmpproxy[402000+5000]
[379414.612003] Code: b7 6a 00 00 eb 0c 48 89 02 48 85 c0 74 04 48 89 50 08 48 89 df ff 15 78 4d 00 00 bf 50 89 40 00 e8 78 f8 ff ff b8 01 00 00 00 <c7> 43 30 00 00 00 00 5a 5b 5d c3 51 e8 4f f2 ff ff 48 89 c7 31 c0
When watching TV, I do not see any visible impact like freezes or macro-blocks. I will try to see if this is linked with the action of putting the STB in sleep mode or any other event by increasing verbosity of the daemon.
My configuration is this one:
config igmpproxy
option quickleave 1
option verbose 2
config phyint
option network wan
option zone wan
option direction upstream
list altnet 193.251.97.0/24
list altnet 89.86.97.0/24
list altnet 89.86.96.0/24
config phyint
option network lan
option zone lan
option direction downstream
list altnet 192.168.1.0/24
As a side note, my ISP is Bouygues Telecom and all the traffic on the WAN interface is going out on the VLAN 100 and all the outgoing IGMP packets have to be marked with a p5 cos in order to have access to multicast fluxes.
Cheers,
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the repeated igmpproxy crashes from the kernel log using the supplied OpenWrt configuration, increasing the daemon verbosity as suggested. No repository file or test is named; done would require identifying the crash path, preventing the segfault, and verifying that multicast streaming remains functional without repeated crashes.
Written by the indexing model from the issue text.
Assessment
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100