"Trace/breakpoint trap" while start on Debian 6 32bit

When I try to start ./syncthing on Debian 6 32bit

(Linux www809 2.6.26-2-xen-686 #1 SMP Wed Sep 21 09:56:47 UTC 2011 i686 GNU/Linux)

I get the following message:

Trace/breakpoint trap

What can I do to get it run?

(Just to be sure I started also syncthing-linux-amd64-v0.8.18.tar.gz and got as expected “-bash: ./syncthing: cannot execute binary file” )

Greetings,

merlinuwe

Just “Trace/breakpoint trap”, nothing else at all?

Nothing else. Only the message “Trace/breakpoint trap” appears in the next line after calling ./syncthing.

I have no idea what might cause that. The closest thing to a relevant google result I can find is http://forums.debian.net/viewtopic.php?f=10&t=112403 which seems to suggest installing some random package. I can’t see that would have any effect whatsoever on syncthing though.

There’s also https://code.google.com/p/go/issues/detail?id=386 which seems to point at either a Xen/Go incompatibility or a Xen bug. It’s from 2011 and only seems to happen on “some” Xen setups…

I’m hitting this with Ubuntu 14.04.2 and kernel 3.13.0-74.118 and the current syncthing version (12.10) i386

gdb says

Program received signal SIGTRAP, Trace/breakpoint trap.
0x080d3817 in runtime.setldt ()
(gdb) bt
#0  0x080d3817 in runtime.setldt ()
#1  0x00000000 in ?? ()

strace gives me

     [wait(0x857f) = 13954] WIFSTOPPED,sig=133
) = 0
 [wait(0x857f) = 13954] WIFSTOPPED,sig=133
**modify_ldt(1, {entry_number:7, base_addr:0x8a7db44, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, 16 [wait(0x857f) = 13954] WIFSTOPPED,sig=133) = -1 ENOSYS (Function not implemented)**
 [wait(0x057f) = 13954] WIFSTOPPED,sig=SIGTRAP
--- SIGTRAP {si_signo=SIGTRAP, si_code=SI_KERNEL} ---
 [wait(0x0005) = 13954] WIFSIGNALED,sig=SIGTRAP
+++ killed by SIGTRAP +++
dropped tcb for pid 13954, 0 remain
Trace/breakpoint trap

This seems relevant:

Some testing revealed the first version with this error is 10.7 for me, 10.6 still works.

Releases:

Changes: https://github.com/syncthing/syncthing/compare/v0.10.6...v0.10.7

Since you have the binaries in front of you, what’s the output of -version on 0.10.6 and 0.10.7? I’m thinking we may have changed the compiler between those versions?

What cpu do you have in this box?

In the meantime, I changed the server (the webhoster remains the same). After trying to start syncthing 0.12.10, the error “Trace/breakpoint trap” occures again.

./syncthing -version Trace/breakpoint trap

What can I do to help solving this issue?

I have the same problem with 0.12.11.

Does this help? http://william.shallum.net/random-notes/32-bit-golang-trace-breakpoint-trap-modify_ldt-enosys

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.