Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 426358

Summary: sys-block/partimage server crashes with pthread error when client attempts to download image
Product: Gentoo Linux Reporter: Justin Chevrier <jchevrier>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: Partimage pthread_mutexattr_t Init Patch

Description Justin Chevrier 2012-07-12 19:12:50 UTC
Created attachment 318020 [details, diff]
Partimage pthread_mutexattr_t Init Patch

Partimaged crashes with the following error (when partimage client attempts to download image):

partimaged: tpp.c:63: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= __sched_fifo_min_prio && new_prio <= __sched_fifo_max_prio)' failed.

This is with a fully up to date system.

Following link discusses requirement to init pthread_mutexattr_t variable (link discusses same error message with a different application).

Attached is a patch that makes the modification identified in the link and when applied resolves this crash on my system.
Comment 1 Conrad Kostecki gentoo-dev 2022-04-02 18:38:53 UTC
This bug ticket is now 8 years open :-) I will close here.
Feel free to re-open, if this persists with current version in tree.