question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DSC extension cause omiagent to segfault

See original GitHub issue

The DSC extension installs dsc-1.1.1-294, that version cause omiagent to segfault as reported at microsoft/omi#641 and https://github.com/microsoft/PowerShell-DSC-for-Linux/issues/601

kernel: omiagent[38051]: segfault at 7fc32135ae00 ip 00007fc32135ae00 sp 00007fc30b106d50 error 14 in libbz2.so.1.0.6[7fc3214e2000+f000]
kernel: omiagent[41342]: segfault at 7f9494872e00 ip 00007f9494872e00 sp 00007f947e736d50 error 14 in libbz2.so.1.0.6[7f94949fa000+f000]                                        
kernel: omiagent[44770]: segfault at 7f3d5a8a4e00 ip 00007f3d5a8a4e00 sp 00007f3d58848d50 error 14 in libbz2.so.1.0.6[7f3d5aa2c000+f000]                                       
kernel: omiagent[48056]: segfault at 7fa116d07e00 ip 00007fa116d07e00 sp 00007fa114cabd50 error 14 in libbz2.so.1.0.6[7fa116e8f000+f000]                                        
kernel: omiagent[51421]: segfault at 7f21017aee00 ip 00007f21017aee00 sp 00007f20eb73fd50 error 14 in libbz2.so.1.0.6[7f2101936000+f000]                                        
kernel: omiagent[54705]: segfault at 7fe09b564e00 ip 00007fe09b564e00 sp 00007fe099508d50 error 14 in libbz2.so.1.0.6[7fe09b6ec000+f000]                                        
kernel: omiagent[58102]: segfault at 7fe40b9e0e00 ip 00007fe40b9e0e00 sp 00007fe409984d50 error 14 in libbz2.so.1.0.6[7fe40bb68000+f000]                                        
kernel: omiagent[61387]: segfault at 7f63425bee00 ip 00007f63425bee00 sp 00007f632bffed50 error 14 in libbz2.so.1.0.6[7f6342746000+f000]                                        
kernel: omiagent[67123]: segfault at 7f2e6883ee00 ip 00007f2e6883ee00 sp 00007f2e52736d50 error 14 in libbz2.so.1.0.6[7f2e689c6000+f000]  

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
eehretcommented, Sep 27, 2020

I noticed that back on October 3, 2019 Microsoft snuck in a blurb on the DSC documentation page saying that DSC and OMS for Linux should not be used together on the same VM: https://github.com/MicrosoftDocs/azure-docs/commit/e58260ef8bf5ab8ffee8d9a1d95b5031cf20c129#diff-e4f18cdc8e305fd463a5813fdc3b199b

Given how long it has been since this issue was reported, I’m wondering is DSC even maintained anymore?

1reaction
johanburaticommented, Sep 27, 2019

The issue is that the DSCForLinux extension install version 1.1.1-294 of the dsc package, this version cause omiagent to segfault. Installing version 1.1.1-926 fixes the issue.

All those cases are related to this issue:

I have already submitted a fix to bump up the version of the dsc package:

I am following up with PG internally for them to merge and push the fix:

Meanwhile you can fix the issue by installing the package manually:

wget https://github.com/microsoft/PowerShell-DSC-for-Linux/releases/download/v1.1.1-926/dsc-1.1.1-926.ssl_098.x64.rpm
yum upgrade dsc-1.1.1-926.ssl_098.x64.rpm -y

I hope this helps.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Azure Log Analytics Linux Agent - Microsoft Learn
Issue: Log Analytics agent extension in the Azure portal is marked with a failed state: Provisioning failed. Probable causes. The Log Analytics ...
Read more >
MSFTOSSMgmt - Bountysource
Created 7 years ago in microsoft/PowerShell-DSC-for-Linux with 1 comments. ... 15 min from a cron job and each time it runs, omiagent crash...
Read more >
Identify what's causing segmentation faults (segfaults)
A segmentation fault (aka segfault) is a common condition that causes programs to crash; they are often associated with a file named core...
Read more >
Additional Guidance Regarding OMI Vulnerabilities within Azure VM ...
[ Additional Guidance Regarding OMI Vulnerabilities within Azure VM Management Extensions Read More »](<https://msrc-blog.microsoft.com/2021/09/16/additional ...
Read more >
DSC Extension for linux. Error in the dsc.py - Stack Overflow
We have tried in our environment and faced the same issue as yours . As a workaround you can try below: Alternative solution...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found