error with lu_factorize from boost

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

error with lu_factorize from boost

Sylvain Bertrand
Hi,

Although this is not a quantlib issue, I thought I'd ask here... as I'm using the determinant() and inverse() functions from Matrix, I get the following at runtime (comes from lu_factorize()):

*** glibc detected *** ./a.out: free(): invalid next size (normal): 0x0806b8a0 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7d068f5]
/lib/i686/cmov/libc.so.6(cfree+0x90)[0xb7d0a360]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb7ed4171]
./a.out[0x805d28d]
./a.out[0x8058969]
./a.out[0x8051bcd]
./a.out[0x8057481]
./a.out[0x8057632]
./a.out(__gxx_personality_v0+0x317)[0x804adf7]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7cb1450]
./a.out(__gxx_personality_v0+0xb1)[0x804ab91]
======= Memory map: ========

Has anyone seen this before?
Googling for it didn't help...

Thanks

Sylvain

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: error with lu_factorize from boost

Sylvain Bertrand
Needless to say, I checked that the LU factorization for my matrix exists.
Its determinant is zero.

 
On 7/21/08, Sylvain Bertrand <[hidden email]> wrote:
Hi,

Although this is not a quantlib issue, I thought I'd ask here... as I'm using the determinant() and inverse() functions from Matrix, I get the following at runtime (comes from lu_factorize()):

*** glibc detected *** ./a.out: free(): invalid next size (normal): 0x0806b8a0 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7d068f5]
/lib/i686/cmov/libc.so.6(cfree+0x90)[0xb7d0a360]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb7ed4171]
./a.out[0x805d28d]
./a.out[0x8058969]
./a.out[0x8051bcd]
./a.out[0x8057481]
./a.out[0x8057632]
./a.out(__gxx_personality_v0+0x317)[0x804adf7]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7cb1450]
./a.out(__gxx_personality_v0+0xb1)[0x804ab91]
======= Memory map: ========

Has anyone seen this before?
Googling for it didn't help...

Thanks

Sylvain
 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: error with lu_factorize from boost

Sylvain Bertrand
Its determinant is NOT zero (sorry).

On 7/21/08, Sylvain Bertrand <[hidden email]> wrote:
Needless to say, I checked that the LU factorization for my matrix exists.
Its determinant is zero.

 
On 7/21/08, Sylvain Bertrand <[hidden email]> wrote:
Hi,

Although this is not a quantlib issue, I thought I'd ask here... as I'm using the determinant() and inverse() functions from Matrix, I get the following at runtime (comes from lu_factorize()):

*** glibc detected *** ./a.out: free(): invalid next size (normal): 0x0806b8a0 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7d068f5]
/lib/i686/cmov/libc.so.6(cfree+0x90)[0xb7d0a360]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb7ed4171]
./a.out[0x805d28d]
./a.out[0x8058969]
./a.out[0x8051bcd]
./a.out[0x8057481]
./a.out[0x8057632]
./a.out(__gxx_personality_v0+0x317)[0x804adf7]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7cb1450]
./a.out(__gxx_personality_v0+0xb1)[0x804ab91]
======= Memory map: ========

Has anyone seen this before?
Googling for it didn't help...

Thanks

Sylvain
 



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: error with lu_factorize from boost

Klaus Spanderen-2
In reply to this post by Sylvain Bertrand
Hi

no, haven't had this problems before. Do you have a small example program,
which is generating this error message? This would help debugging..

regards
  Klaus

On Monday 21 July 2008 06:12:15 Sylvain Bertrand wrote:

> Hi,
>
> Although this is not a quantlib issue, I thought I'd ask here... as I'm
> using the determinant() and inverse() functions from Matrix, I get the
> following at runtime (comes from lu_factorize()):
>
> *** glibc detected *** ./a.out: free(): invalid next size (normal):
> 0x0806b8a0 ***
> ======= Backtrace: =========
> /lib/i686/cmov/libc.so.6[0xb7d068f5]
> /lib/i686/cmov/libc.so.6(cfree+0x90)[0xb7d0a360]
> /usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb7ed4171]
> ./a.out[0x805d28d]
> ./a.out[0x8058969]
> ./a.out[0x8051bcd]
> ./a.out[0x8057481]
> ./a.out[0x8057632]
> ./a.out(__gxx_personality_v0+0x317)[0x804adf7]
> /lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7cb1450]
> ./a.out(__gxx_personality_v0+0xb1)[0x804ab91]
> ======= Memory map: ========
>
> Has anyone seen this before?
> Googling for it didn't help...
>
> Thanks
>
> Sylvain



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: error with lu_factorize from boost

Sylvain Bertrand
It turns out one of the matrices I was handling had an improper definition... all solved now.

 
On 7/21/08, Klaus Spanderen <[hidden email]> wrote:
Hi

no, haven't had this problems before. Do you have a small example program,
which is generating this error message? This would help debugging..

regards
Klaus

On Monday 21 July 2008 06:12:15 Sylvain Bertrand wrote:
> Hi,
>
> Although this is not a quantlib issue, I thought I'd ask here... as I'm
> using the determinant() and inverse() functions from Matrix, I get the
> following at runtime (comes from lu_factorize()):
>
> *** glibc detected *** ./a.out: free(): invalid next size (normal):
> 0x0806b8a0 ***
> ======= Backtrace: =========
> /lib/i686/cmov/libc.so.6[0xb7d068f5]
> /lib/i686/cmov/libc.so.6(cfree+0x90)[0xb7d0a360]
> /usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb7ed4171]
> ./a.out[0x805d28d]
> ./a.out[0x8058969]
> ./a.out[0x8051bcd]
> ./a.out[0x8057481]
> ./a.out[0x8057632]
> ./a.out(__gxx_personality_v0+0x317)[0x804adf7]
> /lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7cb1450]
> ./a.out(__gxx_personality_v0+0xb1)[0x804ab91]
> ======= Memory map: ========
>
> Has anyone seen this before?
> Googling for it didn't help...
>
> Thanks
>
> Sylvain




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev