FS#23879 - [moc] symbol lookup error after the latest gcc-libs update
Attached to Project:
Arch Linux
Opened by Heiko Baums (cyberpatrol) - Friday, 22 April 2011, 06:47 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 19 May 2011, 04:47 GMT
Opened by Heiko Baums (cyberpatrol) - Friday, 22 April 2011, 06:47 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 19 May 2011, 04:47 GMT
|
Details
Description:
After quitting moc with Shift-Q I get this error message since the latest gcc-libs update: mocp: symbol lookup error: /usr/lib/libstdc++.so.6: undefined symbol: _ZNSt14error_categoryD2Ev, version GLIBCXX_3.4.15 Anything else seems to work as usual. So I guess it's either an upstream issue or moc just needs to be rebuilt. |
This task depends upon
Closed by Eric Belanger (Snowman)
Thursday, 19 May 2011, 04:47 GMT
Reason for closing: Fixed
Additional comments about closing: moc-2.4.4-4
Thursday, 19 May 2011, 04:47 GMT
Reason for closing: Fixed
Additional comments about closing: moc-2.4.4-4
Rebuilding moc from ABS doesn't help either.
I use Openbox as WM and just after "startx", everything goes fine, but when i take a look at TTY1, i get an endless list with this message, even if I had never started MOC
3430: 0005f970 27 FUNC GLOBAL DEFAULT 13 _ZNSt14error_categoryD2Ev@@GLIBCXX_3.4.15
That symbol is there...
...moc works fine but this error is disturbing.
FS#24122, I realized that moc is written in c and doesn't even link to /usr/lib/libstdc++.so.6, So it looks like a gcc or glibc issue as other apps are also affected by this.http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623827
Here is the gdb report for this.
Reading symbols from /usr/bin/mocp...(no debugging symbols found)...done.
(gdb) break lt_dlexit
Breakpoint 1 at 0x804f034
(gdb) run -S
Starting program: /usr/bin/mocp -S
[Thread debugging using libthread_db enabled]
Running the server...
Trying JACK...
Trying ALSA...
Breakpoint 1, 0xb7c92030 in lt_dlexit () from /usr/lib/libltdl.so.7
(gdb) step
Single stepping until exit from function lt_dlexit,
which has no line number information.
0xb7b16103 in __libc_start_main () from /lib/libc.so.6
(gdb)
Single stepping until exit from function __libc_start_main,
which has no line number information.
/usr/bin/mocp: symbol lookup error: /usr/lib/libstdc++.so.6: undefined symbol: _ZNSt14error_categoryD2Ev, version GLIBCXX_3.4.15
Program exited with code 0177.
(gdb)
@Rémy: the current issue is unfortunately not innocuous, as moc can be used non interactively from the command line and the exit codes always denotes an error in the current state (eg. "mocp -i" returns 127 instead of 0). Thus other applications or scripts build on top of moc may be broken.
I agree that users should be fine if moc is used interactively.
graphic card : ATI Mobility Radeon HD 3430
Video: ATI Radeon HD4250 Onboard
cpu: athlon xp 2500
gpu: nvidia geforce4 mx440
cpu: core2duo SU7300 1,3 ghz
gpu: intel 4500mhd integrated
Can you ping upstream with that patch? In fact, Debian claims to have fixed the issue with a SVN snapshot, so there may already be a fix upstream.
I'm a bit surprised we go for a patch against moc since the issue seems to affect other applications; but again, thanks for the fix.
- applications are broken and we were lucky it worked until some recent update of glibc/gcc-libs
- no, you don't need to dlclose() before dlexit() and dynamic loader is broken/too stupid to unload things properly.
Rémy: "epoch=2" is not necessary. It compiles without it.
I'm using Arch Linux in 32bits version, AMD Athlon 64x2
FS#23193