Nerijus Baliunas | 9 Sep 2009 17:09
Picon

compile error with wx svn

Hello,

.src/classes/MessageView.cpp: In member function 'bool MessageView::LaunchProcess(const String&,
const String&, const String&)':
.src/classes/MessageView.cpp:4040: warning: suggest explicit braces to avoid ambiguous 'else'
In file included from /a/M/wxWindows.29/wxWidgets/include/wx/vector.h:25,
                 from /a/M/wxWindows.29/wxWidgets/include/wx/html/htmlpars.h:20,
                 from /a/M/wxWindows.29/wxWidgets/include/wx/html/winpars.h:18,
                 from /a/M/wxWindows.29/wxWidgets/include/wx/html/htmlwin.h:20,
                 from /a/M/wxWindows.29/wxWidgets/include/wx/html/helpfrm.h:31,
                 from /a/M/wxWindows.29/wxWidgets/include/wx/html/helpctrl.h:20,
                 from /a/M/wxWindows.29/wxWidgets/include/wx/help.h:36,
                 from .src/../include/Mpch.h:29:
/a/M/wxWindows.29/wxWidgets/include/wx/scopeguard.h: In function 'void
wxPrivate::OnScopeExit(ScopeGuardImpl&) [with ScopeGuardImpl = wxScopeGuardImpl1<void
(*)(void**), void**≥]':
/a/M/wxWindows.29/wxWidgets/include/wx/scopeguard.h:177:   instantiated from
'wxScopeGuardImpl1<F, P1>::~wxScopeGuardImpl1() [with F = void (*)(void**), P1 = void**]'
.src/classes/MessageView.cpp:1796:   instantiated from here
/a/M/wxWindows.29/wxWidgets/include/wx/scopeguard.h:78: error: exception handling disabled, use
-fexceptions to enable
make[1]: *** [classes/MessageView.o] Error 1

Regards,
Nerijus

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
(Continue reading)

Vadim Zeitlin | 9 Sep 2009 17:35
Favicon

Re: compile error with wx svn

On Wed, 9 Sep 2009 18:09:12 +0300 Nerijus Baliunas <nerijus <at> users.sourceforge.net> wrote:

NB> /a/M/wxWindows.29/wxWidgets/include/wx/scopeguard.h: In function 'void
wxPrivate::OnScopeExit(ScopeGuardImpl&) [with ScopeGuardImpl = wxScopeGuardImpl1<void
(*)(void**), void**≥]':
NB> /a/M/wxWindows.29/wxWidgets/include/wx/scopeguard.h:177:   instantiated from
'wxScopeGuardImpl1<F, P1>::~wxScopeGuardImpl1() [with F = void (*)(void**), P1 = void**]'
NB> .src/classes/MessageView.cpp:1796:   instantiated from here
NB> /a/M/wxWindows.29/wxWidgets/include/wx/scopeguard.h:78: error: exception handling disabled,
use -fexceptions to enable
NB> make[1]: *** [classes/MessageView.o] Error 1

 I guess you need to compile wx with --disable-exceptions if you do it for
M. It would be nice if we could override wxUSE_EXCEPTIONS before including
wx headers but I don't think this works currently.

 The simplest would be to stop using -fno_exceptipns when building M, of
course...
VZ
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mahogany-Developers mailing list
Mahogany-Developers <at> lists.sourceforge.net
(Continue reading)

Nerijus Baliunas | 9 Sep 2009 19:45
Picon

Re: compile error with wx svn

On Wed, 9 Sep 2009 17:35:14 +0200 Vadim Zeitlin <vadim <at> wxwindows.org> wrote:

VZ>  The simplest would be to stop using -fno_exceptipns when building M, of
VZ> course...

Should I commit disabling -fno-exceptions (it helped to compile) or should
we wait until we can override wxUSE_EXCEPTIONS?

Regards,
Nerijus

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Nerijus Baliunas | 10 Sep 2009 13:57
Picon

segfault

Hello,

with latest svn when trying to view html message:

