Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault in Unittest: Rotary.hugeFilterSequential #14174

Closed
daschuer opened this issue Jan 15, 2025 · 5 comments · Fixed by #14176
Closed

Segfault in Unittest: Rotary.hugeFilterSequential #14174

daschuer opened this issue Jan 15, 2025 · 5 comments · Fixed by #14176
Assignees

Comments

@daschuer
Copy link
Member

Bug Description

This happens in our Launchpad PPA:

https://launchpadlibrarian.net/770633160/buildlog_ubuntu-oracular-amd64.mixxx_2.6~alpha~178~g61178b6243-1~oracular_BUILDING.txt.gz

test 615
        Start 615: Rotary.hugeFilterSequential

615: Test command: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/mixxx-test "--gtest_filter=Rotary.hugeFilterSequential" "--logLevel" "info"
615: Working Directory: /<<PKGBUILDDIR>>
615: Environment variables: 
615:  QT_QPA_PLATFORM=offscreen
615: Test timeout computed to be: 1500
615: Note: Google Test filter = Rotary.hugeFilterSequential
615: [==========] Running 1 test from 1 test suite.
615: [----------] Global test environment set-up.
615: [----------] 1 test from Rotary
615: [ RUN      ] Rotary.hugeFilterSequential

Test #615: Rotary.hugeFilterSequential ...........................................................................***Exception: SegFault  0.22 sec
Note: Google Test filter = Rotary.hugeFilterSequential
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from Rotary
[ RUN      ] Rotary.hugeFilterSequential

The following tests FAILED:
	615 - Rotary.hugeFilterSequential (SEGFAULT)

Version

2.6

OS

Ubuntu Oracular

@daschuer daschuer added the bug label Jan 15, 2025
@daschuer
Copy link
Member Author

Introduced here: #13968

@Swiftb0y
Copy link
Member

I'd need a backtrace. I can't tell whats wrong...

@Swiftb0y Swiftb0y self-assigned this Jan 15, 2025
@daschuer
Copy link
Member Author

Ubuntu Plucky is also affected:
https://launchpadlibrarian.net/770841125/buildlog_ubuntu-plucky-amd64.mixxx_2.6~alpha~180~g90e62ad71b-1~plucky_BUILDING.txt.gz

I am not able to create a backtrace, because I am still on Ubuntu Jammy. Can one else reproduce the issue?

@Eve00000
Copy link
Contributor

Eve00000 commented Jan 16, 2025

Can you please explain to interested non-linux users what the problem is?

@daschuer
Copy link
Member Author

I think the issue is a uninitalized variable in our Rotary ring bus. If it has by chance a value not in the allowed range a segfault occours.
This chance happens during the unittets on Launchpad, but may happen on any build on yony traget during runtime. A partystopper if you wish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants