Menu

#811 crashing when close with unsaved changes in files

Undefined
open
nobody
None
Bug_Report
2019-04-10
2019-04-06
Vladimir
No

Description:
on archlinux codeblocks is crashing when close his with unsaved changes in file/projects

Additional info:
codeblocks-17.12-10
https://www.archlinux.org/packages/community/x86_64/codeblocks/

Steps to reproduce:
1. make unsaved changes
2. try close

log in file

1 Attachments

Discussion

  • Teodor Petrov

    Teodor Petrov - 2019-04-06

    My guess is that you're getting this problem: https://sourceforge.net/p/codeblocks/tickets/629/
    Would it be possible to apply this patch and if it fixes it to report an arch bug to start applying it to their package?

    If it doesn't fix it please provide a backtrace generated with gdb. The one in the xml has missing information.

     
    • Vladimir

      Vladimir - 2019-04-06
       
  • Teodor Petrov

    Teodor Petrov - 2019-04-06

    To post a backtrace you have to execute the bt or thread apply all bt commands.

     
    • Vladimir

      Vladimir - 2019-04-07
       
  • Teodor Petrov

    Teodor Petrov - 2019-04-07

    Still no backtrace...

     
    • Vladimir

      Vladimir - 2019-04-07

      don't understand
      backtrace with (gdb) thread apply all bt
      https://pastebin.com/apk2ywq9

       

      Last edit: Vladimir 2019-04-07
  • Miguel Gimenez

    Miguel Gimenez - 2019-04-10

    bt or "thread apply all bt" must be executed AFTER the crash

     
    • Vladimir

      Vladimir - 2019-04-10

      lol, now i get it (seemingly)

       
  • Vladimir

    Vladimir - 2019-04-10
     
  • Teodor Petrov

    Teodor Petrov - 2019-04-10

    That is better. But you don't have symbols for the function calling the crashing function.
    Is there a way to install them?

    https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces

    From here is sems you need to rebuild, so if you really need to do it then you could try to apply the patch from https://sourceforge.net/p/codeblocks/tickets/629/#68fb to see if it fixes the problem.

     
    • Vladimir

      Vladimir - 2019-04-10

      this patch (https://sourceforge.net/p/codeblocks/tickets/629/#68fb) already applied in package
      and i rebuild from source, it's didnt help

       
  • Vladimir

    Vladimir - 2019-04-10
     

    Last edit: Vladimir 2019-04-10
  • Teodor Petrov

    Teodor Petrov - 2019-04-10
    Thread 1 (Thread 0x7ffff3a729c0 (LWP 31105)):
    #0  0x00007ffff7b20d84 in EditorManager::GetActiveEditor() () at /usr/lib/libcodeblocks.so.0
    #1  0x0000555555669899 in  ()
    #2  0x00007ffff6c48d10 in wxEvtHandler::TryHereOnly(wxEvent&) ()
    

    We need to find out what is happenning at line #1... It seems that symbols are stripped..

     
  • Teodor Petrov

    Teodor Petrov - 2019-04-10

    What are the exact steps? How do you close the application?
    Do you have a project open? Do you need a particular file or you can reproduce this with an almost empty file?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.