btsync segmentation fault

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

btsync segmentation fault

Postby MixedBeef » Mon May 09, 2016 11:50 am

Hi,

I tried to install BitTorrent Sync from the AUR but unfortunately it does not work. It worked the last couple of months but since today it stopped working. I don't know if the btsync binary is damaged or some of the last Arch Updates (gcc, kernel and so on) damaged it.

$this->bbcode_second_pass_code('', '❯ btsync -h
[1] 11105 segmentation fault (core dumped) btsync -h')

Also I tried to install older versions than 2.3.7 like 2.3.6, 2.3.5 and 2.3.3 which worked in the past but now they stopped working so I guess that some other update is responsible for the segmentation fault maybe :?:
MixedBeef
 
Posts: 12
Joined: Tue Jan 07, 2014 2:58 pm

Re: btsync segmentation fault

Postby zifnab » Thu May 12, 2016 4:13 pm

just to confirm MixedBeef allegations.
as can be seen in the aur btsync forum he linked, this issue was confirmed by many users:
- seems to only happen on Arch ARM (x86, x64 works fine), be it v6h, v7h (different v7 boards)
- even older versions of btsync that have been working for months started to fail (segmentation fault, even with something as simple/straight/ignoring settings as "btsync --help": segmentation fault right away)
- started happening around a week ago
so something apart from btsync has been updated in this timeframe that is causing the issue :(
any help is greatly appreciated as many btsync "servers" are mourning at the moment ;) :(
zifnab
 
Posts: 5
Joined: Fri Mar 27, 2015 11:19 pm

Re: btsync segmentation fault

Postby brokenpipe » Fri May 13, 2016 10:55 am

Same issues here after the latest updates. Unfortunately didn't keep the old packages in cache. Are there any servers with older versions of the packages?
brokenpipe
 
Posts: 4
Joined: Thu Sep 12, 2013 7:25 am

Re: btsync segmentation fault

Postby MixedBeef » Sat May 14, 2016 7:16 am

Finally I've got it running! 8-)

Just download the alternative binary armhf and it should work. I verified that on my armv7 machine and it works fine.
MixedBeef
 
Posts: 12
Joined: Tue Jan 07, 2014 2:58 pm

Re: btsync segmentation fault

Postby moonman » Sat May 14, 2016 8:53 am

You might wanna let the package maintainer know in AUR to use armhf source for armv7h/6h
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: btsync segmentation fault

Postby zifnab » Sat May 14, 2016 9:02 pm

- works for armv7h (cubox-i4pro here)
- still doesn't work for armv6h (raspberry pi 1)
zifnab
 
Posts: 5
Joined: Fri Mar 27, 2015 11:19 pm

Re: btsync segmentation fault

Postby moonman » Sat May 14, 2016 11:36 pm

Armhf might be compiled for armv7 only. Too bad they only provide binaries and no sourcecode
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: btsync segmentation fault

Postby MixedBeef » Mon May 16, 2016 6:40 am

But there is one thing I don't understand: why did it work the last couple of months without any modifications or alternative binaries and now, since one week, it stopped working? What for an Arch update broke the compatibility and especially why?
MixedBeef
 
Posts: 12
Joined: Tue Jan 07, 2014 2:58 pm

Re: btsync segmentation fault

Postby mpyth » Wed May 18, 2016 6:24 am

I've been having the same problem on my B+, and I've narrowed it down to glibc-2.23-4 (and maybe gcc-libs-6.1.1-1). I've been stepping through the updates one at a time, and trying ./btsync --help. It worked until I installed glibc. I haven't tried it with gcc-libs yet, but that's next.

I can't give you a definite 'why' answer, but my guess is that some new 'feature' in glibc breaks the btsync build for arm6. If we could re-compile the btsync binary, it would give us the specifics, but that's not an option.
mpyth
 
Posts: 1
Joined: Wed May 18, 2016 6:03 am

Re: btsync segmentation fault

Postby brokenpipe » Wed May 18, 2016 8:50 am

glibc causes the error because it was built with a newer toolchain than the btsync binary
brokenpipe
 
Posts: 4
Joined: Thu Sep 12, 2013 7:25 am

Next

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 12 guests