You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I compiled and executed successfully MegaFuse on my amd64 machine, but when I use it on any arm machine, f.e: my NanoPi NEO2 or my Khadas Vin Pro, I get a runtime error.
I "played" a little with gdb to get more info:
$ gdb ./MegaFuse
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./MegaFuse...done.
(gdb) run
Starting program: /MyNAS/MegaFuse/MegaFuse
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
caricata la variabile USERNAME con il valore **********************************************
caricata la variabile APPKEY con il valore **********************************
caricata la variabile MOUNTPOINT con il valore ********************
caricata la variabile CACHEPATH con il valore /tmp
Enter your password:
Specify a valid mountpoint (an empty directory): *********************************
[New Thread 0xffffb61f4150 (LWP 2169)]
[New Thread 0xffffb59f4150 (LWP 2170)]
MegaFushe::MegaFuse. Constructor finished.
searching node by path: /.megafuse_symlink
Thread 3 "MegaFuse" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xffffb59f4150 (LWP 2170)]
0x000000000043c224 in std::__cxx1998::__cxx11::list<Node*, std::allocator<Node*> >::begin (this=0x778)
at /usr/include/c++/5/bits/stl_list.h:832
832 { return iterator(this->_M_impl._M_node._M_next); }
More info:
GCC: (gcc --version)
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
So i wanted to know if this can be fixed adding or removing any gcc flag or something similar...
The text was updated successfully, but these errors were encountered:
ghost
changed the title
aarch64 'Segmentation fault'
Armv7 aarch64 'Segmentation fault'
May 17, 2017
I compiled and executed successfully MegaFuse on my amd64 machine, but when I use it on any arm machine, f.e: my NanoPi NEO2 or my Khadas Vin Pro, I get a runtime error.
I "played" a little with gdb to get more info:
$ gdb ./MegaFuse
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./MegaFuse...done.
(gdb) run
Starting program: /MyNAS/MegaFuse/MegaFuse
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
caricata la variabile USERNAME con il valore **********************************************
caricata la variabile APPKEY con il valore **********************************
caricata la variabile MOUNTPOINT con il valore ********************
caricata la variabile CACHEPATH con il valore /tmp
Enter your password:
Specify a valid mountpoint (an empty directory): *********************************
[New Thread 0xffffb61f4150 (LWP 2169)]
[New Thread 0xffffb59f4150 (LWP 2170)]
MegaFushe::MegaFuse. Constructor finished.
searching node by path: /.megafuse_symlink
Thread 3 "MegaFuse" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xffffb59f4150 (LWP 2170)]
0x000000000043c224 in std::__cxx1998::__cxx11::list<Node*, std::allocator<Node*> >::begin (this=0x778)
at /usr/include/c++/5/bits/stl_list.h:832
832 { return iterator(this->_M_impl._M_node._M_next); }
More info:
GCC: (gcc --version)
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
So i wanted to know if this can be fixed adding or removing any gcc flag or something similar...
The text was updated successfully, but these errors were encountered: