[jira] [Commented] (PROTON-2792) [cpp] Segmentation fault in container::impl::run_timer_jobs

2024-03-19 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/PROTON-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17828588#comment-17828588
 ] 

ASF GitHub Bot commented on PROTON-2792:


astitcher closed pull request #422: PROTON-2792: [C++] check that scheduled 
tasks are active under lock
URL: https://github.com/apache/qpid-proton/pull/422




> [cpp] Segmentation fault in container::impl::run_timer_jobs
> ---
>
> Key: PROTON-2792
> URL: https://issues.apache.org/jira/browse/PROTON-2792
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: cpp-binding
>Affects Versions: proton-c-0.38.0
>Reporter: Martin Zlomek
>Priority: Major
>
> PROTON-2438 introduced a race condition in 
> [reading|https://github.com/DreamPearl/qpid-proton/blob/8142e3cecd9f668992e76a5448afc09fd7b1030a/cpp/src/proactor_container_impl.cpp#L545]
>  / 
> [writing|https://github.com/DreamPearl/qpid-proton/blob/8142e3cecd9f668992e76a5448afc09fd7b1030a/cpp/src/proactor_container_impl.cpp#L547]
>  {{is_active_}} in 
> [{{run_timer_jobs()}}|https://github.com/DreamPearl/qpid-proton/blob/8142e3cecd9f668992e76a5448afc09fd7b1030a/cpp/src/proactor_container_impl.cpp#L498]
>  while modifying it in 
> [{{schedule()}}|https://github.com/DreamPearl/qpid-proton/blob/8142e3cecd9f668992e76a5448afc09fd7b1030a/cpp/src/proactor_container_impl.cpp#L455]
>  or 
> [{{cancel()}}|https://github.com/DreamPearl/qpid-proton/blob/8142e3cecd9f668992e76a5448afc09fd7b1030a/cpp/src/proactor_container_impl.cpp#L473]
>  at the same time.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



Re: [PR] PROTON-2792: [C++] check that scheduled tasks are active under lock [qpid-proton]

2024-03-19 Thread via GitHub


astitcher closed pull request #422: PROTON-2792: [C++] check that scheduled 
tasks are active under lock
URL: https://github.com/apache/qpid-proton/pull/422


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (PROTON-2792) [cpp] Segmentation fault in container::impl::run_timer_jobs

2024-03-19 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PROTON-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17828585#comment-17828585
 ] 

ASF subversion and git services commented on PROTON-2792:
-

Commit df1e9b684c364338faa88abf22921a05804e3b13 in qpid-proton's branch 
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=df1e9b684 ]

PROTON-2792: [C++] Test to ensure that we correctly cancel tasks

Test for cancelling tasks from previous task.


> [cpp] Segmentation fault in container::impl::run_timer_jobs
> ---
>
> Key: PROTON-2792
> URL: https://issues.apache.org/jira/browse/PROTON-2792
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: cpp-binding
>Affects Versions: proton-c-0.38.0
>Reporter: Martin Zlomek
>Priority: Major
>
> PROTON-2438 introduced a race condition in 
> [reading|https://github.com/DreamPearl/qpid-proton/blob/8142e3cecd9f668992e76a5448afc09fd7b1030a/cpp/src/proactor_container_impl.cpp#L545]
>  / 
> [writing|https://github.com/DreamPearl/qpid-proton/blob/8142e3cecd9f668992e76a5448afc09fd7b1030a/cpp/src/proactor_container_impl.cpp#L547]
>  {{is_active_}} in 
> [{{run_timer_jobs()}}|https://github.com/DreamPearl/qpid-proton/blob/8142e3cecd9f668992e76a5448afc09fd7b1030a/cpp/src/proactor_container_impl.cpp#L498]
>  while modifying it in 
> [{{schedule()}}|https://github.com/DreamPearl/qpid-proton/blob/8142e3cecd9f668992e76a5448afc09fd7b1030a/cpp/src/proactor_container_impl.cpp#L455]
>  or 
> [{{cancel()}}|https://github.com/DreamPearl/qpid-proton/blob/8142e3cecd9f668992e76a5448afc09fd7b1030a/cpp/src/proactor_container_impl.cpp#L473]
>  at the same time.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Resolved] (PROTON-2727) [protonj2] Support reading keystore from class path

2024-03-19 Thread Timothy A. Bish (Jira)


 [ 
https://issues.apache.org/jira/browse/PROTON-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy A. Bish resolved PROTON-2727.
-
Fix Version/s: protonj2-1.0.0-M20
   Resolution: Fixed

Added ability to indicate "classpath:" prefix on the store locations values

> [protonj2] Support reading keystore from class path
> ---
>
> Key: PROTON-2727
> URL: https://issues.apache.org/jira/browse/PROTON-2727
> Project: Qpid Proton
>  Issue Type: Improvement
>  Components: protonj2
>Affects Versions: protonj2-1.0.0-M15
>Reporter: Lester Ward
>Assignee: Timothy A. Bish
>Priority: Minor
> Fix For: protonj2-1.0.0-M20
>
>
> It would be useful if {{ConnectionOptions}} allowed you to supply an SSL 
> keystore from a resource on the classpath in some way. One possibility would 
> be:
> {{options.keyStoreLocation("classpath:com/my/thing/ks.p12")}}
> Another option would be adding a method to take a stream or bytes or Reader 
> or something instead of {{String}} for this option.
> Sadly, {{File}} doesn't handle {{classpath:}} URLs on its own.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (PROTON-2727) [protonj2] Support reading keystore from class path

2024-03-19 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PROTON-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17828523#comment-17828523
 ] 

ASF subversion and git services commented on PROTON-2727:
-

Commit 834737d7e24dc17d54bbfaa67ace69f12b95 in qpid-protonj2's branch 
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-protonj2.git;h=8347 ]

PROTON-2727 Allow reading key and trust store files from class path

Use prefix notation to indicate that a store is to be found on the class
path, prefix is 'classpath:' and add some tests for that case.

> [protonj2] Support reading keystore from class path
> ---
>
> Key: PROTON-2727
> URL: https://issues.apache.org/jira/browse/PROTON-2727
> Project: Qpid Proton
>  Issue Type: Improvement
>  Components: protonj2
>Affects Versions: protonj2-1.0.0-M15
>Reporter: Lester Ward
>Assignee: Timothy A. Bish
>Priority: Minor
>
> It would be useful if {{ConnectionOptions}} allowed you to supply an SSL 
> keystore from a resource on the classpath in some way. One possibility would 
> be:
> {{options.keyStoreLocation("classpath:com/my/thing/ks.p12")}}
> Another option would be adding a method to take a stream or bytes or Reader 
> or something instead of {{String}} for this option.
> Sadly, {{File}} doesn't handle {{classpath:}} URLs on its own.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (PROTON-2727) [protonj2] Support reading keystore from class path

2024-03-19 Thread Timothy A. Bish (Jira)


 [ 
https://issues.apache.org/jira/browse/PROTON-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy A. Bish updated PROTON-2727:

Summary: [protonj2] Support reading keystore from class path  (was: Support 
reading keystore from class path)

> [protonj2] Support reading keystore from class path
> ---
>
> Key: PROTON-2727
> URL: https://issues.apache.org/jira/browse/PROTON-2727
> Project: Qpid Proton
>  Issue Type: Improvement
>  Components: protonj2
>Affects Versions: protonj2-1.0.0-M15
>Reporter: Lester Ward
>Assignee: Timothy A. Bish
>Priority: Minor
>
> It would be useful if {{ConnectionOptions}} allowed you to supply an SSL 
> keystore from a resource on the classpath in some way. One possibility would 
> be:
> {{options.keyStoreLocation("classpath:com/my/thing/ks.p12")}}
> Another option would be adding a method to take a stream or bytes or Reader 
> or something instead of {{String}} for this option.
> Sadly, {{File}} doesn't handle {{classpath:}} URLs on its own.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org