-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ABI: 'arm' problem with ftp / tcpsvd connection -> signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10 #2740
Comments
@araczkowski The problem is with On AArch64 no problems (tcpsvd/ftpd), tested on Android 8.0. |
I don't have an arm device at hand so can't test at the moment, but try building it with this patch: --- ../ftpd.c.orig 2018-08-15 10:30:22.369789946 +0200
+++ ./networking/ftpd.c 2018-08-15 10:31:50.164561041 +0200
@@ -177,13 +177,9 @@
char msg_ok [(sizeof("NNN " MSG_OK ) + 3) & 0xfffc];
char msg_err[(sizeof("NNN " MSG_ERR) + 3) & 0xfffc];
} FIX_ALIASING;
-#define G (*ptr_to_globals)
-/* ^^^ about 75 bytes smaller code than this: */
-//#define G (*(struct globals*)bb_common_bufsiz1)
+#define G (*(struct globals*)bb_common_bufsiz1)
#define INIT_G() do { \
- SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
- /*setup_common_bufsiz();*/ \
- \
+ setup_common_bufsiz(); \
/* Moved to main */ \
/*strcpy(G.msg_ok + 4, MSG_OK );*/ \
/*strcpy(G.msg_err + 4, MSG_ERR);*/ \ This reverts commit 565af2322271984edf6eb533f90789e52e311848. Something else to try could be to add a |
@Grimler91 Looks like your patch solves problem: The |
thx for your help, and quick response I build it with the patch provided by @Grimler91 (I added the patch to the end of the packages/busybox/build-with-clang.patch file) and... it works :) I see that the patch is already in repo added by @xeffyr so I'm closing this issue Thanks again you are great! 🥇 |
I have a problem with ftp / tcpsvd connection
was OK in BusyBox v1.28.3
connection via ftp
upgrade busybox
connection via ftp after busybox upgrade
the problem is here:
tcpsvd: end 10762 signal 11
Logcat:
I reproduced this problem in clean newest termux, ABI: 'arm' too.
I will be appreciated for any advice how to solve this problem,
I can compile the BusyBox with some additional flag? etc, and retest this issue
thanks
The text was updated successfully, but these errors were encountered: