You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Paul Thomas (JIRA)" <xa...@xml.apache.org> on 2005/03/08 17:07:52 UTC

[jira] Created: (XALANC-462) Memory Management Issues: The assert subroutine failed: m_memoryManager != 0

Memory Management Issues: The assert subroutine failed: m_memoryManager != 0
----------------------------------------------------------------------------

         Key: XALANC-462
         URL: http://issues.apache.org/jira/browse/XALANC-462
     Project: XalanC
        Type: Bug
  Components: XalanC  
    Versions: 1.9    
 Environment: Platform: AIX Software: Xerces2.6 & Xalan1.9
    Reporter: Paul Thomas


I am currently upgrading our versions of xalan and xerces and have begun testing. After a few initial build problems, which have been addressed in a previous post. I have encountered a problem at runtime with the memory manager. An assertion error is always thrown regardless:

The assert subroutine failed: m_memoryManager != 0, XalanVector.hpp Line 944.

This error is invoked when I try and create an instance of a XalanDOMString(), as I noticed it retrieves a default memory manager within its parameter list. The exact syntax I use in the call is:

XalanDOMString string1 = XalanDOMString(text); // text being of the type const char *.

What puzzles me is that I do have the following calls in my code:

XMLPlatformUtils::Initialize()
XalanTransformer::initialize()

With the first generating a default memory manager?

If anyone could provide me with any guidance I would appreciate it. I hope I have posted this message onto the correct forum also.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Re: [jira] Created: (XALANC-462) Memory Management Issues: The assert subroutine failed: m_memoryManager != 0

Posted by Dmitry Hayes <dm...@ca.ibm.com>.
Hi !
The memory manager is generated with XMLPlatformUtils::Initialize() 
function .
You can't make any call to XalanDOMString contractors before you have 
called to the both "Initialize" functions.
Thanks!
Dmitry Hayes
XSLT  Development
IBM Toronto Lab
Phone:  905-413-3820
E-mail:  dmitryh@ca.ibm.com



"Paul Thomas (JIRA)" <xa...@xml.apache.org> 
03/08/2005 11:07 AM
Please respond to
xalan-dev


To
xalan-dev@xml.apache.org
cc

Subject
[jira] Created: (XALANC-462) Memory Management Issues: The assert 
subroutine failed: m_memoryManager != 0






Memory Management Issues: The assert subroutine failed: m_memoryManager != 
0
----------------------------------------------------------------------------

         Key: XALANC-462
         URL: http://issues.apache.org/jira/browse/XALANC-462
     Project: XalanC
        Type: Bug
  Components: XalanC 
    Versions: 1.9 
 Environment: Platform: AIX Software: Xerces2.6 & Xalan1.9
    Reporter: Paul Thomas


I am currently upgrading our versions of xalan and xerces and have begun 
testing. After a few initial build problems, which have been addressed in 
a previous post. I have encountered a problem at runtime with the memory 
manager. An assertion error is always thrown regardless:

The assert subroutine failed: m_memoryManager != 0, XalanVector.hpp Line 
944.

This error is invoked when I try and create an instance of a 
XalanDOMString(), as I noticed it retrieves a default memory manager 
within its parameter list. The exact syntax I use in the call is:

XalanDOMString string1 = XalanDOMString(text); // text being of the type 
const char *.

What puzzles me is that I do have the following calls in my code:

XMLPlatformUtils::Initialize()
XalanTransformer::initialize()

With the first generating a default memory manager?

If anyone could provide me with any guidance I would appreciate it. I hope 
I have posted this message onto the correct forum also.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org



[jira] Commented: (XALANC-462) Memory Management Issues: The assert subroutine failed: m_memoryManager != 0

Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANC-462?page=comments#action_62529 ]
     
David Bertoni commented on XALANC-462:
--------------------------------------

I believe this bug is a result of terminating the libraries before all existing objects were destroyed.  Can you please confirm you are no longer seeing this problem?

