Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#24368 - [glibc]
Attached to Project:
Arch Linux
Opened by Screen Silently (ScreenSilently) - Saturday, 21 May 2011, 09:52 GMT
Last edited by Allan McRae (Allan) - Monday, 06 June 2011, 03:57 GMT
Opened by Screen Silently (ScreenSilently) - Saturday, 21 May 2011, 09:52 GMT
Last edited by Allan McRae (Allan) - Monday, 06 June 2011, 03:57 GMT
|
DetailsHello,
/lib/libc-2.13.so causes segmentation errors that in other distros DO NOT happen, using several binarys in several different computers.. More specifically using the gdb debugging tool I'm getting: Program terminated with signal 11, Segmentation fault. #0 0xb75e0495 in fwrite () from /lib/libc.so.6 // or // Program terminated with signal 11, Segmentation fault. #0 0xb7684b9d in __uflow () from /lib/libc.so.6 For instance try the hldsupdatetool.bin you can get here --> http://www.cstrike-planet.com/tutorial/1-Linux-Install-CS-Source/5 Or the Totalmarker's binary it could be found here --> http://www.wizabit.eclipse.co.uk/xplanet/ They work in other distributions. So, something must be definitely wrong with the way you compiled the library. Please check this out. Thank you! |
This task depends upon
Closed by Allan McRae (Allan)
Monday, 06 June 2011, 03:57 GMT
Reason for closing: Not a bug
Additional comments about closing: Poor programming in unsupported binary blobs.
Monday, 06 June 2011, 03:57 GMT
Reason for closing: Not a bug
Additional comments about closing: Poor programming in unsupported binary blobs.
Either way, I can do nothing until a package with source code crashes.
Thank you for replying on the ticket.
Unfortunately the problem seems to appear only on Arch linux, and not in other distros.
I have tested Ubuntu, Debian, Gentoo, CentOS and Fedora so far.
This is the log of gdb:
http://paste.pocoo.org/show/jM337cWdl2UqTVcvHKue/
I don't know what other information you will might need,
and unfortunately the source code for these binarys isn't available.
To reproduce the segfault, try this code:
http://www.math.tau.ac.il/~danha/courses/soft1-fall98-9/c11-fread.c
Change the fopen to a path you're not allowed to write (/root/something.txt, run as non-root). Then remove the assert below and compile the code, run it: segmentation fault in fwrite.
Today I was trying to run "python manage.py syncdb" to sync django's database and I'm getting Segmentation Fault.
Allan, something's really wrong.
Thanks.
http://www.djangoproject.com/download/1.3/tarball/
..Just study and fix it PLEASE!
It works on every other distro I've tried, even including *BSD, so the problem is definitely on Arch, and It should be fixed.
And It's not on a single binary, but many ones have got segfaults.
stat64("/home/allan/Desktop", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat64("/home/allan/Desktop", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat64("/home/allan/Desktop", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat64("/home/allan/Desktop/config/totalmarker.dat", 0xffd1ec0c) = -1 ENOENT (No such file or directory)
stat64("/home/allan/Desktop/config", 0xffd1ec0c) = -1 ENOENT (No such file or directory)
stat64("/home/allan/Desktop/config", 0xffd1ec0c) = -1 ENOENT (No such file or directory)
stat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/home/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/home/allan/", {st_mode=S_IFDIR|0700, st_size=12288, ...}) = 0
stat64("/home/allan/Desktop/", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat64("/home/allan/Desktop/config/", 0xffd1ec0c) = -1 ENOENT (No such file or directory)
All these look like binary blobs attempting to access files that are not present. This is not an issue in glibc.
Sure thing (again): It's happening only on Arch and It should be fixed.