<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[thefzym的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/thefzym</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; thefzym]]></copyright><item><title><![CDATA[Linux core dump]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/150427858</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/150427858</guid><author>thefzym</author><pubDate>Fri, 15 Aug 2025 17:33:51 +0800</pubDate><description><![CDATA[允许生成 core dump 文件（0 表示禁用，大于 0 的数值表示限制大小，单位为 blocks）# 例如，将 core dump 文件保存到目录，命名格式包含进程 ID 和程序名#gdb 调试 , 当使用gdb调试包含命令行参数的程序生成的 core dump 文件时，不需要额外处理输入参数，因为 core dump 已经记录了程序崩溃时的完整状态（包括命令行参数、内存数据等）gdb [可执行程序路径] [core dump 文件路径]]]></description><category></category></item><item><title><![CDATA[docker 使用汇集]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/149442367</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/149442367</guid><author>thefzym</author><pubDate>Fri, 18 Jul 2025 12:13:04 +0800</pubDate><description><![CDATA[docker cp my-container:/app/output.txt ./local/output.txt  # 容器 → 宿主机。docker save <镜像名>:<标签> -o <输出文件名>.tar。# 语法：docker cp <源路径> <容器ID或名称>:<目标路径>docker commit <容器ID或名称> <新镜像名>:<标签>docker tag <原镜像名>:<标签> <新镜像名>:<标签>docker rm <容器ID或名称>  # 删除容器。]]></description><category></category></item><item><title><![CDATA[Qt for Android ]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/145931632</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/145931632</guid><author>thefzym</author><pubDate>Fri, 28 Feb 2025 16:20:42 +0800</pubDate><description><![CDATA[需要版本对应, 否则 Kit 的识别会错误, 或者后面编译的时候出现编译错误, 类似 Android stuido 中的编译插件不匹配的一堆奇怪问题。]]></description><category></category></item><item><title><![CDATA[搭建云服务]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/144964819</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/144964819</guid><author>thefzym</author><pubDate>Mon, 06 Jan 2025 15:28:36 +0800</pubDate><description><![CDATA[2. 发布应用的时候, 需要携带 mysql-connector 的 plugins 目录, 里面有相应的登录校验 dll, 否则应用启动报错.  插件依赖自身的window service 系统, 目前需要 2019 及以上, 2012会报错 fido2.dll miss。3. 云应用服务器需要在云控制台进行 网络 入站, 出站的规则建立, 否则ping不通, 也无法建立 tcp 连接。目标为全球能够访问的后台服务支持, 轻量级数据计算 + 中性数据存储支持。]]></description><category></category></item><item><title><![CDATA[Android 包重签名]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/141718421</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/141718421</guid><author>thefzym</author><pubDate>Fri, 30 Aug 2024 14:58:54 +0800</pubDate><description><![CDATA[android apk 重签名打包]]></description><category></category></item><item><title><![CDATA[关于 IOS 开发中的crash 分析]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/140711996</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/140711996</guid><author>thefzym</author><pubDate>Fri, 26 Jul 2024 14:44:40 +0800</pubDate><description><![CDATA[iOS debug]]></description><category></category></item><item><title><![CDATA[Android Trace]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/124249551</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/124249551</guid><author>thefzym</author><pubDate>Thu, 13 Jun 2024 20:57:41 +0800</pubDate><description><![CDATA[Performance trace]]></description><category></category></item><item><title><![CDATA[关于 QT 全平台编写 APP 的一些记录]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/139663628</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/139663628</guid><author>thefzym</author><pubDate>Thu, 13 Jun 2024 20:51:43 +0800</pubDate><description><![CDATA[下载 Qt for Android, 我用的是 5.9.2, 配置好环境后 (NDK , JDK, Android SDK),  可以直接编译出Android 的APK, 唯一需要注意的是 权限问题, 已经初始化的时候, 需要调用 java 层的代码, 则需要写反射函数进行调用, 注意函数签名的定义只能是 java 的对象,不能是基本数据类型。每次更改库或者文件 ,qt先编译, 然后需要在 xcode  在build 一下, 否者直接 run 会是旧的 ipa 安装上去跑..]]></description><category></category></item><item><title><![CDATA[PCL 综合]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/7334578</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/7334578</guid><author>thefzym</author><pubDate>Tue, 20 Apr 2021 17:31:41 +0800</pubDate><description><![CDATA[1. SP 的使用
调用函数后SP必然恢复到原来的位置，stack使用多少可以看调用时的反汇编得知，估算当前的DDR空间是否满足。
2.LinkScript& StartEntry
启动镜像的启动位置可以在script中设置，但需要注意连接对象(*.o)的排列顺序，会受到影响，结果可能不是你想要的，StartEntry可以指定入口函数位置。通常是 except vector tabl]]></description><category></category></item><item><title><![CDATA[Android JNI ref table]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/115914046</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/115914046</guid><author>thefzym</author><pubDate>Tue, 20 Apr 2021 17:30:10 +0800</pubDate><description><![CDATA[在android中的JNI编程中,可能会经常和相关的类型转换打交道,涉及java和C++的类型互相转换,这里应该大家都遇到过引用的问题, 主要会用到以下几个函数:

1.FindClass

例如，


jclass ref= (env)-&gt;FindClass("java/lang/String");

env-&gt;DeleteLocalRef(ref); 




2.NewString/ NewStringUTF/NewObject/NewByteArray

例如，


jstring ..]]></description><category></category></item><item><title><![CDATA[Android Texture 相关]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/113994721</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/113994721</guid><author>thefzym</author><pubDate>Tue, 23 Feb 2021 19:29:03 +0800</pubDate><description><![CDATA[首先你明白 Android 中的相关控件的定义和区别吗?

SurfaceView:因此它本质上是一个View。但与普通View不同的是，它有自己的Surface
GLSurfaceView:作为SurfaceView的补充。它可以看作是SurfaceView的一种典型使用模式。
SurfaceTexture:和SurfaceView不同的是，它对图像流的处理并不直接显示，而是转为GL外部纹理，因此可用于图像流数据的二次处理（如Camera滤镜，桌面特效等）. Android中，Camera设备、视频解..]]></description><category></category></item><item><title><![CDATA[Hook Debug 系统API]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/113887719</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/113887719</guid><author>thefzym</author><pubDate>Sat, 20 Feb 2021 17:24:14 +0800</pubDate><description><![CDATA[Hook Debug 系统API

typedefint(*CLOSE)(int);

staticvoid*handle=NULL;

staticCLOSEsys_close=NULL;



AGORA_APIintAGORA_CALLclose(intfd)

{

if(!handle)

{

handle=dlopen("libc.so",RTLD_LAZY);

sys_close=(CLOSE)dlsym(handle,"...]]></description><category></category></item><item><title><![CDATA[JNI 编写指导]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/105968045</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/105968045</guid><author>thefzym</author><pubDate>Thu, 07 May 2020 11:03:45 +0800</pubDate><description><![CDATA[1. JNI 加载SO库的时候，默认会调用接口JNI_OnLoad，里面可以对函数接口进行注册，类似如下


void JNICALL JNI_OnUnload(JavaVM* vm, void* reserved) {
}

jint JNI_OnLoad(JavaVM* vm, void* reserved) {
   JNIEnv* env = NULL;
   jint result =...]]></description><category></category></item><item><title><![CDATA[HTTPS  & WSS 证书问题]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/105523886</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/105523886</guid><author>thefzym</author><pubDate>Tue, 14 Apr 2020 23:09:11 +0800</pubDate><description><![CDATA[目前免费的一年一次，请不要忘记提前，否则证书已过期就错误不断了

流程是先申请这个认证，比如在阿里云，然后你域名服务的地方，DNS添加记录，

然后过一段时间DNS验证后，申请证书，过段时间就会签发成功，完成后就剩下给服务部署了。、

签发的证书密码不允许更改

keytool -importkeystore -srckeystore 1539113729817.pfx -destkeystor...]]></description><category></category></item><item><title><![CDATA[OPENSIPS 配置记录]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/104924392</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/104924392</guid><author>thefzym</author><pubDate>Tue, 17 Mar 2020 16:15:29 +0800</pubDate><description><![CDATA[关于acc , 2.2 之前的网上很多就不说了,之后的要兼容,需要就行一下修改

因为参数改变, opensips.cfg 里面修改如下

modparam("acc", "extra_fields", "db: a-&gt;from_uri; b-&gt;to_uri")

在脚本挂号中增加 参数获取

# sequential request within a dialog should
...]]></description><category></category></item><item><title><![CDATA[后台架构的演变]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/104481713</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/104481713</guid><author>thefzym</author><pubDate>Mon, 24 Feb 2020 17:49:55 +0800</pubDate><description><![CDATA[码农小光 的文章的记录

单机架构

第一次演进：Tomcat与数据库分开部署

第二次演进：引入本地缓存和分布式缓存

第三次演进：引入反向代理实现负载均衡

第四次演进：数据库读写分离

第五次演进：数据库按业务分库

第六次演进：把大表拆分为小表

第七次演进：使用LVS或F5来使多个Nginx负载均衡

第八次演进：通过DNS轮询实现机房间的负载均衡

第九次演进：引入NoSQL数据库和...]]></description><category></category></item><item><title><![CDATA[ubuntu 服务器的一些设置]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/104467697</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/104467697</guid><author>thefzym</author><pubDate>Sun, 23 Feb 2020 21:22:41 +0800</pubDate><description><![CDATA[ubuntu 默认非服务器版本,在大压力的环境下,有些参数不设置会出现很诡异的现象

1. 网络连接上限增加,否则web服务, 例如tomcat会卡住, 数据库连接组件无法创建,需要增加连接数,或者超时时间

net.ipv4.neigh.default.gc_thresh1 = 16384
net.ipv4.neigh.default.gc_thresh2 = 16384
net.ipv4.ne...]]></description><category></category></item><item><title><![CDATA[Redis]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/104362923</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/104362923</guid><author>thefzym</author><pubDate>Mon, 17 Feb 2020 18:58:38 +0800</pubDate><description><![CDATA[首先安装 apt-get install redis-server  然后配置

用vi打开Redis服务器的配置文件redis.conf


~ sudo vi /etc/redis/redis.conf

#取消注释requirepass
requirepass redisredis

让Redis服务器被远程访问

默认情况下，Redis服务器不允许远程访问，只允许本机访问，所以我们需要设...]]></description><category></category></item><item><title><![CDATA[阿里云下配置keepalive]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/104351720</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/104351720</guid><author>thefzym</author><pubDate>Mon, 17 Feb 2020 01:00:10 +0800</pubDate><description><![CDATA[阿里云在VPC网络下发布了HAVIP，能够实现arp宣告IP。



VPC：192.168.1.0/24

ECS:

nginx1：192.168.1.1

nginx2:192.168.1.2

HAVIP:192.168.1.3

绑定到havip的公网EIP：121.43.187.37



MASTER服务器（nginx1）配置文件/etc/keepalived/keepalive...]]></description><category></category></item><item><title><![CDATA[网络高并发的问题]]></title><link>https://blog.youkuaiyun.com/thefzym/article/details/103978140</link><guid>https://blog.youkuaiyun.com/thefzym/article/details/103978140</guid><author>thefzym</author><pubDate>Tue, 14 Jan 2020 18:53:17 +0800</pubDate><description><![CDATA[高并发下,http请求很重,会导致 tomcat 假死无相应

netstat -na | grep ESTAB | grep 80
tcp6    0   0 192.168.1.212:80    192.168.1.167:50210   ESTABLISHED
tcp6    0   0 192.168.1.212:80    192.168....]]></description><category></category></item></channel></rss>