> Memory Management Issues: The assert subroutine failed: m_memoryManager != 0
> ----------------------------------------------------------------------------
>
>          Key: XALANC-462
>          URL: http://issues.apache.org/jira/browse/XALANC-462
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: 1.9
>  Environment: Platform: AIX Software: Xerces2.6 & Xalan1.9
>     Reporter: Paul Thomas

>
> I am currently upgrading our versions of xalan and xerces and have begun testing. After a few initial build problems, which have been addressed in a previous post. I have encountered a problem at runtime with the memory manager. An assertion error is always thrown regardless:
> The assert subroutine failed: m_memoryManager != 0, XalanVector.hpp Line 944.
> This error is invoked when I try and create an instance of a XalanDOMString(), as I noticed it retrieves a default memory manager within its parameter list. The exact syntax I use in the call is:
> XalanDOMString string1 = XalanDOMString(text); // text being of the type const char *.
> What puzzles me is that I do have the following calls in my code:
> XMLPlatformUtils::Initialize()
> XalanTransformer::initialize()
> With the first generating a default memory manager?
> If anyone could provide me with any guidance I would appreciate it. I hope I have posted this message onto the correct forum also.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Closed: (XALANC-462) Memory Management Issues: The assert subroutine failed: m_memoryManager != 0

Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANC-462?page=all ]
     
David Bertoni closed XALANC-462:
--------------------------------


> Memory Management Issues: The assert subroutine failed: m_memoryManager != 0
> ----------------------------------------------------------------------------
>
>          Key: XALANC-462
>          URL: http://issues.apache.org/jira/browse/XALANC-462
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: 1.9
>  Environment: Platform: AIX Software: Xerces2.6 & Xalan1.9
>     Reporter: Paul Thomas

>
> I am currently upgrading our versions of xalan and xerces and have begun testing. After a few initial build problems, which have been addressed in a previous post. I have encountered a problem at runtime with the memory manager. An assertion error is always thrown regardless:
> The assert subroutine failed: m_memoryManager != 0, XalanVector.hpp Line 944.
> This error is invoked when I try and create an instance of a XalanDOMString(), as I noticed it retrieves a default memory manager within its parameter list. The exact syntax I use in the call is:
> XalanDOMString string1 = XalanDOMString(text); // text being of the type const char *.
> What puzzles me is that I do have the following calls in my code:
> XMLPlatformUtils::Initialize()
> XalanTransformer::initialize()
> With the first generating a default memory manager?
> If anyone could provide me with any guidance I would appreciate it. I hope I have posted this message onto the correct forum also.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Resolved: (XALANC-462) Memory Management Issues: The assert subroutine failed: m_memoryManager != 0

Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANC-462?page=all ]
     
David Bertoni resolved XALANC-462:
----------------------------------

    Resolution: Cannot Reproduce

> Memory Management Issues: The assert subroutine failed: m_memoryManager != 0
> ----------------------------------------------------------------------------
>
>          Key: XALANC-462
>          URL: http://issues.apache.org/jira/browse/XALANC-462
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: 1.9
>  Environment: Platform: AIX Software: Xerces2.6 & Xalan1.9
>     Reporter: Paul Thomas

>
> I am currently upgrading our versions of xalan and xerces and have begun testing. After a few initial build problems, which have been addressed in a previous post. I have encountered a problem at runtime with the memory manager. An assertion error is always thrown regardless:
> The assert subroutine failed: m_memoryManager != 0, XalanVector.hpp Line 944.
> This error is invoked when I try and create an instance of a XalanDOMString(), as I noticed it retrieves a default memory manager within its parameter list. The exact syntax I use in the call is:
> XalanDOMString string1 = XalanDOMString(text); // text being of the type const char *.
> What puzzles me is that I do have the following calls in my code:
> XMLPlatformUtils::Initialize()
> XalanTransformer::initialize()
> With the first generating a default memory manager?
> If anyone could provide me with any guidance I would appreciate it. I hope I have posted this message onto the correct forum also.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org