- Status Closed
- Percent Complete
- Task Type Bugs
- Category Rbutil
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version RBUtil 1.0.6
-
Due Date
Undecided
- Votes
- Private
FS#9291 - Rockbox Utility SEGV on Linux
lapss» bzip2 -dc rbutilqt-v1.0.6.tar.bz2| tar xvf -
rbutilqt-v1.0.6/
rbutilqt-v1.0.6/rbutilqt
lapss» cd rbutilqt-v1.0.6/
lapss» ./rbutilqt
zsh: floating point exception ./rbutilqt
lapss(sigFPE)» uname -a
Linux lapss 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 i686 i386 GNU/Linux
lapss» cat /etc/fedora-release
Fedora Core release 4 (Stentz)
Closed by bluebrother
2008-11-22 10:09
Reason for closing: Not a Bug
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2008-11-22 10:09
Reason for closing: Not a Bug
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
This is an issue with the provided
binary, not a bug. We can't make
sure the linux binary runs on every
outdated distro around.
Rockbox
Utility itself is statically linked –
against Qt. Linking statically against
system libraries would make the binary
size explode with minimal gain – it
works fine on recent distros.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Please post the output of ldd ./rbutil. Also, please recompile yourself – your distribution is heavily outdated, and due to constantly changing libraries etc. on linux it is almost impossible to create a binary that runs on all systems.
lapss» ldd ./rbutilqt-v1.0.6/rbutilqt
/usr/bin/ldd: line 124: 17323 Floating point exceptionLD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW= LD_LIBRARY_VERSION=$verify_out LD_VERBOSE= “$@”
How? Where is the source code & instructions to build it?
Fedora 4 was released 3 years ago.
Perhaps a statically-linked binary would be less likely to have these problems?
Scott. :)
Your ldd failing is rather strange. Please check if you don’t have a broken download or a broken ldd.
The Rockbox Utility wiki page has a direct link to the development wiki page which has exact instructions. Please look first …
This doesn’t mean it’s not outdated in the linux world. Even FC5 had EOL over a year ago.
The binary *is* statically linked. You just can’t link the binary statically against every library in a sensible way …
ldd seems to work ok with other binaries.
lapss» ldd /bin/ls
I agree that it is strange - ldd shouldn’t crash when given a binary with an unexpected format.
I did look first, but I couldn’t find it easily. Not whinging, just offering feedback on my experience as an end user.
I gave up trying to recompile rbutil - too many dependencies (svn, Qt >4.3, etc.) … I just want to install RockBox on my MP3 player.
lapss» file rbutilqt
rbutilqt: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped
According to “file” the rbutilqt binary is dynamically linked.
I must be missing something. I thought the point of a statically linked library is that the binary can run almost anywhere because it doesn’t have any shared library dependencies?
Anyway, I decided to circumvent the problem by running rbutilqt on a different Linux distribution (SuSE 10.1). Imagine my surprise:
ss@silkie:/tmp/rbutilqt-v1.0.6> ./rbutilqt
./rbutilqt: /usr/lib/libpng12.so.0: no version information available (required by ./rbutilqt)
zsh: 5046 floating point exception ./rbutilqt
ss@silkie:/tmp/rbutilqt-v1.0.6> cat /etc/SuSE-release
SUSE LINUX 10.1 (i586)
VERSION = 10.1
ss@silkie:/tmp/rbutilqt-v1.0.6> ldd ./rbutilqt
./rbutilqt: /usr/lib/libpng12.so.0: no version information available (required by ./rbutilqt)
can you please check the version of your installed libpng and the version information in the file (readelf -V /usr/lib/libpng12.so)? I have the impression that this has something to do with this version info error.
Reports from IRC:
- rbutil runs fine with libpng 1.2.27-1 on kubuntu 8.10 alpha 5
- it doesn’t run on etch, due to a wrong glibc version I think
ss@silkie:~> rpm -q -a libpng
libpng-1.2.8-17
ss@silkie:~> readelf -V /usr/lib/libpng12.so | grep -i version
Version symbols section ‘.gnu.version’ contains 419 entries:
Version needs section ‘.gnu.version_r’ contains 2 entries:
please check if m1.0.5 runs fine – it was build on an older distro (F5 to be exact).
I tried a 64-bit version of rbutil on a Centos 5 system - worked fine! Now I have RockBox on my MP3 player at last! :)
lapss» ./rbutilqt
./rbutilqt: /lib/libc.so.6: version `GLIBC_2.4’ not found (required by ./rbutilqt)
The program terminated, but didn’t crash.
I don’t understand why rbutilqt isn’t statically linked - wouldn’t that avoid all the problems I’ve had?