Units API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/units/1071988/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbookkerneldebug_index/en/?format=api",
    "source": [
        " 1:# cd /usr/obj/usr/src/sys/KERNCONF\n 2:# kgdb kernel.debug /var/crash/vmcore.0\n 3:GNU gdb 5.2.1 (FreeBSD)\n 4:Copyright 2002 Free Software Foundation, Inc.\n 5:GDB is free software, covered by the GNU General Public License, and you are\n 6:welcome to change it and/or distribute copies of it under certain conditions.\n 7:Type \"show copying\" to see the conditions.\n 8:There is absolutely no warranty for GDB.  Type \"show warranty\" for details.\n 9:This GDB was configured as \"i386-undermydesk-freebsd\"...\n10:panic: page fault\n11:panic messages:\n12:---\n13:Fatal trap 12: page fault while in kernel mode\n14:cpuid = 0; apic id = 00\n15:fault virtual address   = 0x300\n16:fault code:             = supervisor read, page not present\n17:instruction pointer     = 0x8:0xc0713860\n18:stack pointer           = 0x10:0xdc1d0b70\n19:frame pointer           = 0x10:0xdc1d0b7c\n20:code segment            = base 0x0, limit 0xfffff, type 0x1b\n21:                        = DPL 0, pres 1, def32 1, gran 1\n22:processor eflags        = resume, IOPL = 0\n23:current process         = 14394 (uname)\n24:trap number             = 12\n25:panic: page fault\n26      cpuid = 0;\n27:Stack backtrace:\n28\n29:syncing disks, buffers remaining... 2199 2199 panic: mi_switch: switch in a critical section\n30:cpuid = 0;\n31:Uptime: 2h43m19s\n32:Dumping 255 MB\n33: 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240\n34:---\n35:Reading symbols from /boot/kernel/snd_maestro3.ko...done.\n36:Loaded symbols for /boot/kernel/snd_maestro3.ko\n37:Reading symbols from /boot/kernel/snd_pcm.ko...done.\n38:Loaded symbols for /boot/kernel/snd_pcm.ko\n39:#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240\n40:240             dumping++;\n41:(kgdb) list *0xc0713860\n42:0xc0713860 is in lapic_ipi_wait (/usr/src/sys/i386/i386/local_apic.c:663).\n43:658                     incr = 0;\n44:659                     delay = 1;\n45:660             } else\n46:661                     incr = 1;\n47:662             for (x = 0; x < delay; x += incr) {\n48:663                     if ((lapic->icr_lo & APIC_DELSTAT_MASK) == APIC_DELSTAT_IDLE)\n49:664                             return (1);\n50:665                     ia32_pause();\n51:666             }\n52:667             return (0);\n53:(kgdb) backtrace\n54:#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240\n55:#1  0xc055fd9b in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:372\n56:#2  0xc056019d in panic () at /usr/src/sys/kern/kern_shutdown.c:550\n57:#3  0xc0567ef5 in mi_switch () at /usr/src/sys/kern/kern_synch.c:470\n58:#4  0xc055fa87 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:312\n59:#5  0xc056019d in panic () at /usr/src/sys/kern/kern_shutdown.c:550\n60:#6  0xc0720c66 in trap_fatal (frame=0xdc1d0b30, eva=0)\n61:    at /usr/src/sys/i386/i386/trap.c:821\n62:#7  0xc07202b3 in trap (frame=\n63:      {tf_fs = -1065484264, tf_es = -1065484272, tf_ds = -1065484272, tf_edi = 1, tf_esi = 0, tf_ebp = -602076292, tf_isp = -602076324, tf_ebx = 0, tf_edx = 0, tf_ecx = 1000000, tf_eax = 243, tf_trapno = 12, tf_err = 0, tf_eip = -1066321824, tf_cs = 8, tf_eflags = 65671, tf_esp = 243, tf_ss = 0})\n64:    at /usr/src/sys/i386/i386/trap.c:250\n65:#8  0xc070c9f8 in calltrap () at {standard input}:94\n66:#9  0xc07139f3 in lapic_ipi_vectored (vector=0, dest=0)\n67:    at /usr/src/sys/i386/i386/local_apic.c:733\n68:#10 0xc0718b23 in ipi_selected (cpus=1, ipi=1)\n69:    at /usr/src/sys/i386/i386/mp_machdep.c:1115\n70:#11 0xc057473e in kseq_notify (ke=0xcc05e360, cpu=0)\n71:    at /usr/src/sys/kern/sched_ule.c:520\n72:#12 0xc0575cad in sched_add (td=0xcbcf5c80)\n73:    at /usr/src/sys/kern/sched_ule.c:1366\n74:#13 0xc05666c6 in setrunqueue (td=0xcc05e360)\n75:    at /usr/src/sys/kern/kern_switch.c:422\n76:#14 0xc05752f4 in sched_wakeup (td=0xcbcf5c80)\n77:    at /usr/src/sys/kern/sched_ule.c:999\n78:#15 0xc056816c in setrunnable (td=0xcbcf5c80)\n79:    at /usr/src/sys/kern/kern_synch.c:570\n80:#16 0xc0567d53 in wakeup (ident=0xcbcf5c80)\n81:    at /usr/src/sys/kern/kern_synch.c:411\n82:#17 0xc05490a8 in exit1 (td=0xcbcf5b40, rv=0)\n83:    at /usr/src/sys/kern/kern_exit.c:509\n84:#18 0xc0548011 in sys_exit () at /usr/src/sys/kern/kern_exit.c:102\n85:#19 0xc0720fd0 in syscall (frame=\n86:      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = -1, tf_ebp = -1077940712, tf_isp = -602075788, tf_ebx = 672411944, tf_edx = 10, tf_ecx = 672411600, tf_eax = 1, tf_trapno = 12, tf_err = 2, tf_eip = 671899563, tf_cs = 31, tf_eflags = 642, tf_esp = -1077940740, tf_ss = 47})\n87:    at /usr/src/sys/i386/i386/trap.c:1010\n88:#20 0xc070ca4d in Xint0x80_syscall () at {standard input}:136\n89:---Can't read userspace from dump, or kernel process---\n90:(kgdb) quit\n"
    ],
    "previous_source": "",
    "target": [
        " 1:# cd /usr/obj/usr/src/sys/KERNCONF\n 2:# kgdb kernel.debug /var/crash/vmcore.0\n 3:GNU gdb 5.2.1 (FreeBSD)\n 4:Copyright 2002 Free Software Foundation, Inc.\n 5:GDB is free software, covered by the GNU General Public License, and you are\n 6:welcome to change it and/or distribute copies of it under certain conditions.\n 7:Type \"show copying\" to see the conditions.\n 8:There is absolutely no warranty for GDB.  Type \"show warranty\" for details.\n 9:This GDB was configured as \"i386-undermydesk-freebsd\"...\n10:panic: page fault\n11:panic messages:\n12:---\n13:Fatal trap 12: page fault while in kernel mode\n14:cpuid = 0; apic id = 00\n15:fault virtual address   = 0x300\n16:fault code:             = supervisor read, page not present\n17:instruction pointer     = 0x8:0xc0713860\n18:stack pointer           = 0x10:0xdc1d0b70\n19:frame pointer           = 0x10:0xdc1d0b7c\n20:code segment            = base 0x0, limit 0xfffff, type 0x1b\n21:                        = DPL 0, pres 1, def32 1, gran 1\n22:processor eflags        = resume, IOPL = 0\n23:current process         = 14394 (uname)\n24:trap number             = 12\n25:panic: page fault\n26      cpuid = 0;\n27:Stack backtrace:\n28\n29:syncing disks, buffers remaining... 2199 2199 panic: mi_switch: switch in a critical section\n30:cpuid = 0;\n31:Uptime: 2h43m19s\n32:Dumping 255 MB\n33: 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240\n34:---\n35:Reading symbols from /boot/kernel/snd_maestro3.ko...done.\n36:Loaded symbols for /boot/kernel/snd_maestro3.ko\n37:Reading symbols from /boot/kernel/snd_pcm.ko...done.\n38:Loaded symbols for /boot/kernel/snd_pcm.ko\n39:#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240\n40:240             dumping++;\n41:(kgdb) list *0xc0713860\n42:0xc0713860 is in lapic_ipi_wait (/usr/src/sys/i386/i386/local_apic.c:663).\n43:658                     incr = 0;\n44:659                     delay = 1;\n45:660             } else\n46:661                     incr = 1;\n47:662             for (x = 0; x < delay; x += incr) {\n48:663                     if ((lapic->icr_lo & APIC_DELSTAT_MASK) == APIC_DELSTAT_IDLE)\n49:664                             return (1);\n50:665                     ia32_pause();\n51:666             }\n52:667             return (0);\n53:(kgdb) backtrace\n54:#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240\n55:#1  0xc055fd9b in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:372\n56:#2  0xc056019d in panic () at /usr/src/sys/kern/kern_shutdown.c:550\n57:#3  0xc0567ef5 in mi_switch () at /usr/src/sys/kern/kern_synch.c:470\n58:#4  0xc055fa87 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:312\n59:#5  0xc056019d in panic () at /usr/src/sys/kern/kern_shutdown.c:550\n60:#6  0xc0720c66 in trap_fatal (frame=0xdc1d0b30, eva=0)\n61:    at /usr/src/sys/i386/i386/trap.c:821\n62:#7  0xc07202b3 in trap (frame=\n63:      {tf_fs = -1065484264, tf_es = -1065484272, tf_ds = -1065484272, tf_edi = 1, tf_esi = 0, tf_ebp = -602076292, tf_isp = -602076324, tf_ebx = 0, tf_edx = 0, tf_ecx = 1000000, tf_eax = 243, tf_trapno = 12, tf_err = 0, tf_eip = -1066321824, tf_cs = 8, tf_eflags = 65671, tf_esp = 243, tf_ss = 0})\n64:    at /usr/src/sys/i386/i386/trap.c:250\n65:#8  0xc070c9f8 in calltrap () at {standard input}:94\n66:#9  0xc07139f3 in lapic_ipi_vectored (vector=0, dest=0)\n67:    at /usr/src/sys/i386/i386/local_apic.c:733\n68:#10 0xc0718b23 in ipi_selected (cpus=1, ipi=1)\n69:    at /usr/src/sys/i386/i386/mp_machdep.c:1115\n70:#11 0xc057473e in kseq_notify (ke=0xcc05e360, cpu=0)\n71:    at /usr/src/sys/kern/sched_ule.c:520\n72:#12 0xc0575cad in sched_add (td=0xcbcf5c80)\n73:    at /usr/src/sys/kern/sched_ule.c:1366\n74:#13 0xc05666c6 in setrunqueue (td=0xcc05e360)\n75:    at /usr/src/sys/kern/kern_switch.c:422\n76:#14 0xc05752f4 in sched_wakeup (td=0xcbcf5c80)\n77:    at /usr/src/sys/kern/sched_ule.c:999\n78:#15 0xc056816c in setrunnable (td=0xcbcf5c80)\n79:    at /usr/src/sys/kern/kern_synch.c:570\n80:#16 0xc0567d53 in wakeup (ident=0xcbcf5c80)\n81:    at /usr/src/sys/kern/kern_synch.c:411\n82:#17 0xc05490a8 in exit1 (td=0xcbcf5b40, rv=0)\n83:    at /usr/src/sys/kern/kern_exit.c:509\n84:#18 0xc0548011 in sys_exit () at /usr/src/sys/kern/kern_exit.c:102\n85:#19 0xc0720fd0 in syscall (frame=\n86:      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = -1, tf_ebp = -1077940712, tf_isp = -602075788, tf_ebx = 672411944, tf_edx = 10, tf_ecx = 672411600, tf_eax = 1, tf_trapno = 12, tf_err = 2, tf_eip = 671899563, tf_cs = 31, tf_eflags = 642, tf_esp = -1077940740, tf_ss = 47})\n87:    at /usr/src/sys/i386/i386/trap.c:1010\n88:#20 0xc070ca4d in Xint0x80_syscall () at {standard input}:136\n89:---Can't read userspace from dump, or kernel process---\n90:(kgdb) quit\n"
    ],
    "id_hash": 8375668123452812415,
    "content_hash": 8375668123452812415,
    "location": "documentation/content/en/books/developers-handbook/kerneldebug/_index.adoc:301",
    "context": "",
    "note": "type: delimited block . 4",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 43,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 559,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1071988/?format=api",
    "priority": 100,
    "id": 1071988,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbookkerneldebug_index/en/?checksum=f43c59c836f7ac7f",
    "url": "https://translate-dev.freebsd.org/api/units/1071988/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-05-23T12:50:40.088308Z"
}