Giter Site home page Giter Site logo

skylark's People

Contributors

mirek-fidler avatar xemuth avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

skylark's Issues

Skylark core dump

Hi,

When you start Skylark with prefork = 1 and then press CTRL+C, Skylark will create a core dump.

Steps to reproduce:

  1. Open Skylark09 example
  2. In the file main.cpp change prefork = 0; to prefork = 1;
  3. Build the Debug version of Skylark09
  4. Open shell, change directory to the Skylark09 build output directory and execute the binary
  5. Press Ctrl+C => core dump is created

Ubuntu 20.04, gcc 9.4.0 or clang 13.0.1

Reading symbols from Skylark09...
[New LWP 17015]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./Skylark09'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000000000411864 in Upp::Panic (msg=0x7c754d "Heap leaks detected!") at Util.cpp:119
119		__BREAK__;
(gdb) bt
#0  0x0000000000411864 in Upp::Panic (msg=0x7c754d "Heap leaks detected!") at Util.cpp:119
#1  0x00000000004e02dc in Upp::MemoryDumpLeaks () at heapdbg.cpp:276
#2  0x00000000004e03bb in MemDiagCls::~MemDiagCls (this=0x8cb68c <sMemDiagHelper>) at heapdbg.cpp:315
#3  0x00007f0a4a5038a7 in __run_exit_handlers (status=0, listp=0x7f0a4a6a9718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
#4  0x00007f0a4a503a60 in __GI_exit (status=<optimized out>) at exit.c:139
#5  0x00000000005412a5 in Upp::SkylarkApp::Signal (this=0x7ffd042a0ca8, signal=2) at App.cpp:131
#6  0x000000000054134b in Upp::SkylarkApp::SignalHandler (signal=2) at App.cpp:149
#7  <signal handler called>
#8  0x00007f0a4a59fc3a in __GI___wait4 (pid=-1, stat_loc=0x7ffd042a0b0c, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
#9  0x0000000000541905 in Upp::SkylarkApp::Run (this=0x7ffd042a0ca8) at App.cpp:237
#10 0x000000000040ae28 in ConsoleMainFn_ () at /home/malcirad/Develop/upp-skylark/Skylark09/main.cpp:94
#11 0x000000000042053c in Upp::AppExecute__ (app=0x40ad90 <ConsoleMainFn_()>) at App.cpp:479
#12 0x000000000040ad79 in main (argc=1, argv=0x7ffd042a1348, envptr=0x7ffd042a1358) at /home/malcirad/Develop/upp-skylark/Skylark09/main.cpp:84

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.