Skip to content
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

monero-wallet-cli frozen after typing password for a transfer #4198

Closed
moneroISlove opened this issue Jul 30, 2018 · 11 comments
Closed

monero-wallet-cli frozen after typing password for a transfer #4198

moneroISlove opened this issue Jul 30, 2018 · 11 comments
Labels

Comments

@moneroISlove
Copy link

Version used : v0.12.3.0-release and v0.12.2.0-release
OS: Arch Linux
Internet: 14ms / 100Mbit
Nodes: remote nodes (moneroworld) and myown deamon via SSH (portforwarding)

Tried 15-20 times with many remotenodes and myown daemon but always freeze :/

Found an older one : #3813

@moneroISlove moneroISlove changed the title monero-wallet-cli frozen after confirming transfer command monero-wallet-cli frozen after typing password for a transfer Jul 30, 2018
@moneromooo-monero
Copy link
Collaborator

Get an all thread stack trace:

gdb /path/to/monero-wallet-cli 'pidof monero-wallet-cli\
thread apply all bt

Then paste the (multi page) output here or fpaste.org or pastebin.mozilla.org.

@moneroISlove
Copy link
Author

moneroISlove commented Jul 30, 2018

Thread 2 (Thread 0x7fa725b90700 (LWP 10860)):
#0 0x00007fa728dd5ffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
No symbol table info available.
#1 0x0000564fa81e8108 in boost::condition_variable::wait(boost::unique_lockboost::mutex&) ()
No symbol table info available.
#2 0x0000564fa81e8491 in epee::async_stdin_reader::reader_thread_func() ()
No symbol table info available.
#3 0x00007fa72b2b17bf in ?? () from /usr/lib/libboost_thread.so.1.66.0
No symbol table info available.
#4 0x00007fa728dd0075 in start_thread () from /usr/lib/libpthread.so.0
No symbol table info available.
#5 0x00007fa728b0553f in clone () from /usr/lib/libc.so.6
No symbol table info available.

Thread 1 (Thread 0x7fa72bd5ac00 (LWP 10851)):
#0 0x00007fa728af6934 in read () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x00007fa728a88788 in __GI__IO_file_underflow () from /usr/lib/libc.so.6
No symbol table info available.
#2 0x00007fa728a898a2 in __GI__IO_default_uflow () from /usr/lib/libc.so.6
No symbol table info available.
#3 0x00007fa728a841f0 in getc () from /usr/lib/libc.so.6
No symbol table info available.
#4 0x00007fa72967ffde in __gnu_cxx::stdio_sync_filebuf<char, std::char_traits >::syncgetc (this=0x7fa729919ce0 <__gnu_internal::buf_cin_sync>)
at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/ext/stdio_sync_filebuf.h:225
No locals.
#5 __gnu_cxx::stdio_sync_filebuf<char, std::char_traits >::underflow (this=0x7fa729919ce0 <__gnu_internal::buf_cin_sync>)
at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/ext/stdio_sync_filebuf.h:133
__c =
#6 0x00007fa72963d249 in std::basic_streambuf<char, std::char_traits >::sgetc (this=0x7fa729919ce0 <__gnu_internal::buf_cin_sync>)
at /build/gcc/src/gcc/libstdc++-v3/src/c++98/istream-string.cc:197
__ret =
this = 0x7fa729919ce0 <__gnu_internal::buf_cin_sync>
__ret =
__ret =
__ret =
#7 std::basic_istream<char, std::char_traits >& std::getline<char, std::char_traits, std::allocator >(std::basic_istream<char, std::char_traits >&, std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, char) ()
at /build/gcc/src/gcc/libstdc++-v3/src/c++98/istream-string.cc:145
__idelim = 10
__eof = -1
__sb = 0x7fa729919ce0 <__gnu_internal::buf_cin_sync>
__c =
__extracted = 0
__err = std::_S_goodbit
__cerb = {_M_ok = true}
#8 0x0000564fa8189caf in ?? ()
No symbol table info available.
#9 0x0000564fa81928ab in cryptonote::simple_wallet::ask_wallet_create_if_needed() ()
No symbol table info available.
#10 0x0000564fa81b44c9 in cryptonote::simple_wallet::init(boost::program_options::variables_map const&) ()
No symbol table info available.
#11 0x0000564fa817b8ad in main ()
No symbol table info available.
Continuing.
[New Thread 0x7fa724629700 (LWP 11058)]
[New Thread 0x7fa724128700 (LWP 11059)]
[New Thread 0x7fa723c27700 (LWP 11060)]
[New Thread 0x7fa723726700 (LWP 11061)]
[New Thread 0x7fa723225700 (LWP 11090)]
[New Thread 0x7fa722a24700 (LWP 11160)]
[New Thread 0x7fa722223700 (LWP 11161)]
[New Thread 0x7fa721a22700 (LWP 11162)]
[New Thread 0x7fa721221700 (LWP 11163)]
[Thread 0x7fa721a22700 (LWP 11162) exited]
[Thread 0x7fa722223700 (LWP 11161) exited]
[Thread 0x7fa721221700 (LWP 11163) exited]

Thread 1 "monero-wallet-c" received signal SIGINT, Interrupt.
0x00007fa728dd5ffc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0

@moneromooo-monero
Copy link
Collaborator

That trace looks like it's asking for a wallet to use, which happens at startup.
Maybe gdb is getting confused, or the binary changed since it started running.
What is the command you were running when you got that wedge ?

@moneroISlove
Copy link
Author

gdb --pid=10851

(gdb) set logging file trace.log
(gdb) set logging on
(gdb) thread apply all bt full
(gdb) set logging off
(gdb) quit

@moneromooo-monero
Copy link
Collaborator

What is the monero-wallet-cli command you were running when you got that wedge ?

@moneroISlove
Copy link
Author

transfer 4AWN6NgEQJr1rDdWP4BP2cJ9PkkHyL1z4hbmWPTgfiMucUYrPfoxB71bSeE6qNaXzT7wfqBzUsCJb52763zhdtVS6TGSCB2 1

Password: blabla

--> freeze

@moneromooo-monero
Copy link
Collaborator

Can you try a debug build ? This might give better trace info.

@moneroISlove
Copy link
Author

make debug
Current version : Monero 'Lithium Luna' (v0.12.3.0-master-0dddfeac)

seems the same : https://paste.fedoraproject.org/paste/Dnw6w~9qlJJ-PWfF34pGsw/raw

@moneroISlove
Copy link
Author

I did a OS update, than i have to rebuild monero because of libboost issues. Now it works but still a bit slow.

@jonathancross
Copy link
Contributor

@moneroISlove Does this mean the issue can be closed?

@moneromooo-monero
Copy link
Collaborator

I'll close it then, since one off and not reproducible. Reopen if you do reproduce it.

+invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants