Skip to content

Instantly share code, notes, and snippets.

@X547
Created July 20, 2024 18:10
Show Gist options
  • Save X547/ebd5d3ca9bead35a5519379107c97162 to your computer and use it in GitHub Desktop.
Save X547/ebd5d3ca9bead35a5519379107c97162 to your computer and use it in GitHub Desktop.
This log is saved to: C:\Users\chugi\AppData\Local\Temp\gdb-cmds16349666146967068135.log
NB build: 21-b15c9b7692b2764be5a997d056e2283b72ae9131
=thread-group-added,id="i1"
~"GNU gdb (GDB) 15.1.90.20240710-git\n"
~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
~"\nType \"show copying\" and \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-unknown-haiku\".\n"
~"Type \"show configuration\" for configuration details.\n"
~"For bug reporting instructions, please see:\n"
~"<https://www.gnu.org/software/gdb/bugs/>.\n"
~"Find the GDB manual and other documentation resources online at:\n <"
~"http://www.gnu.org/software/gdb/documentation/>.\n\n"
~"For help, type \"help\".\n"
~"Type \"apropos word\" to search for commands related to \"word\".\n"
&"/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/.gdbinit: No such file or directory.\n"
(gdb)
2-list-features
3info signals
4-gdb-set print repeat 0
5-gdb-set backtrace limit 1024
6-gdb-set print elements 400
7-gdb-set follow-fork-mode parent
8-gdb-set detach-on-fork on
9-enable-pretty-printing
10-file-exec-and-symbols "/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/dist/Debug/GNU-Generic/minapp-netbeans"
2^done,features=["frozen-varobjs","pending-breakpoints","thread-info","data-read-memory-bytes","breakpoint-notifications","ada-task-info","language-option","info-gdb-mi-command","undefined-command-error-code","exec-run-start-option","data-disassemble-a-option","simple-values-ref-types"]
(gdb)
&"info signals\n"
~"Signal Stop\tPrint\tPass to program\tDescription\n"
~"\n"
~"SIGHUP Yes\tYes\tYes\t\tHangup\n"
~"SIGINT Yes\tYes\tNo\t\tInterrupt\n"
~"SIGQUIT Yes\tYes\tYes\t\tQuit\n"
~"SIGILL Yes\tYes\tYes\t\tIllegal instruction\n"
~"SIGTRAP Yes\tYes\tNo\t\tTrace/breakpoint trap\n"
~"SIGABRT Yes\tYes\tYes\t\tAborted\n"
~"SIGEMT Yes\tYes\tYes\t\tEmulation trap\n"
~"SIGFPE Yes\tYes\tYes\t\tArithmetic exception\n"
~"SIGKILL Yes\tYes\tYes\t\tKilled\n"
~"SIGBUS Yes\tYes\tYes\t\tBus error\n"
~"SIGSEGV Yes\tYes\tYes\t\tSegmentation fault\n"
~"SIGSYS Yes\tYes\tYes\t\tBad system call\n"
~"SIGPIPE Yes\tYes\tYes\t\tBroken pipe\n"
~"SIGALRM No\tNo\tYes\t\tAlarm clock\n"
~"SIGTERM Yes\tYes\tYes\t\tTerminated\n"
~"SIGURG No\tNo\tYes\t\tUrgent I/O condition\n"
~"SIGSTOP Yes\tYes\tYes\t\tStopped (signal)\n"
~"SIGTSTP Yes\tYes\tYes\t\tStopped (user)\n"
~"SIGCONT Yes\tYes\tYes\t\tContinued\n"
~"SIGCHLD No\tNo\tYes\t\tChild status changed\n"
~"SIGTTIN Yes\tYes\tYes\t\tStopped (tty input)\n"
~"SIGTTOU Yes\tYes\tYes\t\tStopped (tty output)\n"
~"SIGIO No\tNo\tYes\t\tI/O possible\n"
~"SIGXCPU Yes\tYes\tYes\t\tCPU time limit exceeded\n"
~"SIGXFSZ Yes\tYes\tYes\t\tFile size limit exceeded\n"
~"SIGVTALRM No\tNo\tYes\t\tVirtual timer expired\n"
~"SIGPROF No\tNo\tYes\t\tProfiling timer expired\n"
~"SIGWINCH No\tNo\tYes\t\tWindow size changed\n"
~"SIGLOST Yes\tYes\tYes\t\tResource lost\n"
~"SIGUSR1 Yes\tYes\tYes\t\tUser defined signal 1\n"
~"SIGUSR2 Yes\tYes\tYes\t\tUser defined signal 2\n"
~"SIGPWR Yes\tYes\tYes\t\tPower fail/restart\n"
~"SIGPOLL No\tNo\tYes\t\tPollable event occurred\n"
~"SIGWIND Yes\tYes\tYes\t\tSIGWIND\n"
~"SIGPHONE Yes\tYes\tYes\t\tSIGPHONE\n"
~"SIGWAITING No\tNo\tYes\t\tProcess's LWPs are blocked\n"
~"SIGLWP No\tNo\tYes\t\tSignal LWP\n"
~"SIGDANGER Yes\tYes\tYes\t\tSwap space dangerously low\n"
~"SIGGRANT Yes\tYes\tYes\t\tMonitor mode granted\n"
~"SIGRETRACT Yes\tYes\tYes\t\tNeed to relinquish monitor mode\n"
~"SIGMSG Yes\tYes\tYes\t\tMonitor mode data available\n"
~"SIGSOUND Yes\tYes\tYes\t\tSound completed\n"
~"SIGSAK Yes\tYes\tYes\t\tSecure attention\n"
~"SIGPRIO No\tNo\tYes\t\tSIGPRIO\n"
~"SIG33 Yes\tYes\tYes\t\tReal-time event 33\n"
~"SIG34 Yes\tYes\tYes\t\tReal-time event 34\n"
~"SIG35 Yes\tYes\tYes\t\tReal-time event 35\n"
~"SIG36 Yes\tYes\tYes\t\tReal-time event 36\n"
~"SIG37 Yes\tYes\tYes\t\tReal-time event 37\n"
~"SIG38 Yes\tYes\tYes\t\tReal-time event 38\n"
~"SIG39 Yes\tYes\tYes\t\tReal-time event 39\n"
~"SIG40 Yes\tYes\tYes\t\tReal-time event 40\n"
~"SIG41 Yes\tYes\tYes\t\tReal-time event 41\n"
~"SIG42 Yes\tYes\tYes\t\tReal-time event 42\n"
~"SIG43 Yes\tYes\tYes\t\tReal-time event 43\n"
~"SIG44 Yes\tYes\tYes\t\tReal-time event 44\n"
~"SIG45 Yes\tYes\tYes\t\tReal-time event 45\n"
~"SIG46 Yes\tYes\tYes\t\tReal-time event 46\n"
~"SIG47 Yes\tYes\tYes\t\tReal-time event 47\n"
~"SIG48 Yes\tYes\tYes\t\tReal-time event 48\n"
~"SIG49 Yes\tYes\tYes\t\tReal-time event 49\n"
~"SIG50 Yes\tYes\tYes\t\tReal-time event 50\n"
~"SIG51 Yes\tYes\tYes\t\tReal-time event 51\n"
~"SIG52 Yes\tYes\tYes\t\tReal-time event 52\n"
~"SIG53 Yes\tYes\tYes\t\tReal-time event 53\n"
~"SIG54 Yes\tYes\tYes\t\tReal-time event 54\n"
~"SIG55 Yes\tYes\tYes\t\tReal-time event 55\n"
~"SIG56 Yes\tYes\tYes\t\tReal-time event 56\n"
~"SIG57 Yes\tYes\tYes\t\tReal-time event 57\n"
~"SIG58 Yes\tYes\tYes\t\tReal-time event 58\n"
~"SIG59 Yes\tYes\tYes\t\tReal-time event 59\n"
~"SIG60 Yes\tYes\tYes\t\tReal-time event 60\n"
~"SIG61 Yes\tYes\tYes\t\tReal-time event 61\n"
~"SIG62 Yes\tYes\tYes\t\tReal-time event 62\n"
~"SIG63 Yes\tYes\tYes\t\tReal-time event 63\n"
~"SIGCANCEL No\tNo\tYes\t\tLWP internal signal\n"
~"SIG32 Yes\tYes\tYes\t\tReal-time event 32\n"
~"SIG64 Yes\tYes\tYes\t\tReal-time event 64\n"
~"SIG65 Yes\tYes\tYes\t\tReal-time event 65\n"
~"SIG66 Yes\tYes\tYes\t\tReal-time event 66\n"
~"SIG67 Yes\tYes\tYes\t\tReal-time event 67\n"
~"SIG68 Yes\tYes\tYes\t\tReal-time event 68\n"
~"SIG69 Yes\tYes\tYes\t\tReal-time event 69\n"
~"SIG70 Yes\tYes\tYes\t\tReal-time event 70\n"
~"SIG71 Yes\tYes\tYes\t\tReal-time event 71\n"
~"SIG72 Yes\tYes\tYes\t\tReal-time event 72\n"
~"SIG73 Yes\tYes\tYes\t\tReal-time event 73\n"
~"SIG74 Yes\tYes\tYes\t\tReal-time event 74\n"
~"SIG75 Yes\tYes\tYes\t\tReal-time event 75\n"
~"SIG76 Yes\tYes\tYes\t\tReal-time event 76\n"
~"SIG77 Yes\tYes\tYes\t\tReal-time event 77\n"
~"SIG78 Yes\tYes\tYes\t\tReal-time event 78\n"
~"SIG79 Yes\tYes\tYes\t\tReal-time event 79\n"
~"SIG80 Yes\tYes\tYes\t\tReal-time event 80\n"
~"SIG81 Yes\tYes\tYes\t\tReal-time event 81\n"
~"SIG82 Yes\tYes\tYes\t\tReal-time event 82\n"
~"SIG83 Yes\tYes\tYes\t\tReal-time event 83\n"
~"SIG84 Yes\tYes\tYes\t\tReal-time event 84\n"
~"SIG85 Yes\tYes\tYes\t\tReal-time event 85\n"
~"SIG86 Yes\tYes\tYes\t\tReal-time event 86\n"
~"SIG87 Yes\tYes\tYes\t\tReal-time event 87\n"
~"SIG88 Yes\tYes\tYes\t\tReal-time event 88\n"
~"SIG89 Yes\tYes\tYes\t\tReal-time event 89\n"
~"SIG90 Yes\tYes\tYes\t\tReal-time event 90\n"
~"SIG91 Yes\tYes\tYes\t\tReal-time event 91\n"
~"SIG92 Yes\tYes\tYes\t\tReal-time event 92\n"
~"SIG93 Yes\tYes\tYes\t\tReal-time event 93\n"
~"SIG94 Yes\tYes\tYes\t\tReal-time event 94\n"
~"SIG95 Yes\tYes\tYes\t\tReal-time event 95\n"
~"SIG96 Yes\tYes\tYes\t\tReal-time event 96\n"
~"SIG97 Yes\tYes\tYes\t\tReal-time event 97\n"
~"SIG98 Yes\tYes\tYes\t\tReal-time event 98\n"
~"SIG99 Yes\tYes\tYes\t\tReal-time event 99\n"
~"SIG100 Yes\tYes\tYes\t\tReal-time event 100\n"
~"SIG101 Yes\tYes\tYes\t\tReal-time event 101\n"
~"SIG102 Yes\tYes\tYes\t\tReal-time event 102\n"
~"SIG103 Yes\tYes\tYes\t\tReal-time event 103\n"
~"SIG104 Yes\tYes\tYes\t\tReal-time event 104\n"
~"SIG105 Yes\tYes\tYes\t\tReal-time event 105\n"
~"SIG106 Yes\tYes\tYes\t\tReal-time event 106\n"
~"SIG107 Yes\tYes\tYes\t\tReal-time event 107\n"
~"SIG108 Yes\tYes\tYes\t\tReal-time event 108\n"
~"SIG109 Yes\tYes\tYes\t\tReal-time event 109\n"
~"SIG110 Yes\tYes\tYes\t\tReal-time event 110\n"
~"SIG111 Yes\tYes\tYes\t\tReal-time event 111\n"
~"SIG112 Yes\tYes\tYes\t\tReal-time event 112\n"
~"SIG113 Yes\tYes\tYes\t\tReal-time event 113\n"
~"SIG114 Yes\tYes\tYes\t\tReal-time event 114\n"
~"SIG115 Yes\tYes\tYes\t\tReal-time event 115\n"
~"SIG116 Yes\tYes\tYes\t\tReal-time event 116\n"
~"SIG117 Yes\tYes\tYes\t\tReal-time event 117\n"
~"SIG118 Yes\tYes\tYes\t\tReal-time event 118\n"
~"SIG119 Yes\tYes\tYes\t\tReal-time event 119\n"
~"SIG120 Yes\tYes\tYes\t\tReal-time event 120\n"
~"SIG121 Yes\tYes\tYes\t\tReal-time event 121\n"
~"SIG122 Yes\tYes\tYes\t\tReal-time event 122\n"
~"SIG123 Yes\tYes\tYes\t\tReal-time event 123\n"
~"SIG124 Yes\tYes\tYes\t\tReal-time event 124\n"
~"SIG125 Yes\tYes\tYes\t\tReal-time event 125\n"
~"SIG126 Yes\tYes\tYes\t\tReal-time event 126\n"
~"SIG127 Yes\tYes\tYes\t\tReal-time event 127\n"
~"SIGINFO Yes\tYes\tYes\t\tInformation request\n"
~"EXC_BAD_ACCESS Yes\tYes\tYes\t\tCould not access memory\n"
~"EXC_BAD_INSTRUCTION Yes\tYes\tYes\t\tIllegal instruction/operand\n"
~"EXC_ARITHMETIC Yes\tYes\tYes\t\tArithmetic exception\n"
~"EXC_EMULATION Yes\tYes\tYes\t\tEmulation instruction\n"
~"EXC_SOFTWARE Yes\tYes\tYes\t\tSoftware generated exception\n"
~"EXC_BREAKPOINT Yes\tYes\tYes\t\tBreakpoint\n"
~"SIGLIBRT No\tNo\tYes\t\tlibrt internal signal\n"
~"SIGKILLTHR Yes\tYes\tYes\t\tThread killed\n"
~"\nUse the \"handle\" command to change these tables.\n"
3^done
(gdb)
4^done
(gdb)
5^done
(gdb)
6^done
(gdb)
7^done
(gdb)
8^done
(gdb)
9^done
(gdb)
10^done
11-file-list-exec-source-file
12-environment-cd /boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans
13-exec-arguments
14-break-insert -f "/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp:18"
15-break-insert -f "/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp:38"
16-break-insert -f "/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp:45"
(gdb)
11^done,line="61",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",macro-info="0"
(gdb)
12^done
(gdb)
13^done
(gdb)
14^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000000000000537f",func="TestView::Draw(BRect)",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="18",thread-groups=["i1"],times="0",original-location="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp:18"}
(gdb)
15^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x000000000000556d",func="TestWindow::TestWindow(BRect)",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="38",thread-groups=["i1"],times="0",original-location="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp:38"}
(gdb)
16^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000005652",func="TestWindow::Quit()",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="45",thread-groups=["i1"],times="0",original-location="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp:45"}
(gdb)
17-break-insert -t _start
17^done,bkpt={number="4",type="breakpoint",disp="del",enabled="y",addr="0x0000000000004f90",func="_start",file="../src/system/glue/start_dyn.c",fullname="/boot/data/packages/haiku/src/system/glue/start_dyn.c",line="36",thread-groups=["i1"],times="0",original-location="_start"}
18-exec-run
(gdb)
=thread-group-started,id="i1",pid="249191"
=thread-created,id="1",group-id="i1"
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000001570473437f",func="TestView::Draw(BRect)",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="18",thread-groups=["i1"],times="0",original-location="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp:18"}
=breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x000001570473456d",func="TestWindow::TestWindow(BRect)",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="38",thread-groups=["i1"],times="0",original-location="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp:38"}
=breakpoint-modified,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x0000015704734652",func="TestWindow::Quit()",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="45",thread-groups=["i1"],times="0",original-location="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp:45"}
=library-loaded,id="commpage",target-name="commpage",host-name="commpage",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007fffffdf7000",to="0x00007fffffdff000"}]
=library-loaded,id="/boot/system/runtime_loader",target-name="/boot/system/runtime_loader",host-name="/boot/system/runtime_loader",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000002208197b000",to="0x0000022081998bf0"}]
=library-loaded,id="/boot/system/lib/libreadline.so.8.2",target-name="/boot/system/lib/libreadline.so.8.2",host-name="/boot/system/lib/libreadline.so.8.2",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000007ae3ce3000",to="0x0000007ae3f37810"}]
=library-loaded,id="/boot/system/lib/libhistory.so.8.2",target-name="/boot/system/lib/libhistory.so.8.2",host-name="/boot/system/lib/libhistory.so.8.2",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00000062dac38000",to="0x00000062dae41c30"}]
=library-loaded,id="/boot/system/lib/libncurses.so.6.4.0",target-name="/boot/system/lib/libncurses.so.6.4.0",host-name="/boot/system/lib/libncurses.so.6.4.0",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000020c18b8d000",to="0x0000020c18befb38"}]
=library-loaded,id="/boot/system/lib/libintl.so.8.3.0",target-name="/boot/system/lib/libintl.so.8.3.0",host-name="/boot/system/lib/libintl.so.8.3.0",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00000062d1268000",to="0x00000062d1273bb8"}]
=library-loaded,id="/boot/system/lib/libroot.so",target-name="/boot/system/lib/libroot.so",host-name="/boot/system/lib/libroot.so",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000011cfe11d000",to="0x0000011cfe23ba40"}]
=library-loaded,id="/boot/system/lib/libiconv.so.2.6.1",target-name="/boot/system/lib/libiconv.so.2.6.1",host-name="/boot/system/lib/libiconv.so.2.6.1",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000014b2a038000",to="0x0000014b2a341df0"}]
=library-loaded,id="/boot/system/lib/libgcc_s.so.1",target-name="/boot/system/lib/libgcc_s.so.1",host-name="/boot/system/lib/libgcc_s.so.1",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00000050787bf000",to="0x00000050787de488"}]
=breakpoint-modified,bkpt={number="4",type="breakpoint",disp="del",enabled="y",addr="0x0000015704733f90",func="_start",file="../src/system/glue/start_dyn.c",fullname="/boot/data/packages/haiku/src/system/glue/start_dyn.c",line="36",thread-groups=["i1"],times="0",original-location="_start"}
18^running
*running,thread-id="all"
(gdb)
=library-unloaded,id="commpage",target-name="commpage",host-name="commpage",thread-group="i1"
=library-unloaded,id="/boot/system/runtime_loader",target-name="/boot/system/runtime_loader",host-name="/boot/system/runtime_loader",thread-group="i1"
=library-unloaded,id="/boot/system/lib/libreadline.so.8.2",target-name="/boot/system/lib/libreadline.so.8.2",host-name="/boot/system/lib/libreadline.so.8.2",thread-group="i1"
=library-unloaded,id="/boot/system/lib/libhistory.so.8.2",target-name="/boot/system/lib/libhistory.so.8.2",host-name="/boot/system/lib/libhistory.so.8.2",thread-group="i1"
=library-unloaded,id="/boot/system/lib/libncurses.so.6.4.0",target-name="/boot/system/lib/libncurses.so.6.4.0",host-name="/boot/system/lib/libncurses.so.6.4.0",thread-group="i1"
=library-unloaded,id="/boot/system/lib/libintl.so.8.3.0",target-name="/boot/system/lib/libintl.so.8.3.0",host-name="/boot/system/lib/libintl.so.8.3.0",thread-group="i1"
=library-unloaded,id="/boot/system/lib/libroot.so",target-name="/boot/system/lib/libroot.so",host-name="/boot/system/lib/libroot.so",thread-group="i1"
=library-unloaded,id="/boot/system/lib/libiconv.so.2.6.1",target-name="/boot/system/lib/libiconv.so.2.6.1",host-name="/boot/system/lib/libiconv.so.2.6.1",thread-group="i1"
=library-unloaded,id="/boot/system/lib/libgcc_s.so.1",target-name="/boot/system/lib/libgcc_s.so.1",host-name="/boot/system/lib/libgcc_s.so.1",thread-group="i1"
&"warning: error removing breakpoint 4 at 0x15704733f90\n"
&"warning: error removing breakpoint 1 at 0x1570473437f\n"
&"warning: error removing breakpoint 2 at 0x1570473456d\n"
&"warning: error removing breakpoint 3 at 0x15704734652\n"
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000004ca39df37f",func="TestView::Draw(BRect)",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="18",thread-groups=["i1"],times="0",original-location="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp:18"}
=breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000004ca39df56d",func="TestWindow::TestWindow(BRect)",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="38",thread-groups=["i1"],times="0",original-location="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp:38"}
=breakpoint-modified,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x0000004ca39df652",func="TestWindow::Quit()",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="45",thread-groups=["i1"],times="0",original-location="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp:45"}
&"warning: error removing breakpoint 4 at 0x15704733f90\n"
&"warning: error removing breakpoint 1 at 0x1570473437f\n"
&"warning: error removing breakpoint 2 at 0x1570473456d\n"
&"warning: error removing breakpoint 3 at 0x15704734652\n"
&"warning: error removing breakpoint 4 at 0x15704733f90\n"
&"warning: error removing breakpoint 4 at 0x15704733f90\n"
&"warning: error removing breakpoint 4 at 0x15704733f90\n"
&"warning: error removing breakpoint 4 at 0x15704733f90\n"
&"warning: error removing breakpoint 4 at 0x15704733f90\n"
~"team 249191 (minapp-netbeans) is executing new program: /boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/dist/Debug/GNU-Generic/minapp-netbeans\n"
=library-loaded,id="commpage",target-name="commpage",host-name="commpage",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007fffffdf7000",to="0x00007fffffdff000"}]
=library-loaded,id="/boot/system/runtime_loader",target-name="/boot/system/runtime_loader",host-name="/boot/system/runtime_loader",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000000f751c09000",to="0x000000f751c26bf0"}]
=library-loaded,id="/boot/system/lib/libbe.so",target-name="/boot/system/lib/libbe.so",host-name="/boot/system/lib/libbe.so",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000000c455f25000",to="0x000000c456263c40"}]
=library-loaded,id="/boot/system/lib/libstdc++.so.6.0.32",target-name="/boot/system/lib/libstdc++.so.6.0.32",host-name="/boot/system/lib/libstdc++.so.6.0.32",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000004578c8a000",to="0x0000004578edbc80"}]
=library-loaded,id="/boot/system/lib/libgcc_s.so.1",target-name="/boot/system/lib/libgcc_s.so.1",host-name="/boot/system/lib/libgcc_s.so.1",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000003b80172000",to="0x0000003b80191488"}]
=library-loaded,id="/boot/system/lib/libroot.so",target-name="/boot/system/lib/libroot.so",host-name="/boot/system/lib/libroot.so",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000000bdb0948000",to="0x000000bdb0a66a40"}]
=library-loaded,id="/boot/system/lib/libicudata.so.74.1",target-name="/boot/system/lib/libicudata.so.74.1",host-name="/boot/system/lib/libicudata.so.74.1",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000019003de9000",to="0x0000019003dea6d0"}]
=library-loaded,id="/boot/system/lib/libicui18n.so.74.1",target-name="/boot/system/lib/libicui18n.so.74.1",host-name="/boot/system/lib/libicui18n.so.74.1",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000000e4256ba000",to="0x000000e425a10be8"}]
=library-loaded,id="/boot/system/lib/libicuio.so.74.1",target-name="/boot/system/lib/libicuio.so.74.1",host-name="/boot/system/lib/libicuio.so.74.1",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000000b9fdd2f000",to="0x000000b9fdd3c9d0"}]
=library-loaded,id="/boot/system/lib/libicuuc.so.74.1",target-name="/boot/system/lib/libicuuc.so.74.1",host-name="/boot/system/lib/libicuuc.so.74.1",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00000257fa578000",to="0x00000257fa787ea0"}]
=library-loaded,id="/boot/system/lib/libz.so.1.3",target-name="/boot/system/lib/libz.so.1.3",host-name="/boot/system/lib/libz.so.1.3",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000000d222c6b000",to="0x000000d222c81510"}]
=library-loaded,id="/boot/system/lib/libzstd.so.1.5.6",target-name="/boot/system/lib/libzstd.so.1.5.6",host-name="/boot/system/lib/libzstd.so.1.5.6",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000000e418d7b000",to="0x000000e418e91f78"}]
=breakpoint-modified,bkpt={number="4",type="breakpoint",disp="del",enabled="y",addr="0x0000004ca39def90",func="_start",file="../src/system/glue/start_dyn.c",fullname="/boot/data/packages/haiku/src/system/glue/start_dyn.c",line="36",thread-groups=["i1"],times="0",original-location="_start"}
=thread-created,id="2",group-id="i1"
~"[New team 249191 (minapp-netbeans) thread 249192 (team 249191 debug task)]\n"
~"\nThread "
~"1 \"minapp-netbeans\" received signal SIGTRAP, Trace/breakpoint trap.\n"
~"0x000000f751c1ccc1 in _kern_image_relocated () from /boot/system/runtime_loader\n"
*stopped,reason="signal-received",signal-name="SIGTRAP",signal-meaning="Trace/breakpoint trap",frame={addr="0x000000f751c1ccc1",func="_kern_image_relocated",args=[],from="/boot/system/runtime_loader",arch="i386:x86-64"},thread-id="1",stopped-threads="all"
19-stack-list-frames --thread 1
(gdb)
19^done,stack=[frame={level="0",addr="0x000000f751c1ccc1",func="_kern_image_relocated",from="/boot/system/runtime_loader",arch="i386:x86-64"},frame={level="1",addr="0x000000f751c10ae5",func="relocate_image",file="../src/system/runtime_loader/elf.cpp",fullname="/boot/data/packages/haiku/src/system/runtime_loader/elf.cpp",line="292",arch="i386:x86-64"},frame={level="2",addr="0x000000f751c10ae5",func="relocate_dependencies",file="../src/system/runtime_loader/elf.cpp",fullname="/boot/data/packages/haiku/src/system/runtime_loader/elf.cpp",line="309",arch="i386:x86-64"},frame={level="3",addr="0x000000f751c1179a",func="load_program",file="../src/system/runtime_loader/elf.cpp",fullname="/boot/data/packages/haiku/src/system/runtime_loader/elf.cpp",line="568",arch="i386:x86-64"},frame={level="4",addr="0x000000f751c18e43",func="runtime_loader",file="../src/system/runtime_loader/runtime_loader.cpp",fullname="/boot/data/packages/haiku/src/system/runtime_loader/runtime_loader.cpp",line="764",arch="i386:x86-64"},frame={level="5",addr="0x00007fffffdf7258",func="??",from="commpage",arch="i386:x86-64"},frame={level="6",addr="0x0000000000000000",func="??",arch="i386:x86-64"}]
No answer for: 18-exec-run
20-stack-list-arguments 0
21handle SIGTRAP stop
22handle SIGTRAP nopass
(gdb)
20^done,stack-args=[frame={level="0",args=[]},frame={level="1",args=[name="image"]},frame={level="2",args=[name="image"]},frame={level="3",args=[name="path",name="_entry"]},frame={level="4",args=[name="_args",name="commpage"]},frame={level="5",args=[]},frame={level="6",args=[]}]
(gdb)
&"handle SIGTRAP stop\n"
~"SIGTRAP is used by the debugger.\nAre you sure you want to change it? "
~"(y or n) [answered Y; input not from terminal]\n"
~"Signal Stop\tPrint\tPass to program\tDescription\n"
~"SIGTRAP Yes\tYes\tNo\t\tTrace/breakpoint trap\n"
21^done
(gdb)
&"handle SIGTRAP nopass\n"
~"SIGTRAP is used by the debugger.\nAre you sure you want to change it? "
~"(y or n) [answered Y; input not from terminal]\n"
~"Signal Stop\tPrint\tPass to program\tDescription\n"
~"SIGTRAP Yes\tYes\tNo\t\tTrace/breakpoint trap\n"
22^done
(gdb)
23-exec-continue
23^running
*running,thread-id="all"
(gdb)
=library-loaded,id="/boot/system/add-ons/locale/catalogs/plaintext",target-name="/boot/system/add-ons/locale/catalogs/plaintext",host-name="/boot/system/add-ons/locale/catalogs/plaintext",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000000eee7a18000",to="0x000000eee7a207c8"}]
=library-unloaded,id="/boot/system/add-ons/locale/catalogs/plaintext",target-name="/boot/system/add-ons/locale/catalogs/plaintext",host-name="/boot/system/add-ons/locale/catalogs/plaintext",thread-group="i1"
=library-loaded,id="/boot/system/add-ons/locale/catalogs/plaintext",target-name="/boot/system/add-ons/locale/catalogs/plaintext",host-name="/boot/system/add-ons/locale/catalogs/plaintext",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000000b8e86e2000",to="0x000000b8e86ea7c8"}]
=breakpoint-modified,bkpt={number="4",type="breakpoint",disp="del",enabled="y",addr="0x0000004ca39def90",func="_start",file="../src/system/glue/start_dyn.c",fullname="/boot/data/packages/haiku/src/system/glue/start_dyn.c",line="36",thread-groups=["i1"],times="1",original-location="_start"}
~"\n"
~"Thread 1 \"minapp-netbeans\" hit Temporary breakpoint 4, _start (argc=1, argv=0x7fa78cb66648, environment=0x7fa78cb66658) at ../src/system/glue/start_dyn.c:36\n"
~"36\t\targv_save = argv;\n"
*stopped,reason="breakpoint-hit",disp="del",bkptno="4",frame={addr="0x0000004ca39def90",func="_start",args=[{name="argc",value="1"},{name="argv",value="0x7fa78cb66648"},{name="environment",value="0x7fa78cb66658"}],file="../src/system/glue/start_dyn.c",fullname="/boot/data/packages/haiku/src/system/glue/start_dyn.c",line="36",arch="i386:x86-64"},thread-id="1",stopped-threads="all"
24-exec-continue
=breakpoint-deleted,id="4"
(gdb)
24^running
No answer for: 23-exec-continue
*running,thread-id="all"
(gdb)
=breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000004ca39df56d",func="TestWindow::TestWindow(BRect)",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="38",thread-groups=["i1"],times="1",original-location="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp:38"}
~"\n"
~"Thread 1 \"minapp-netbeans\" hit Breakpoint 2, TestWindow::TestWindow (this=0x10496998f1e0, frame=...) at MinApp.cpp:38\n"
~"38\t\t\tfView = new TestView(frame.OffsetToCopy(B_ORIGIN)/*.InsetByCopy(8, 8)*/, \"view\");\n"
*stopped,reason="breakpoint-hit",disp="keep",bkptno="2",frame={addr="0x0000004ca39df56d",func="TestWindow::TestWindow",args=[{name="this",value="0x10496998f1e0"},{name="frame",value="..."}],file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="38",arch="i386:x86-64"},thread-id="1",stopped-threads="all"
25-stack-list-frames --thread 1
(gdb)
25^done,stack=[frame={level="0",addr="0x0000004ca39df56d",func="TestWindow::TestWindow",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="38",arch="i386:x86-64"},frame={level="1",addr="0x0000004ca39df734",func="TestApplication::ReadyToRun",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="62",arch="i386:x86-64"},frame={level="2",addr="0x000000c45605c947",func="BApplication::DispatchMessage",file="../src/kits/app/Application.cpp",fullname="/boot/data/packages/haiku/src/kits/app/Application.cpp",line="1079",arch="i386:x86-64"},frame={level="3",addr="0x000000c456064764",func="BLooper::task_looper",file="../src/kits/app/Looper.cpp",fullname="/boot/data/packages/haiku/src/kits/app/Looper.cpp",line="1264",arch="i386:x86-64"},frame={level="4",addr="0x000000c4560596d1",func="BApplication::Run",file="../src/kits/app/Application.cpp",fullname="/boot/data/packages/haiku/src/kits/app/Application.cpp",line="595",arch="i386:x86-64"},frame={level="5",addr="0x000000c4560596d1",func="BApplication::Run",file="../src/kits/app/Application.cpp",fullname="/boot/data/packages/haiku/src/kits/app/Application.cpp",line="590",arch="i386:x86-64"},frame={level="6",addr="0x0000004ca39defff",func="main",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="71",arch="i386:x86-64"}]
No answer for: 24-exec-continue
26-stack-list-arguments 0
27-data-disassemble -s "$pc" -e "$pc+100" -- 1
(gdb)
26^done,stack-args=[frame={level="0",args=[name="this",name="frame"]},frame={level="1",args=[name="this"]},frame={level="2",args=[name="this",name="message",name="handler"]},frame={level="3",args=[name="this"]},frame={level="4",args=[name="this"]},frame={level="5",args=[name="this"]},frame={level="6",args=[]}]
(gdb)
27^done,asm_insns=[src_and_asm_line={line="38",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line_asm_insn=[{address="0x0000004ca39df56d",func-name="_ZN10TestWindowC2E5BRect",offset="111",inst="mov $0x110,%edi"},{address="0x0000004ca39df572",func-name="_ZN10TestWindowC2E5BRect",offset="116",inst="call 0x4ca39dec60 <_Znwm@plt>"},{address="0x0000004ca39df577",func-name="_ZN10TestWindowC2E5BRect",offset="121",inst="mov %rax,%rbx"},{address="0x0000004ca39df57a",func-name="_ZN10TestWindowC2E5BRect",offset="124",inst="mov $0x1,%r13d"},{address="0x0000004ca39df580",func-name="_ZN10TestWindowC2E5BRect",offset="130",inst="lea -0x28(%rbp),%rax"},{address="0x0000004ca39df584",func-name="_ZN10TestWindowC2E5BRect",offset="134",inst="mov 0x1205(%rip),%rdx # 0x4ca39e0790"},{address="0x0000004ca39df58b",func-name="_ZN10TestWindowC2E5BRect",offset="141",inst="mov %rdx,%rsi"},{address="0x0000004ca39df58e",func-name="_ZN10TestWindowC2E5BRect",offset="144",inst="mov %rax,%rdi"},{address="0x0000004ca39df591",func-name="_ZN10TestWindowC2E5BRect",offset="147",inst="call 0x4ca39ded60 <_ZN6BPointC1ERKS_@plt>"},{address="0x0000004ca39df596",func-name="_ZN10TestWindowC2E5BRect",offset="152",inst="lea -0x40(%rbp),%rax"},{address="0x0000004ca39df59a",func-name="_ZN10TestWindowC2E5BRect",offset="156",inst="lea -0x28(%rbp),%rdx"},{address="0x0000004ca39df59e",func-name="_ZN10TestWindowC2E5BRect",offset="160",inst="mov -0x60(%rbp),%rcx"},{address="0x0000004ca39df5a2",func-name="_ZN10TestWindowC2E5BRect",offset="164",inst="mov %rcx,%rsi"},{address="0x0000004ca39df5a5",func-name="_ZN10TestWindowC2E5BRect",offset="167",inst="mov %rax,%rdi"},{address="0x0000004ca39df5a8",func-name="_ZN10TestWindowC2E5BRect",offset="170",inst="call 0x4ca39dedf0 <_ZNK5BRect12OffsetToCopyE6BPoint@plt>"},{address="0x0000004ca39df5ad",func-name="_ZN10TestWindowC2E5BRect",offset="175",inst="lea -0x40(%rbp),%rax"},{address="0x0000004ca39df5b1",func-name="_ZN10TestWindowC2E5BRect",offset="179",inst="lea 0x3fc(%rip),%rdx # 0x4ca39df9b4"},{address="0x0000004ca39df5b8",func-name="_ZN10TestWindowC2E5BRect",offset="186",inst="mov %rax,%rsi"},{address="0x0000004ca39df5bb",func-name="_ZN10TestWindowC2E5BRect",offset="189",inst="mov %rbx,%rdi"},{address="0x0000004ca39df5be",func-name="_ZN10TestWindowC2E5BRect",offset="192",inst="call 0x4ca39ded90 <_ZN8TestViewC1E5BRectPKc@plt>"},{address="0x0000004ca39df5c3",func-name="_ZN10TestWindowC2E5BRect",offset="197",inst="mov -0x58(%rbp),%rax"},{address="0x0000004ca39df5c7",func-name="_ZN10TestWindowC2E5BRect",offset="201",inst="mov %rbx,0x1f8(%rax)"}]},src_and_asm_line={line="39",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line_asm_insn=[{address="0x0000004ca39df5ce",func-name="_ZN10TestWindowC2E5BRect",offset="208",inst="mov -0x58(%rbp),%rax"},{address="0x0000004ca39df5d2",func-name="_ZN10TestWindowC2E5BRect",offset="212",inst="mov 0x1f8(%rax),%rax"}]}]
(gdb)
28-exec-continue
28^running
*running,thread-id="all"
(gdb)
=thread-created,id="3",group-id="i1"
~"[New team 249191 (minapp-netbeans) thread 249220 (w>TestApp)]\n"
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000004ca39df37f",func="TestView::Draw(BRect)",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="18",thread-groups=["i1"],times="1",original-location="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp:18"}
~"[Switching to team 249191 (minapp-netbeans) thread 249220 (w>TestApp)]\n"
~"\n"
~"Thread 3 \"w>TestApp\" hit Breakpoint 1, TestView::Draw (this=<error reading variable: Cannot access memory at address 0x7fa3d0c424d8>, dirty=<error reading variable: Cannot access memory at address 0x7fa3d0c424d0>) at MinApp.cpp:18\n"
~"18\t\t\tBRect rect = Frame().OffsetToCopy(B_ORIGIN);\n"
*stopped,reason="breakpoint-hit",disp="keep",bkptno="1",frame={addr="0x0000004ca39df37f",func="TestView::Draw",args=[{name="this",value="<error reading variable: Cannot access memory at address 0x7fa3d0c424d8>"},{name="dirty",value="<error reading variable: Cannot access memory at address 0x7fa3d0c424d0>"}],file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="18",arch="i386:x86-64"},thread-id="3",stopped-threads="all"
29-stack-list-frames --thread 3
(gdb)
29^done,stack=[frame={level="0",addr="0x0000004ca39df37f",func="TestView::Draw",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="18",arch="i386:x86-64"}]
No answer for: 28-exec-continue
30-stack-list-arguments 0
(gdb)
30^done,stack-args=[frame={level="0",args=[name="this",name="dirty"]}]
(gdb)
31-stack-list-frames --thread 3
31^done,stack=[frame={level="0",addr="0x0000004ca39df37f",func="TestView::Draw",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="18",arch="i386:x86-64"}]
32-stack-list-arguments 1
(gdb)
32^done,stack-args=[frame={level="0",args=[{name="this",value="<error reading variable: Cannot access memory at address 0x7fa3d0c424d8>"},{name="dirty",value="<error reading variable: Cannot access memory at address 0x7fa3d0c424d0>"}]}]
(gdb)
33-exec-continue
33^running
*running,thread-id="all"
(gdb)
=breakpoint-modified,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x0000004ca39df652",func="TestWindow::Quit()",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="45",thread-groups=["i1"],times="1",original-location="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp:45"}
~"\n"
~"Thread 3 \"w>TestApp\" hit Breakpoint 3, TestWindow::Quit (this=<error reading variable: Cannot access memory at address 0x7fa3d0c426e8>) at MinApp.cpp:45\n"
~"45\t\t\tbe_app_messenger.SendMessage(B_QUIT_REQUESTED);\n"
*stopped,reason="breakpoint-hit",disp="keep",bkptno="3",frame={addr="0x0000004ca39df652",func="TestWindow::Quit",args=[{name="this",value="<error reading variable: Cannot access memory at address 0x7fa3d0c426e8>"}],file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="45",arch="i386:x86-64"},thread-id="3",stopped-threads="all"
34-stack-list-frames --thread 3
(gdb)
34^done,stack=[frame={level="0",addr="0x0000004ca39df652",func="TestWindow::Quit",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line="45",arch="i386:x86-64"}]
No answer for: 33-exec-continue
35-stack-list-arguments 1
36-data-disassemble -f "/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp" -l 18 -- 1
(gdb)
35^done,stack-args=[frame={level="0",args=[{name="this",value="<error reading variable: Cannot access memory at address 0x7fa3d0c426e8>"}]}]
(gdb)
36^done,asm_insns=[src_and_asm_line={line="16",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line_asm_insn=[{address="0x0000004ca39df36e",func-name="_ZN8TestView4DrawE5BRect",offset="0",inst="push %rbp"},{address="0x0000004ca39df36f",func-name="_ZN8TestView4DrawE5BRect",offset="1",inst="mov %rsp,%rbp"},{address="0x0000004ca39df372",func-name="_ZN8TestView4DrawE5BRect",offset="4",inst="push %rbx"},{address="0x0000004ca39df373",func-name="_ZN8TestView4DrawE5BRect",offset="5",inst="sub $0x78,%rsp"},{address="0x0000004ca39df377",func-name="_ZN8TestView4DrawE5BRect",offset="9",inst="mov %rdi,-0x78(%rbp)"},{address="0x0000004ca39df37b",func-name="_ZN8TestView4DrawE5BRect",offset="13",inst="mov %rsi,-0x80(%rbp)"}]},src_and_asm_line={line="17",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line_asm_insn=[]},src_and_asm_line={line="18",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line_asm_insn=[{address="0x0000004ca39df37f",func-name="_ZN8TestView4DrawE5BRect",offset="17",inst="mov -0x78(%rbp),%rdx"},{address="0x0000004ca39df383",func-name="_ZN8TestView4DrawE5BRect",offset="21",inst="lea -0x60(%rbp),%rax"},{address="0x0000004ca39df387",func-name="_ZN8TestView4DrawE5BRect",offset="25",inst="mov %rdx,%rsi"},{address="0x0000004ca39df38a",func-name="_ZN8TestView4DrawE5BRect",offset="28",inst="mov %rax,%rdi"},{address="0x0000004ca39df38d",func-name="_ZN8TestView4DrawE5BRect",offset="31",inst="call 0x4ca39ded40 <_ZNK5BView5FrameEv@plt>"},{address="0x0000004ca39df392",func-name="_ZN8TestView4DrawE5BRect",offset="36",inst="lea -0x48(%rbp),%rax"},{address="0x0000004ca39df396",func-name="_ZN8TestView4DrawE5BRect",offset="40",inst="mov 0x13f3(%rip),%rdx # 0x4ca39e0790"},{address="0x0000004ca39df39d",func-name="_ZN8TestView4DrawE5BRect",offset="47",inst="mov %rdx,%rsi"},{address="0x0000004ca39df3a0",func-name="_ZN8TestView4DrawE5BRect",offset="50",inst="mov %rax,%rdi"},{address="0x0000004ca39df3a3",func-name="_ZN8TestView4DrawE5BRect",offset="53",inst="call 0x4ca39ded60 <_ZN6BPointC1ERKS_@plt>"},{address="0x0000004ca39df3a8",func-name="_ZN8TestView4DrawE5BRect",offset="58",inst="lea -0x70(%rbp),%rax"},{address="0x0000004ca39df3ac",func-name="_ZN8TestView4DrawE5BRect",offset="62",inst="lea -0x48(%rbp),%rdx"},{address="0x0000004ca39df3b0",func-name="_ZN8TestView4DrawE5BRect",offset="66",inst="lea -0x60(%rbp),%rcx"},{address="0x0000004ca39df3b4",func-name="_ZN8TestView4DrawE5BRect",offset="70",inst="mov %rcx,%rsi"},{address="0x0000004ca39df3b7",func-name="_ZN8TestView4DrawE5BRect",offset="73",inst="mov %rax,%rdi"},{address="0x0000004ca39df3ba",func-name="_ZN8TestView4DrawE5BRect",offset="76",inst="call 0x4ca39dedf0 <_ZNK5BRect12OffsetToCopyE6BPoint@plt>"}]},src_and_asm_line={line="19",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line_asm_insn=[]},src_and_asm_line={line="20",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line_asm_insn=[{address="0x0000004ca39df3bf",func-name="_ZN8TestView4DrawE5BRect",offset="81",inst="movss -0x70(%rbp),%xmm1"},{address="0x0000004ca39df3c4",func-name="_ZN8TestView4DrawE5BRect",offset="86",inst="movss 0x608(%rip),%xmm0 # 0x4ca39df9d4"},{address="0x0000004ca39df3cc",func-name="_ZN8TestView4DrawE5BRect",offset="94",inst="addss %xmm1,%xmm0"},{address="0x0000004ca39df3d0",func-name="_ZN8TestView4DrawE5BRect",offset="98",inst="movss %xmm0,-0x70(%rbp)"},{address="0x0000004ca39df3d5",func-name="_ZN8TestView4DrawE5BRect",offset="103",inst="movss -0x6c(%rbp),%xmm1"},{address="0x0000004ca39df3da",func-name="_ZN8TestView4DrawE5BRect",offset="108",inst="movss 0x5f2(%rip),%xmm0 # 0x4ca39df9d4"},{address="0x0000004ca39df3e2",func-name="_ZN8TestView4DrawE5BRect",offset="116",inst="addss %xmm1,%xmm0"},{address="0x0000004ca39df3e6",func-name="_ZN8TestView4DrawE5BRect",offset="120",inst="movss %xmm0,-0x6c(%rbp)"}]},src_and_asm_line={line="21",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line_asm_insn=[{address="0x0000004ca39df3eb",func-name="_ZN8TestView4DrawE5BRect",offset="125",inst="mov -0x78(%rbp),%rax"},{address="0x0000004ca39df3ef",func-name="_ZN8TestView4DrawE5BRect",offset="129",inst="mov $0xff,%r8d"},{address="0x0000004ca39df3f5",func-name="_ZN8TestView4DrawE5BRect",offset="135",inst="mov $0x44,%ecx"},{address="0x0000004ca39df3fa",func-name="_ZN8TestView4DrawE5BRect",offset="140",inst="mov $0x44,%edx"},{address="0x0000004ca39df3ff",func-name="_ZN8TestView4DrawE5BRect",offset="145",inst="mov $0x44,%esi"},{address="0x0000004ca39df404",func-name="_ZN8TestView4DrawE5BRect",offset="150",inst="mov %rax,%rdi"},{address="0x0000004ca39df407",func-name="_ZN8TestView4DrawE5BRect",offset="153",inst="call 0x4ca39ded50 <_ZN5BView12SetHighColorEhhhh@plt>"}]},src_and_asm_line={line="22",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line_asm_insn=[{address="0x0000004ca39df40c",func-name="_ZN8TestView4DrawE5BRect",offset="158",inst="mov -0x78(%rbp),%rax"},{address="0x0000004ca39df410",func-name="_ZN8TestView4DrawE5BRect",offset="162",inst="mov 0x5c2(%rip),%edx # 0x4ca39df9d8"},{address="0x0000004ca39df416",func-name="_ZN8TestView4DrawE5BRect",offset="168",inst="movd %edx,%xmm0"},{address="0x0000004ca39df41a",func-name="_ZN8TestView4DrawE5BRect",offset="172",inst="mov %rax,%rdi"},{address="0x0000004ca39df41d",func-name="_ZN8TestView4DrawE5BRect",offset="175",inst="call 0x4ca39decf0 <_ZN5BView10SetPenSizeEf@plt>"}]},src_and_asm_line={line="23",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line_asm_insn=[{address="0x0000004ca39df422",func-name="_ZN8TestView4DrawE5BRect",offset="180",inst="mov -0x78(%rbp),%rbx"},{address="0x0000004ca39df426",func-name="_ZN8TestView4DrawE5BRect",offset="184",inst="lea -0x70(%rbp),%rdx"},{address="0x0000004ca39df42a",func-name="_ZN8TestView4DrawE5BRect",offset="188",inst="lea -0x40(%rbp),%rax"},{address="0x0000004ca39df42e",func-name="_ZN8TestView4DrawE5BRect",offset="192",inst="mov %rdx,%rsi"},{address="0x0000004ca39df431",func-name="_ZN8TestView4DrawE5BRect",offset="195",inst="mov %rax,%rdi"},{address="0x0000004ca39df434",func-name="_ZN8TestView4DrawE5BRect",offset="198",inst="call 0x4ca39dee00 <_ZN5BRectC1ERKS_@plt>"},{address="0x0000004ca39df439",func-name="_ZN8TestView4DrawE5BRect",offset="203",inst="mov 0x1360(%rip),%rax # 0x4ca39e07a0"},{address="0x0000004ca39df440",func-name="_ZN8TestView4DrawE5BRect",offset="210",inst="mov (%rax),%rdx"},{address="0x0000004ca39df443",func-name="_ZN8TestView4DrawE5BRect",offset="213",inst="lea -0x40(%rbp),%rax"},{address="0x0000004ca39df447",func-name="_ZN8TestView4DrawE5BRect",offset="217",inst="mov %rax,%rsi"},{address="0x0000004ca39df44a",func-name="_ZN8TestView4DrawE5BRect",offset="220",inst="mov %rbx,%rdi"},{address="0x0000004ca39df44d",func-name="_ZN8TestView4DrawE5BRect",offset="223",inst="call 0x4ca39dedb0 <_ZN5BView10StrokeRectE5BRect7pattern@plt>"}]},src_and_asm_line={line="24",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line_asm_insn=[{address="0x0000004ca39df452",func-name="_ZN8TestView4DrawE5BRect",offset="228",inst="mov -0x78(%rbp),%rax"},{address="0x0000004ca39df456",func-name="_ZN8TestView4DrawE5BRect",offset="232",inst="mov 0x578(%rip),%edx # 0x4ca39df9d4"},{address="0x0000004ca39df45c",func-name="_ZN8TestView4DrawE5BRect",offset="238",inst="movd %edx,%xmm0"},{address="0x0000004ca39df460",func-name="_ZN8TestView4DrawE5BRect",offset="242",inst="mov %rax,%rdi"},{address="0x0000004ca39df463",func-name="_ZN8TestView4DrawE5BRect",offset="245",inst="call 0x4ca39decf0 <_ZN5BView10SetPenSizeEf@plt>"}]},src_and_asm_line={line="25",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line_asm_insn=[{address="0x0000004ca39df468",func-name="_ZN8TestView4DrawE5BRect",offset="250",inst="mov -0x78(%rbp),%rbx"},{address="0x0000004ca39df46c",func-name="_ZN8TestView4DrawE5BRect",offset="254",inst="lea -0x30(%rbp),%rax"},{address="0x0000004ca39df470",func-name="_ZN8TestView4DrawE5BRect",offset="258",inst="lea -0x70(%rbp),%rdx"},{address="0x0000004ca39df474",func-name="_ZN8TestView4DrawE5BRect",offset="262",inst="mov %rdx,%rsi"},{address="0x0000004ca39df477",func-name="_ZN8TestView4DrawE5BRect",offset="265",inst="mov %rax,%rdi"},{address="0x0000004ca39df47a",func-name="_ZN8TestView4DrawE5BRect",offset="268",inst="call 0x4ca39dedd0 <_ZNK5BRect11RightBottomEv@plt>"},{address="0x0000004ca39df47f",func-name="_ZN8TestView4DrawE5BRect",offset="273",inst="lea -0x28(%rbp),%rax"},{address="0x0000004ca39df483",func-name="_ZN8TestView4DrawE5BRect",offset="277",inst="lea -0x70(%rbp),%rdx"},{address="0x0000004ca39df487",func-name="_ZN8TestView4DrawE5BRect",offset="281",inst="mov %rdx,%rsi"},{address="0x0000004ca39df48a",func-name="_ZN8TestView4DrawE5BRect",offset="284",inst="mov %rax,%rdi"},{address="0x0000004ca39df48d",func-name="_ZN8TestView4DrawE5BRect",offset="287",inst="call 0x4ca39ded80 <_ZNK5BRect7LeftTopEv@plt>"},{address="0x0000004ca39df492",func-name="_ZN8TestView4DrawE5BRect",offset="292",inst="mov 0x1307(%rip),%rax # 0x4ca39e07a0"},{address="0x0000004ca39df499",func-name="_ZN8TestView4DrawE5BRect",offset="299",inst="mov (%rax),%rcx"},{address="0x0000004ca39df49c",func-name="_ZN8TestView4DrawE5BRect",offset="302",inst="lea -0x30(%rbp),%rdx"},{address="0x0000004ca39df4a0",func-name="_ZN8TestView4DrawE5BRect",offset="306",inst="lea -0x28(%rbp),%rax"},{address="0x0000004ca39df4a4",func-name="_ZN8TestView4DrawE5BRect",offset="310",inst="mov %rax,%rsi"},{address="0x0000004ca39df4a7",func-name="_ZN8TestView4DrawE5BRect",offset="313",inst="mov %rbx,%rdi"},{address="0x0000004ca39df4aa",func-name="_ZN8TestView4DrawE5BRect",offset="316",inst="call 0x4ca39dec70 <_ZN5BView10StrokeLineE6BPointS0_7pattern@plt>"}]},src_and_asm_line={line="26",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line_asm_insn=[{address="0x0000004ca39df4af",func-name="_ZN8TestView4DrawE5BRect",offset="321",inst="mov -0x78(%rbp),%rbx"},{address="0x0000004ca39df4b3",func-name="_ZN8TestView4DrawE5BRect",offset="325",inst="lea -0x20(%rbp),%rax"},{address="0x0000004ca39df4b7",func-name="_ZN8TestView4DrawE5BRect",offset="329",inst="lea -0x70(%rbp),%rdx"},{address="0x0000004ca39df4bb",func-name="_ZN8TestView4DrawE5BRect",offset="333",inst="mov %rdx,%rsi"},{address="0x0000004ca39df4be",func-name="_ZN8TestView4DrawE5BRect",offset="336",inst="mov %rax,%rdi"},{address="0x0000004ca39df4c1",func-name="_ZN8TestView4DrawE5BRect",offset="339",inst="call 0x4ca39dee50 <_ZNK5BRect10LeftBottomEv@plt>"},{address="0x0000004ca39df4c6",func-name="_ZN8TestView4DrawE5BRect",offset="344",inst="lea -0x18(%rbp),%rax"},{address="0x0000004ca39df4ca",func-name="_ZN8TestView4DrawE5BRect",offset="348",inst="lea -0x70(%rbp),%rdx"},{address="0x0000004ca39df4ce",func-name="_ZN8TestView4DrawE5BRect",offset="352",inst="mov %rdx,%rsi"},{address="0x0000004ca39df4d1",func-name="_ZN8TestView4DrawE5BRect",offset="355",inst="mov %rax,%rdi"},{address="0x0000004ca39df4d4",func-name="_ZN8TestView4DrawE5BRect",offset="358",inst="call 0x4ca39ded20 <_ZNK5BRect8RightTopEv@plt>"},{address="0x0000004ca39df4d9",func-name="_ZN8TestView4DrawE5BRect",offset="363",inst="mov 0x12c0(%rip),%rax # 0x4ca39e07a0"},{address="0x0000004ca39df4e0",func-name="_ZN8TestView4DrawE5BRect",offset="370",inst="mov (%rax),%rcx"},{address="0x0000004ca39df4e3",func-name="_ZN8TestView4DrawE5BRect",offset="373",inst="lea -0x20(%rbp),%rdx"},{address="0x0000004ca39df4e7",func-name="_ZN8TestView4DrawE5BRect",offset="377",inst="lea -0x18(%rbp),%rax"},{address="0x0000004ca39df4eb",func-name="_ZN8TestView4DrawE5BRect",offset="381",inst="mov %rax,%rsi"},{address="0x0000004ca39df4ee",func-name="_ZN8TestView4DrawE5BRect",offset="384",inst="mov %rbx,%rdi"},{address="0x0000004ca39df4f1",func-name="_ZN8TestView4DrawE5BRect",offset="387",inst="call 0x4ca39dec70 <_ZN5BView10StrokeLineE6BPointS0_7pattern@plt>"}]},src_and_asm_line={line="27",file="MinApp.cpp",fullname="/boot/home/.netbeans/remote/192.168.2.102/tablet1-Windows-x86_64/C/Users/chugi/Documents/NetBeansProjects/MinApp-Netbeans/MinApp.cpp",line_asm_insn=[{address="0x0000004ca39df4f6",func-name="_ZN8TestView4DrawE5BRect",offset="392",inst="nop"},{address="0x0000004ca39df4f7",func-name="_ZN8TestView4DrawE5BRect",offset="393",inst="mov -0x8(%rbp),%rbx"},{address="0x0000004ca39df4fb",func-name="_ZN8TestView4DrawE5BRect",offset="397",inst="leave"},{address="0x0000004ca39df4fc",func-name="_ZN8TestView4DrawE5BRect",offset="398",inst="ret"}]}]
(gdb)
37-exec-continue
37^running
*running,thread-id="all"
(gdb)
~"[team 249191 (minapp-netbeans) thread 249220 exited]\n"
=thread-exited,id="3",group-id="i1"
~"[Inferior 1 (team 249191) exited normally]\n"
=thread-exited,id="1",group-id="i1"
=thread-exited,id="2",group-id="i1"
=thread-group-exited,id="i1",exit-code="0"
*stopped,reason="exited-normally"
38-stack-list-frames --thread 3
(gdb)
38^error,msg="Invalid thread id: 3"
No answer for: 37-exec-continue
(gdb)
gdb terminated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment