View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000210 | bareos-core | file daemon | public | 2013-07-19 11:05 | 2016-03-28 22:10 |
Reporter | mvwieringen | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | amd64 | OS | Windows | OS Version | Server 2003 |
Product Version | 12.4.5 | ||||
Fixed in Version | 12.4.5 | ||||
Summary | 0000210: Filed doesn't respond to first connection after start. | ||||
Description | It seems the filed doesn't respond to the first connection made after starting it. Any next connection works but the first seems to be dead. | ||||
Tags | No tags attached. | ||||
Doesn't seem to be the windows firewall as disabling it doesn't help. | |
Fix committed to bareos bareos-13.2 branch with changesetid 1036. | |
Fix committed to bareos2015 bareos-14.2 branch with changesetid 5075. | |
Due to the reimport of the Github repository to bugs.bareos.org, the status of some tickets have been changed. These tickets will be closed again. Sorry for the noise. |
|
bareos: master 37b68af7 2013-08-02 15:45
Ported: N/A Details Diff |
Filed doesn't respond to first connection after start. The setup of the thread specific key is flawed. In essence its setup twice (once via the init_msg() call and once via the pthread_once call in jcr.c). This new code fixes that by: - Setup thread specific data key only once. - Use pthread_key_create_once_np when available. This is a non portable but cleaner implementation of both a pthread_once() and a pthread_key_create(). - For Windows use a workaround around pthread_once() as that seems to hang for unknown reason. Now we use a boolean protected by an mutex to make sure the setup is only done once. Fixes 0000210: Filed doesn't respond to first connection after start. |
Affected Issues 0000210 |
|
mod - src/lib/message.c | Diff File | ||
mod - src/lib/jcr.c | Diff File | ||
bareos: bareos-12.4 a55b07b6 2013-08-02 15:45
Ported: N/A Details Diff |
Filed doesn't respond to first connection after start. The setup of the thread specific key is flawed. In essence its setup twice (once via the init_msg() call and once via the pthread_once call in jcr.c). This new code fixes that by: - Setup thread specific data key only once. - Use pthread_key_create_once_np when available. This is a non portable but cleaner implementation of both a pthread_once() and a pthread_key_create(). - For Windows use a workaround around pthread_once() as that seems to hang for unknown reason. Now we use a boolean protected by an mutex to make sure the setup is only done once. Fixes 0000210: Filed doesn't respond to first connection after start. |
Affected Issues 0000210 |
|
mod - src/lib/jcr.c | Diff File | ||
mod - src/lib/message.c | Diff File | ||
bareos: bareos-13.2 6cba513c 2013-08-02 15:45
Ported: N/A Details Diff |
Filed doesn't respond to first connection after start. The setup of the thread specific key is flawed. In essence its setup twice (once via the init_msg() call and once via the pthread_once call in jcr.c). This new code fixes that by: - Setup thread specific data key only once. - Use pthread_key_create_once_np when available. This is a non portable but cleaner implementation of both a pthread_once() and a pthread_key_create(). - For Windows use a workaround around pthread_once() as that seems to hang for unknown reason. Now we use a boolean protected by an mutex to make sure the setup is only done once. Fixes 0000210: Filed doesn't respond to first connection after start. |
Affected Issues 0000210 |
|
mod - src/lib/jcr.c | Diff File | ||
mod - src/lib/message.c | Diff File | ||
bareos2015: bareos-12.4 689e3335 2013-08-02 17:45 Ported: N/A Details Diff |
Filed doesn't respond to first connection after start. The setup of the thread specific key is flawed. In essence its setup twice (once via the init_msg() call and once via the pthread_once call in jcr.c). This new code fixes that by: - Setup thread specific data key only once. - Use pthread_key_create_once_np when available. This is a non portable but cleaner implementation of both a pthread_once() and a pthread_key_create(). - For Windows use a workaround around pthread_once() as that seems to hang for unknown reason. Now we use a boolean protected by an mutex to make sure the setup is only done once. Fixes 0000210: Filed doesn't respond to first connection after start. |
Affected Issues 0000210 |
|
mod - src/lib/jcr.c | Diff File | ||
mod - src/lib/message.c | Diff File | ||
bareos2015: bareos-13.2 0f62233d 2013-08-02 17:45 Ported: N/A Details Diff |
Filed doesn't respond to first connection after start. The setup of the thread specific key is flawed. In essence its setup twice (once via the init_msg() call and once via the pthread_once call in jcr.c). This new code fixes that by: - Setup thread specific data key only once. - Use pthread_key_create_once_np when available. This is a non portable but cleaner implementation of both a pthread_once() and a pthread_key_create(). - For Windows use a workaround around pthread_once() as that seems to hang for unknown reason. Now we use a boolean protected by an mutex to make sure the setup is only done once. Fixes 0000210: Filed doesn't respond to first connection after start. |
Affected Issues 0000210 |
|
mod - src/lib/jcr.c | Diff File | ||
mod - src/lib/message.c | Diff File | ||
bareos2015: bareos-14.2 10347c41 2013-08-02 17:45 Ported: N/A Details Diff |
Filed doesn't respond to first connection after start. The setup of the thread specific key is flawed. In essence its setup twice (once via the init_msg() call and once via the pthread_once call in jcr.c). This new code fixes that by: - Setup thread specific data key only once. - Use pthread_key_create_once_np when available. This is a non portable but cleaner implementation of both a pthread_once() and a pthread_key_create(). - For Windows use a workaround around pthread_once() as that seems to hang for unknown reason. Now we use a boolean protected by an mutex to make sure the setup is only done once. Fixes 0000210: Filed doesn't respond to first connection after start. |
Affected Issues 0000210 |
|
mod - src/lib/jcr.c | Diff File | ||
mod - src/lib/message.c | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-07-19 11:05 | mvwieringen | New Issue | |
2013-07-19 16:02 | maik | Status | new => acknowledged |
2013-07-20 11:41 | mvwieringen | Note Added: 0000540 | |
2013-08-02 19:51 | mvwieringen | Changeset attached | => bareos bareos-13.2 df6fcfcf |
2013-08-02 19:51 | mvwieringen | Changeset attached | => bareos master 7a54dead |
2013-08-02 19:51 | mvwieringen | Assigned To | => mvwieringen |
2013-08-02 19:51 | mvwieringen | Status | acknowledged => resolved |
2013-08-02 19:51 | mvwieringen | Resolution | open => fixed |
2013-08-02 19:51 | mvwieringen | Assigned To | => mvwieringen |
2013-08-02 19:51 | mvwieringen | Status | acknowledged => resolved |
2013-08-02 19:51 | mvwieringen | Resolution | open => fixed |
2013-08-02 19:51 | mvwieringen | Changeset attached | => bareos bareos-12.4 ffed92ad |
2013-08-02 19:56 |
|
Assigned To | mvwieringen => |
2013-08-02 19:56 |
|
Status | resolved => closed |
2013-08-02 19:56 |
|
Product Version | 13.3.0 => 12.4.5 |
2013-08-02 19:56 |
|
Fixed in Version | => 12.4.5 |
2013-08-13 03:12 |
|
Changeset attached | => bareos master 37b68af7 |
2013-08-13 03:12 |
|
Changeset attached | => bareos bareos-12.4 a55b07b6 |
2013-08-13 03:12 |
|
Changeset attached | => bareos bareos-13.2 6cba513c |
2013-08-13 03:12 |
|
Note Added: 0000571 | |
2013-08-13 03:12 |
|
Assigned To | => mvwieringen adm |
2013-08-13 03:12 |
|
Status | closed => resolved |
2013-09-05 17:14 | mvwieringen | Status | resolved => closed |
2015-03-25 16:51 | mvwieringen | Changeset attached | => bareos2015 bareos-12.4 689e3335 |
2015-03-25 16:51 | mvwieringen | Changeset attached | => bareos2015 bareos-13.2 0f62233d |
2015-03-25 16:51 | mvwieringen | Changeset attached | => bareos2015 bareos-14.2 10347c41 |
2015-03-25 16:51 | mvwieringen | Note Added: 0001365 | |
2015-03-25 16:51 | mvwieringen | Status | closed => resolved |
2015-03-25 19:18 | joergs | Note Added: 0001519 | |
2015-03-25 19:18 | joergs | Status | resolved => closed |