Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 426358 - sys-block/partimage server crashes with pthread error when client attempts to download image
Summary: sys-block/partimage server crashes with pthread error when client attempts to...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-07-12 19:12 UTC by Justin Chevrier
Modified: 2022-04-02 18:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Partimage pthread_mutexattr_t Init Patch (partimage-0.6.9-pthread.patch,440 bytes, patch)
2012-07-12 19:12 UTC, Justin Chevrier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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).

http://www.adamish.com/blog/archives/392

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.