Steve Cookson
2014-09-26 16:50:31 UTC
Hi Guys,
I have a working modification in wx 2.8.11 to display Bitmap Headers and
footers in RTC that I am transferring to 3.0.1.
In 2.8.11 I have:
private:
wxRichTextBuffer* m_richTextBuffer;
// Set buffers for headers and footers (Both firstpage and
continuation pages).
wxRichTextBuffer* m_firstpageHeaderBuffer;
wxRichTextBuffer* m_firstpageFooterBuffer;
wxRichTextBuffer* m_continuationHeaderBuffer;
wxRichTextBuffer* m_continuationFooterBuffer;
Which compiles without for both error in both 2.8.11 and 3.0.1, in
2.8.11 it leads to a whole area of functionality around bitmap headers
and footers. In 3.0.1, it compiles ok and then gives me a runtime error:
*** Error in `/usr/bin/perl': malloc(): memory corruption:
0x0000000004e939f0 ***
Aborted (core dumped)
If I start gdb against the core dump I find:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/perl -w /usr/local/bin/wxperl_demo.pl'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007fc1826f7bb9 in __GI_raise (sig=***@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
As the message says, there is no file called raise.c on my machine.
A quick Google shows this:
"The assert macro is calling (probably indirectly) a function called
raise. This is happening inside a library that you are linking with your
code. When that library was compiled (on some other machine) there was a
file called '../nptl/sysdeps/unix/sysv/linux/raise.c', but now when it's
running on your machine that file no longer exists. If you want to make
this error go away then you probably have to download the source code
for this library."
Any suggestions?
Thanks
Steve.
I have a working modification in wx 2.8.11 to display Bitmap Headers and
footers in RTC that I am transferring to 3.0.1.
In 2.8.11 I have:
private:
wxRichTextBuffer* m_richTextBuffer;
// Set buffers for headers and footers (Both firstpage and
continuation pages).
wxRichTextBuffer* m_firstpageHeaderBuffer;
wxRichTextBuffer* m_firstpageFooterBuffer;
wxRichTextBuffer* m_continuationHeaderBuffer;
wxRichTextBuffer* m_continuationFooterBuffer;
Which compiles without for both error in both 2.8.11 and 3.0.1, in
2.8.11 it leads to a whole area of functionality around bitmap headers
and footers. In 3.0.1, it compiles ok and then gives me a runtime error:
*** Error in `/usr/bin/perl': malloc(): memory corruption:
0x0000000004e939f0 ***
Aborted (core dumped)
If I start gdb against the core dump I find:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/perl -w /usr/local/bin/wxperl_demo.pl'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007fc1826f7bb9 in __GI_raise (sig=***@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
As the message says, there is no file called raise.c on my machine.
A quick Google shows this:
"The assert macro is calling (probably indirectly) a function called
raise. This is happening inside a library that you are linking with your
code. When that library was compiled (on some other machine) there was a
file called '../nptl/sysdeps/unix/sysv/linux/raise.c', but now when it's
running on your machine that file no longer exists. If you want to make
this error go away then you probably have to download the source code
for this library."
Any suggestions?
Thanks
Steve.
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users