rapid7 / metasploit-framework

Metasploit Framework
https://www.metasploit.com/
Other
32.92k stars 13.71k forks source link

The error message stack level too deep (SystemStackError) #19135

Closed kishwordulal1234 closed 2 weeks ago

kishwordulal1234 commented 3 weeks ago

Metasploit running on Kali Linux as root, using system database

A database appears to be already configured, skipping initialization
Metasploit tip: Use the resource command to run commands from a file
/opt/metasploit-framework/embedded/lib/ruby/3.0.0/monitor.rb:238:in mon_initialize': stack level too deep (SystemStackError) from /opt/metasploit-framework/embedded/lib/ruby/3.0.0/logger/log_device.rb:17:in initialize'
from /opt/metasploit-framework/embedded/lib/ruby/3.0.0/logger.rb:390:in new' from /opt/metasploit-framework/embedded/lib/ruby/3.0.0/logger.rb:390:in initialize'
from /opt/metasploit-framework/embedded/framework/lib/net/dns/resolver.rb:214:in new' from /opt/metasploit-framework/embedded/framework/lib/net/dns/resolver.rb:214:in initialize'
from /opt/metasploit-framework/embedded/framework/lib/net/dns/resolver.rb:1132:in new' from /opt/metasploit-framework/embedded/framework/lib/net/dns/resolver.rb:1132:in block in nameservers_from_name'
from /opt/metasploit-framework/embedded/framework/lib/net/dns/resolver.rb:1131:in each' ... 11137 levels... from /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/command/console.rb:66:in driver'
from /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/command/console.rb:54:in start' from /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/command/base.rb:82:in start'
from /opt/metasploit-framework/bin/../embedded/framework/msfconsole:23:in `
adfoster-r7 commented 3 weeks ago

Hi there; Could you add this additional logging here and provide the output please:

https://github.com/rapid7/metasploit-framework/issues/18574#issuecomment-1865029818

smcintyre-r7 commented 3 weeks ago

Hey thanks for reporting this to us. I was able to reproduce the issue and I'll start working on a solution to fix it.