[SOLVED] StackOverFlow Error

Hi, i’m running Duplicati 2.0.2.10_canary_2017-10-11 on Debian 8.9.

When i’m starting the duplicati service and running the backup, it’s crashing :

● duplicati.service - Duplicati web-server
Loaded: loaded (/lib/systemd/system/duplicati.service; disabled)
Active: failed (Result: signal) since mar. 2017-10-17 11:11:05 CEST; 4s ago
Process: 22892 ExecStart=/usr/bin/duplicati-server $DAEMON_OPTS (code=killed, signal=SEGV)
Main PID: 22892 (code=killed, signal=SEGV)

oct. 17 11:10:39 srvhome systemd[1]: Started Duplicati web-server.
oct. 17 11:10:40 srvhome duplicati-server[22892]: Got a bad hardware address length for an AF_PACKET 16 8
oct. 17 11:10:40 srvhome duplicati-server[22892]: Got a bad hardware address length for an AF_PACKET 16 8
oct. 17 11:10:40 srvhome duplicati-server[22892]: Server has started and is listening on 0.0.0.0, port 8200
oct. 17 11:11:05 srvhome duplicati-server[22892]: Stack overflow in unmanaged: IP: 0x59e604, fault addr: 0x702450ba6ff8
oct. 17 11:11:05 srvhome systemd[1]: duplicati.service: main process exited, code=killed, status=11/SEGV
oct. 17 11:11:05 srvhome systemd[1]: Unit duplicati.service entered failed state.

Thanks for your help, i’ve tried some things : upgrade from the latest beta to the latest canary

That sounds like a Mono error - do you know what version you have installed? (You can find it next to “MonoVersion” in Duplicati’s “About” screen.)

I can’t look inside the Duplicati “About” screen because the service is crashing just after the start. How can i do ?

Thanks

I’ve runned mono -v from terminal, here the output :

Mono JIT compiler version 5.2.0.224 (tarball Tue Oct 3 19:51:58 UTC 2017)
Copyright © 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen (concurrent by default)

Thanks for getting that mono version, and sorry - I didn’t realize the GUI was not working either, I thought it was just the backup.

Unfortunately, I don’t work with the command line much so we may have to have somebody else chime in on debugging this issue… :frowning:

No problem, again thanks for your help, the problem was mono.
This is what i do for solve this problem :

apt remove --purge --auto-remove mono-runtime
apt-get remove mono-*
apt-get autoremove
apt-get update
apt-get -f install
apt-get install mono-devel
wget https://updates.duplicati.com/beta/duplicati_2.0.2.1-1_all.deb
dpkg -i duplicati_2.0.2.1-1_all.deb
service duplicati start

1 Like

Glad you figured it out!

I hope you don’t mind, but I went ahead and flagged your post as the solution in case others run into a similar issue.