Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Segmentation fault on Ubuntu 9.10 64bit

Help
2009-11-05
2015-04-13
  • When I click "New File" the MadEdit will crash.
    The error "madedit: segfault at 0 ip 000000000049eed8 sp 00007fffea2cdbd0 error 4 in madedit" from /var/log/messages

    OS: Ubuntu 9.10 64bit<br>Version: MadEdit 2.9.1 amd64

     
  • I am too experiencing the same problem
    somebody help
    Ubuntu 9.10 32 bit, MadEdit v0.2.9

    Manish B

     
  • Hi,
    I have the same problem (segfault) when I'm try to open a new file.
    please find below the gdb log,

        Program received signal SIGSEGV, Segmentation fault.
        MadEdit::OnPaint (this=0x85dd278, evt=…) at src/MadEdit/MadEdit.cpp:9742
         9742 memdc.SelectObject(*m_ClientBitmap);

    and the backtrace

        #0  MadEdit::OnPaint (this=0x85dd278, evt=…) at src/MadEdit/MadEdit.cpp:9742
        #1  0x00b19a9f in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/libwx_baseu-2.8.so.0
        #2  0x00bb8379 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
        #3  0x00bb9424 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
        #4  0x00bb9523 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
        #5  0x0112a652 in wxWindow::GtkSendPaintEvents() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
        #6  0x0112ac18 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
        #7  0x002ca474 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
        #8  0x00142072 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
        #9  0x001577a8 in ?? () from /usr/lib/libgobject-2.0.so.0
        #10 0x001589b8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
        #11 0x00158fb6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
        #12 0x003e695e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
        #13 0x002c4190 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
        #14 0x00a7f1d4 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
        #15 0x00a7f183 in ?? () from /usr/lib/libgdk-x11-2.0.so.0

    please help us to fix this bug.

     
  • Here is a patch. You have to compile the program by your self. At the moment, the project stucks a little bit. What happened to the a author?
    If we find some people, we could fork the project and create a newer and better version. It's sad, that people contribute patches, but nobody will check and add them to the code source.

     
  • excuse me, but where is the patch you speak above ?