Program received signal SIGSEGV, Segmentation fault.
0x323d6465 in ?? ()
Missing separate debuginfos, use: debuginfo-install GConf2-2.26.2-1.fc11.i586
ORBit2-2.14.17-1.fc11.i586 atk-1.25.2-2.fc11.i586 audit-libs-1.7.13-1.fc11.i586
avahi-0.6.25-3.fc11.i586 avahi-glib-0.6.25-3.fc11.i586 bzip2-libs-1.0.5-5.fc11.i586
cairo-1.8.8-1.fc11.i586 dbus-glib-0.80-2.fc11.i586 dbus-libs-1.2.12-2.fc11.i586
e2fsprogs-libs-1.41.4-12.fc11.i586 expat-2.0.1-6.i586 fontconfig-2.7.1-1.fc11.i586
freetype-2.3.9-5.fc11.i586 gamin-0.1.10-4.fc11.i586 glib2-2.20.4-1.fc11.i586
glibc-2.10.1-5.i686 gnome-vfs2-2.24.1-2.fc11.i586 gtk-nodoka-engine-0.7.2-5.fc11.i586
gtk2-2.16.5-1.fc11.i586 gvfs-1.2.3-12.fc11.i586 keyutils-libs-1.2-5.fc11.i586
krb5-libs-1.6.3-20.fc11.i586 libICE-1.0.4-7.fc11.i586 libSM-1.1.0-4.fc11.i586
libX11-1.2.2-1.fc11.i586 libXau-1.0.4-5.fc11.i586 libXcomposite-0.4.0-7.fc11
 .i586 libXcursor-1.1.9-4.fc11.i586 libXdamage-1.1.1-6.fc11.i586 libXext-1.0.99.1-2.fc11.i586
libXfixes-4.0.3-5.fc11.i586 libXi-1.2.1-1.fc11.i586 libXinerama-1.0.3-4.fc11.i586 libXrandr-1.2.9
 9.4-3.fc11.i586 libXrender-0.9.4-5.fc11.i586 libXxf86vm-1.0.2-2.fc11.i586
libart_lgpl-2.3.20-4.fc11.i586 libattr-2.4.43-3.fc11.i586 libcap-2.16-4.fc11.1.i586
libcroco-0.6.2-2.fc11.i586 libgcc-4.4.1-2.fc11.i586 libgnomecanvas-2.26.0-1.fc11.i586
libgnomeprint22-2.18.6-1.fc11.i586 libgnomeprintui22-2.18.4-1.fc11.i586
libgsf-1.14.11-3.fc11.i586 libjpeg-6b-45.fc11.i586 libpng-1.2.37-1.fc11.i586
librsvg2-2.26.0-1.fc11.i586 libselinux-2.0.80-1.fc11.i586 libstdc++-4.4.1-2.fc11.i586
libtiff-3.8.2-14.fc11.i586 libxcb-1.2-4.fc11.i586 libxml2-2.7.3-3.fc11.i586
nss-softokn-freebl-3.12.3.99.3-2.11.4.fc11.i586 openssl-0.9.8k-5.fc11.i686
pam-1.0.91-6.fc11.i586 pango-1.24.5-1.fc11.i586 pixman-0.14.0-2.fc11.i586 zlib-1.2.3-22.fc11.i586
(gdb) bt
#0  0x323d6465 in ?? ()
#1  0xb7fa3c47 in wxHtmlWindow::CreateLayout (this=0x8aaf000)
(Continue reading)

Vadim Zeitlin | 10 Sep 2009 14:51
Favicon

Re: segfault

On Thu, 10 Sep 2009 14:57:11 +0300 Nerijus Baliunas <nerijus <at> users.sourceforge.net> wrote:

NB> with latest svn when trying to view html message:
NB> 
NB> Program received signal SIGSEGV, Segmentation fault.
NB> 0x323d6465 in ?? ()
...
NB> (gdb) bt
NB> #0  0x323d6465 in ?? ()
NB> #1  0xb7fa3c47 in wxHtmlWindow::CreateLayout (this=0x8aaf000)
NB>     at ../wxWidgets/src/html/htmlwin.cpp:693

 This is really strange, m_Cell may not be NULL here (it's checked for just
above) so apparently it's a dangling pointer but I don't know how could
this happen and there have definitely been no recent changes to wxHTML
which could explain it. I guess I need to debug this myself... Does it
happen with any (HTML) message?

 Thanks,
VZ
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mahogany-Developers mailing list
(Continue reading)

Nerijus Baliunas | 10 Sep 2009 15:01
Picon

Re: segfault

On Thu, 10 Sep 2009 14:51:46 +0200 Vadim Zeitlin <vadim <at> wxwindows.org> wrote:

VZ>  This is really strange, m_Cell may not be NULL here (it's checked for just
VZ> above) so apparently it's a dangling pointer but I don't know how could
VZ> this happen and there have definitely been no recent changes to wxHTML
VZ> which could explain it. I guess I need to debug this myself... Does it
VZ> happen with any (HTML) message?

With at least two completely different messages. I can send a sample to you.

Regards,
Nerijus

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Nerijus Baliunas | 10 Sep 2009 21:28
Picon

Re: segfault

On Thu, 10 Sep 2009 16:01:59 +0300 Nerijus Baliunas <nerijus <at> users.sourceforge.net> wrote:

NB> With at least two completely different messages. I can send a sample to you.

When this message is selected and previewed when I've just started M, it is displayed
correctly, but if i select another message and then select this message again,
M crashes.

Regards,
Nerijus

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

Gmane