This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) info threads | |
Id Target Id Frame | |
* 1 Thread 0x7f7b4cce1e00 (LWP 211878) "mcrouter" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 | |
2 Thread 0x7f7b43fff6c0 (LWP 211882) "mcr-cpuaux-0" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 | |
3 Thread 0x7f7b49e0a6c0 (LWP 211879) "IOThreadPool0" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 | |
(gdb) thread 1 | |
[Switching to thread 1 (Thread 0x7f7b4cce1e00 (LWP 211878))] | |
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 | |
38 cmpq $-4095, %rax /* Check %rax for error. */ | |
(gdb) bt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Copyright 2024 Máté Szabó | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* https://www.apache.org/licenses/LICENSE-2.0 | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/src/php/Zend/zend_alloc.c:1255:31: runtime error: member access within misaligned address 0x7f49b9cd523f for type 'struct zend_mm_free_slot', which requires 8 byte alignment | |
0x7f49b9cd523f: note: pointer points here | |
00 00 00 00 00 70 52 cd b9 49 7f 00 00 01 00 00 00 08 03 00 00 2d 01 00 00 00 00 00 00 00 7e 02 | |
^ | |
/usr/src/php/Zend/zend_string.h:146:2: runtime error: member access within misaligned address 0x7f49b9cd523f for type 'struct zend_string', which requires 8 byte alignment | |
0x7f49b9cd523f: note: pointer points here | |
00 00 00 00 00 70 52 cd b9 49 7f 00 00 01 00 00 00 08 03 00 00 2d 01 00 00 00 00 00 00 00 7e 02 | |
^ | |
/usr/src/php/Zend/zend_types.h:1155:14: runtime error: member access within misaligned address 0x7f49b9cd523f for type 'struct zend_refcounted_h', which requires 4 byte alignment | |
0x7f49b9cd523f: note: pointer points here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) bt | |
#0 zend_mm_alloc_small (bin_num=3, heap=0x7f8213800040) at /usr/src/php/Zend/zend_alloc.c:1255 | |
#1 zend_mm_alloc_heap (size=<optimized out>, heap=0x7f8213800040) at /usr/src/php/Zend/zend_alloc.c:1326 | |
#2 _emalloc (size=<optimized out>) at /usr/src/php/Zend/zend_alloc.c:2540 | |
#3 0x000056315a2b0188 in zend_string_alloc (persistent=false, len=6) at /usr/src/php/Zend/zend_string.h:144 | |
#4 zend_string_init (persistent=false, len=6, str=0x7f81e1ff1fb7 "Jeroen\\") at /usr/src/php/Zend/zend_string.h:166 | |
#5 php_trim_int (mode=2, what_len=<optimized out>, what=<optimized out>, str=<optimized out>) | |
at /usr/src/php/ext/standard/string.c:824 | |
#6 php_do_trim (mode=2, return_value=0x7f8213814bf0, execute_data=<optimized out>) at /usr/src/php/ext/standard/string.c:855 | |
#7 zif_rtrim (execute_data=<optimized out>, return_value=0x7f8213814bf0) at /usr/src/php/ext/standard/string.c:869 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -E 's/TRACE-[0-9]+\$([^\$]+)\$[0-9]+/\1/g' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::io; | |
use std::str::FromStr; | |
const FISH_REPRODUCTION_CYCLE: usize = 7; | |
const FISH_INCUBATION_PERIOD: usize = 9; | |
fn calc_fish_pop(fish_pop: &Vec<u32>, max_days: usize) { | |
let mut fish_by_day: [u64; FISH_REPRODUCTION_CYCLE] = [0; FISH_REPRODUCTION_CYCLE]; | |
let mut total_fish_count: u64 = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'GET http://finalfantasy.sandbox-sres1.fandom.com/wiki/Special:RecentChanges?hidebots=1&limit=500&days=90&enhanced=1&urlversion=2' | vegeta attack -rate=1/s -proxy-header=border.service.sjc.consul:80 -duration=200s | vegeta report | |
Requests [total, rate, throughput] 200, 1.01, 1.00 | |
Duration [total, attack, wait] 3m20s, 3m19s, 817.895ms | |
Latencies [min, mean, 50, 90, 95, 99, max] 131.724ms, 1.33s, 148.657ms, 4.263s, 5.103s, 5.523s, 5.592s | |
Bytes In [total, mean] 323323544, 1616617.72 | |
Bytes Out [total, mean] 0, 0.00 | |
Success [ratio] 100.00% | |
Status Codes [code:count] 200:200 | |
Error Set: |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SMW\Tests\DIPropertyTest::testCanConstruct with data set #0 (0) | |
Trying to access array offset on value of type int | |
/usr/src/myapp/extensions/SemanticMediaWiki/includes/dataitems/SMW_DI_Property.php:88 | |
/usr/src/myapp/extensions/SemanticMediaWiki/tests/phpunit/includes/dataitems/DIPropertyTest.php:37 | |
/usr/src/myapp/maintenance/doMaintenance.php:99 | |
SMW\Tests\DIPropertyTest::testCanConstruct with data set #1 (243.35353000000001) | |
Trying to access array offset on value of type float | |
/usr/src/myapp/extensions/SemanticMediaWiki/includes/dataitems/SMW_DI_Property.php:88 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UnexpectedValueException from line 282 of /workspace/src/includes/db/MWLBFactory.php: $wgDBprefix is set to 'unittest_' but the database type is 'postgres'. MediaWiki does not support using a table prefix with this RDBMS type. | |
23:54:10 Backtrace: | |
23:54:10 #0 /workspace/src/includes/db/MWLBFactory.php(267): MWLBFactory::reportIfPrefixSet(string, string) | |
23:54:10 #1 /workspace/src/includes/db/MWLBFactory.php(156): MWLBFactory::assertValidServerConfigs(array, string, string) | |
23:54:10 #2 /workspace/src/includes/ServiceWiring.php(190): MWLBFactory::applyDefaultConfig(array, MediaWiki\Config\ServiceOptions, ConfiguredReadOnlyMode, APCUBagOStuff, HashBagOStuff, WANObjectCache) | |
23:54:10 #3 /workspace/src/includes/libs/services/ServiceContainer.php(442): Wikimedia\Services\ServiceContainer->{closure}(MediaWiki\MediaWikiServices) | |
23:54:10 #4 /workspace/src/includes/libs/services/ServiceContainer.php(421): Wikimedia\Services\ServiceContainer->createService(string) | |
23:54:10 #5 /workspace/src/includes/MediaWikiServices.ph |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ -z "$1" ]] || [[ -z "$2" ]]; then | |
echo "usage: kubekurwa [context] [command] [...arguments]" | |
exit 1 | |
fi | |
CONTEXT=kube-$1 | |
COMMAND=$2 |
NewerOlder