[jira] [Commented] (XERCESC-2173) Application crashes with an error as "A wrong parameter was passed to a service or function"

2019-12-09 Thread Scott Cantor (Jira)


[ 
https://issues.apache.org/jira/browse/XERCESC-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16991805#comment-16991805
 ] 

Scott Cantor commented on XERCESC-2173:
---

Being that this ins a cleanup routine, I suspect you're not cleaning the 
library up in a controlled way and it's having order of shutdown issues. But 
that's just a guess?

> Application crashes with an error as "A wrong parameter was passed to a 
> service or function"
> 
>
> Key: XERCESC-2173
> URL: https://issues.apache.org/jira/browse/XERCESC-2173
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Utilities
>Affects Versions: 3.2.2
> Environment: Windows
>Reporter: Samrin
>Priority: Critical
> Attachments: Crash_Call_Stack.png
>
>
> Hi All,
> We have an application which uses the latest xerces C++ 3.2.2 version. Upon 
> running the application when we press CTRL+C it crashes leading to error 
> message as "A wrong parameter was sent to service or function". This error 
> message is thrown in ntdll.dll file. 
> The call stack is attached for reference. Any help would be appreciated.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (XERCESC-2173) Application crashes with an error as "A wrong parameter was passed to a service or function"

2019-08-16 Thread Samrin (JIRA)


[ 
https://issues.apache.org/jira/browse/XERCESC-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908808#comment-16908808
 ] 

Samrin commented on XERCESC-2173:
-

[~rleigh], Any further help provided ?

> Application crashes with an error as "A wrong parameter was passed to a 
> service or function"
> 
>
> Key: XERCESC-2173
> URL: https://issues.apache.org/jira/browse/XERCESC-2173
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Utilities
>Affects Versions: 3.2.2
> Environment: Windows
>Reporter: Samrin
>Priority: Critical
> Attachments: Crash_Call_Stack.png
>
>
> Hi All,
> We have an application which uses the latest xerces C++ 3.2.2 version. Upon 
> running the application when we press CTRL+C it crashes leading to error 
> message as "A wrong parameter was sent to service or function". This error 
> message is thrown in ntdll.dll file. 
> The call stack is attached for reference. Any help would be appreciated.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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



[jira] [Commented] (XERCESC-2173) Application crashes with an error as "A wrong parameter was passed to a service or function"

2019-08-04 Thread Samrin (JIRA)


[ 
https://issues.apache.org/jira/browse/XERCESC-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16899764#comment-16899764
 ] 

Samrin commented on XERCESC-2173:
-

Hi [~rleigh], Thanks for the quick update. 

The problem doesn't seem to happen in debug build. It works fine there. Only 
release build the issue is reproduced.

I will surely try out the alternatives and see if that will fix the issue and 
update the same.

> Application crashes with an error as "A wrong parameter was passed to a 
> service or function"
> 
>
> Key: XERCESC-2173
> URL: https://issues.apache.org/jira/browse/XERCESC-2173
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Utilities
>Affects Versions: 3.2.2
> Environment: Windows
>Reporter: Samrin
>Priority: Critical
> Attachments: Crash_Call_Stack.png
>
>
> Hi All,
> We have an application which uses the latest xerces C++ 3.2.2 version. Upon 
> running the application when we press CTRL+C it crashes leading to error 
> message as "A wrong parameter was sent to service or function". This error 
> message is thrown in ntdll.dll file. 
> The call stack is attached for reference. Any help would be appreciated.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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



[jira] [Commented] (XERCESC-2173) Application crashes with an error as "A wrong parameter was passed to a service or function"

2019-08-02 Thread Roger Leigh (JIRA)


[ 
https://issues.apache.org/jira/browse/XERCESC-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16899133#comment-16899133
 ] 

Roger Leigh commented on XERCESC-2173:
--

The stack trace isn't too useful as is--it's not possible to see exactly where 
the error occurred.  There are a few overloaded methods for loadMsg, and it's 
not clear which was at fault, or where.  Please could you repeat with a Debug 
build?

Looking at where the fault might be triggered, the most likely candidate is the 
transcoder.  It might be worth trying an alternative one.  The ICU, GNU iconv 
and MacOS transcoders all use a mutex.

The fault is in locking a critical section, and it looks like you're using 
VS2013.  I have a vague recollection that I've seen this issue before, and that 
it's a bug in the MSVC runtime.  I'm certainly not seeing any problems of this 
nature with VS2015, VS2017 or VS2019.  Part of the problem might be in 
creating/locking the mutex during the final stages of process shutdown.

I hope that provides some pointers.

> Application crashes with an error as "A wrong parameter was passed to a 
> service or function"
> 
>
> Key: XERCESC-2173
> URL: https://issues.apache.org/jira/browse/XERCESC-2173
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Utilities
>Affects Versions: 3.2.2
> Environment: Windows
>Reporter: Samrin
>Priority: Critical
> Attachments: Crash_Call_Stack.png
>
>
> Hi All,
> We have an application which uses the latest xerces C++ 3.2.2 version. Upon 
> running the application when we press CTRL+C it crashes leading to error 
> message as "A wrong parameter was sent to service or function". This error 
> message is thrown in ntdll.dll file. 
> The call stack is attached for reference. Any help would be appreciated.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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



[jira] [Commented] (XERCESC-2173) Application crashes with an error as "A wrong parameter was passed to a service or function"

2019-08-02 Thread Samrin (JIRA)


[ 
https://issues.apache.org/jira/browse/XERCESC-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16898691#comment-16898691
 ] 

Samrin commented on XERCESC-2173:
-

Any help on this behavior ?

> Application crashes with an error as "A wrong parameter was passed to a 
> service or function"
> 
>
> Key: XERCESC-2173
> URL: https://issues.apache.org/jira/browse/XERCESC-2173
> Project: Xerces-C++
>  Issue Type: Bug
>  Components: Utilities
>Affects Versions: 3.2.2
> Environment: Windows
>Reporter: Samrin
>Priority: Critical
> Attachments: Crash_Call_Stack.png
>
>
> Hi All,
> We have an application which uses the latest xerces C++ 3.2.2 version. Upon 
> running the application when we press CTRL+C it crashes leading to error 
> message as "A wrong parameter was sent to service or function". This error 
> message is thrown in ntdll.dll file. 
> The call stack is attached for reference. Any help would be appreciated.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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