core.dump

[ELF 64-bit LSB core file · x86-64 · from 'florian' · signal 11]

WOPR.DEFUNC.NORAD / pts/1 — [email protected] size: 417 bytes · mode: 0600 · owner: florian
root@wopr.defunc.norad:~# gdb ./florian core.dump
GNU gdb (GDB) 13.37
Reading symbols from ./florian...
[New LWP 1983]
Core was generated by `./florian --coffee=0 --meetings=7 --ship-it'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000deadc0de in caffeine_check (level=0) at brain.c:42
42          assert(coffee > 0 && "cannot operate on an empty mug");
(gdb) bt
#0  0x00000000deadc0de in caffeine_check (level=0) at brain.c:42
#1  0x000000001337beef in attend_meeting (n=7, could_be_an_email=true) at calendar.c:1999
#2  0x00000000cafebabe in fix_prod_before_demo (eta="5 min", actual="5 hours") at ops.c:404
#3  0x0000000000c0ffee in agent_swarm_dispatch (agents=64, supervisor=NULL) at nova_x/swarm.c:128
#4  0x0000000000031337 in main (argc=1, argv=["shall we play a game?"]) at wopr.c:1983
(gdb) info registers rip
rip            0xdeadc0de          0xdeadc0de <caffeine_check+42>
(gdb) print motivation
$1 = <optimized out>
(gdb) print sleep_hours
$2 = 4
(gdb) quit
root@wopr.defunc.norad:~# xxd core.dump
00000000: 7f45 4c46 0201 0100 0000 0000 0000 0000  .ELF............
00000010: 0400 3e00 0100 0000 0000 0000 0000 0000  ..>.............
00000020: 4000 0000 0000 0000 0000 0000 0000 0000  @...............
00000030: 434f 5245 0000 0000 1337 beef dead c0de  CORE.....7......
00000040: 4752 4545 5449 4e47 5320 5052 4f46 4553  GREETINGS PROFES
00000050: 534f 5220 4641 4c4b 454e 2e00 0000 0000  SOR FALKEN......
00000060: 5348 414c 4c20 5745 2050 4c41 5920 4120  SHALL WE PLAY A 
00000070: 4741 4d45 3f00 0000 cafe babe 0000 0063  GAME?..........c
00000080: 6f66 6665 655f 6c65 7665 6c3d 3078 3030  offee_level=0x00
00000090: 0000 0000 0000 0000 0000 0000 0000 736c  ..............sl
000000a0: 6565 705f 686f 7572 733d 3400 0000 6d65  eep_hours=4...me
000000b0: 6574 696e 6773 5f74 6f64 6179 3d37 0000  etings_today=7..
000000c0: 0054 4f44 4f3a 2066 6978 2070 726f 6420  .TODO: fix prod 
000000d0: 6265 666f 7265 2064 656d 6f00 0000 0000  before demo.....
000000e0: 0046 4c41 477b 7930 755f 7233 5f72 3334  .FLAG{y0u_r3_r34
000000f0: 6431 6e67 5f34 5f68 3378 6475 6d70 5f66  d1ng_4_h3xdump_f
00000100: 3072 5f66 756e 7d00 0074 6865 206f 6e6c  0r_fun}..the onl
00000110: 7920 7769 6e6e 696e 6720 6d6f 7665 2069  y winning move i
00000120: 7320 6e6f 7420 746f 2070 6c61 7900 0000  s not to play...
00000130: 00ff ffff ffde adbe ef00 0000 0000 0000  ................
00000140: 004a 4f53 4855 4100 0000 0000 0000 0000  .JOSHUA.........
00000150: 0068 6163 6b20 7468 6520 706c 616e 6574  .hack the planet
00000160: 0090 9090 9090 9090 9090 9090 90cc cccc  ................
00000170: cc73 6567 6661 756c 7420 4020 6272 6169  .segfault @ brai
00000180: 6e2e 633a 3432 202d 2d20 7461 6273 2076  n.c:42 -- tabs v
00000190: 7320 7370 6163 6573 2061 6761 696e 0000  s spaces again..
000001a0: 00                                       .
root@wopr.defunc.norad:~# file core.dump
core.dump: ELF 64-bit LSB core file, x86-64, version 1 (SYSV), SVR4-style, from './florian --coffee=0', diagnosis: needs espresso, not a debugger
root@wopr.defunc.norad:~# cd ~