FS#24866 - [ushare] segfaults

Attached to Project: Community Packages
Opened by Andreas Radke (AndyRTR) - Friday, 24 June 2011, 21:05 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 21 February 2012, 06:59 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

uShare every now and then segfaults when accessing media files in my server from my boxeebox client. I've tried with one single broadcasted directory and also with "only" 4 subdirs with slightly less files. I've seen the error in all the latest ushare packages since I own that boxeebox device. Haven't used the server before. Sergej, are you sure building this pkg against glibc from core?

[root@server64 andyrtr]# ps aux | grep ushare
ushare 8782 0.3 0.6 250404 24180 ? Ssl 22:57 0:01 /usr/bin/ushare -D -x

Additional info:
ushare 1.1a-13
glibc 2.13-5

dmesg says:

ushare[1510]: segfault at 2c0039a0 ip 00007fe53b57c77c sp 00007fe533a742e8 error 4 in libc-2.13.so[7fe53b500000+154000]
ushare[1628]: segfault at ffffffffcc002120 ip 00007f19d9d9d77c sp 00007f19d12932e8 error 4 in libc-2.13.so[7f19d9d21000+154000]
ushare[2184]: segfault at ffffffffe4001530 ip 00007f00f23e677c sp 00007f00ec8e22e8 error 4 in libc-2.13.so[7f00f236a000+154000]
ushare[8430]: segfault at 39590b60 ip 00007f01477b777c sp 00007f013fcaf2e8 error 4 in libc-2.13.so[7f014773b000+154000]

Any idea how to provide further information?
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 21 February 2012, 06:59 GMT
Reason for closing:  Fixed
Comment by Jelle van der Waa (jelly) - Sunday, 26 June 2011, 09:47 GMT
It works here it seems, is your config ok? paste it.
Comment by Andreas Radke (AndyRTR) - Sunday, 26 June 2011, 16:17 GMT
It segfaults not right at the start. It works for for some time and at some point when changing a directory or accessing files it segfaults.
Comment by Allan McRae (Allan) - Sunday, 26 June 2011, 22:03 GMT
Unassigning me as it is unlikely to be a glibc issue.
Comment by Sergej Pupykin (sergej) - Saturday, 03 September 2011, 11:10 GMT
Can this bug be reproduced now? I can successfully listen mp3 for about hour.
Comment by Andreas Radke (AndyRTR) - Saturday, 03 September 2011, 13:50 GMT
I can see the bug every now and then accessing video and photo files. mp3 seems to work fine here. btw: I'm using it via (D-Link)BoxeeBox.

Feel free to close this one for now. Once I find a way to reproduce it I will try to get a backtrace with a debug build.
Comment by Anton Komolov (xRemaLx) - Tuesday, 07 February 2012, 08:15 GMT
Patch to fix segmentation fault: http://pastebin.com/yP1L5DA9
Comment by Alexander F. Rødseth (xyproto) - Friday, 10 February 2012, 12:09 GMT
Contacted upstream.
Comment by Alexander F. Rødseth (xyproto) - Friday, 10 February 2012, 15:54 GMT
The email to upstream bounced.

The only point of contact for ushare that is mentioned on the homepage is ushare@geexbox.org. Ref: http://ushare.geexbox.org/#Feedback

There is no mention of a bug tracker, project pages, irc channels, mailing lists or any other way to contact anyone.

Googled the author and e-mailed ben@geexbox.org.
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 14 February 2012, 20:20 GMT
Got no reply from Ben so far. Please consider moving this package to unsupported.
Comment by Sergej Pupykin (sergej) - Tuesday, 21 February 2012, 01:32 GMT
I applied patch. Not sure if it helps - please check it. If it is not solution, probably I'll move it to aur.
Comment by Anton Komolov (xRemaLx) - Tuesday, 21 February 2012, 06:17 GMT
On my system (64bit), I use this patch for a month. No more segfaults :)
Problem is solved by the patch: mixing 32-bit and 64 bit pointers. This happens if the compiler does not find a definition of the standard functions in header files. On a 64 bit system automatically uses the 64 bit function, even though the program is 32 bit.

Loading...