fork download
  1. user@mac:~/t_tower$ g++ -g -static-libgcc -pthread main.cpp -I/home/user/t_tower/built/include/ -L/home/user/t_tower/built/lib/ -lp3framework -lpandaegg -lpanda -lpandaexpress -lp3dtoolconfig -lp3dtool -ldl
  2. user@mac:~/t_tower$ ./a.out
  3. Segmentation fault
  4. user@mac:~/t_tower$ gdb a.out
  5. GNU gdb (Ubuntu/Linaro 7.4-2012.02-0ubuntu2) 7.4-2012.02
  6. Copyright (C) 2012 Free Software Foundation, Inc.
  7. License GPLv3+: GNU GPL version 3 or later <http://g...content-available-to-author-only...u.org/licenses/gpl.html>
  8. This is free software: you are free to change and redistribute it.
  9. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  10. and "show warranty" for details.
  11. This GDB was configured as "i686-linux-gnu".
  12. For bug reporting instructions, please see:
  13. <http://b...content-available-to-author-only...d.net/gdb-linaro/>...
  14. Reading symbols from /home/user/t_tower/a.out...done.
  15. (gdb) r
  16. Starting program: /home/user/t_tower/a.out
  17. [Thread debugging using libthread_db enabled]
  18. Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
  19.  
  20. Program received signal SIGSEGV, Segmentation fault.
  21. 0x08446fd7 in std::_Deque_base<ConstPointerTo<Event>, pallocator_array<ConstPointerTo<Event> > >::_M_initialize_map(unsigned int) ()
  22. (gdb) bt
  23. #0 0x08446fd7 in std::_Deque_base<ConstPointerTo<Event>, pallocator_array<ConstPointerTo<Event> > >::_M_initialize_map(unsigned int)
  24. ()
  25. #1 0x08442de1 in EventQueue::EventQueue() ()
  26. #2 0x08442e7c in EventQueue::make_global_event_queue() ()
  27. #3 0x08442f25 in EventHandler::make_global_event_handler() ()
  28. #4 0x080a1545 in PandaFramework::PandaFramework() ()
  29. #5 0x08093412 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at main.cpp:4
  30. #6 0x0809354b in _GLOBAL__sub_I_framework () at main.cpp:15
  31. #7 0x08713752 in __libc_csu_init ()
  32. #8 0xb7d0d46a in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
  33. #9 0x080931f1 in _start ()
  34. (gdb) Quit
  35. A debugging session is active.
  36.  
  37. Inferior 1 [process 17910] will be killed.
  38.  
  39. Quit anyway? (y or n) y
  40. user@mac:~/t_tower$
Runtime error #stdin #stdout 0.03s 5312KB
stdin
Standard input is empty
stdout
Standard output is empty