FS#24122 - [xfdesktop] error with libstdc++.so.6 of gcc 4.6

Attached to Project: Arch Linux
Opened by synflag (synflag) - Thursday, 05 May 2011, 23:38 GMT
Last edited by Allan McRae (Allan) - Thursday, 02 June 2011, 11:01 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

When I logout from session xfce 4.8 in tty1 (i use startx for start desktop and X), I see this message

xfdesktop: symbol lookup error: /usr/lib/libstdc++.so.6: undefined symbol: _ZNSt14error_categoryD2Ev, version GLIBCXX_3.4.15

A few days later of this thing happens repeatedlly xfce desktop gets broken.

Making a downgrade to gcc 4.5.2 this error does not appear, so, i guess is a problem in gcc libs (gcc 4.6), but with gcc 4.5.2 firefox, chromium, virtualbox etc., do not work because they are compiled with gcc 4.6, thus they depend on it.
How can i fix this?.-

Additional info:
* package version(s)
* config and/or log files etc.
xfce 4.8
gcc-multilib-4.6.0-4-x86_64
kernel 2.6.38.5
Xorg 1.10

Steps to reproduce:

Login in tty1, type startx, and logout of xfce session, produces this error in tty1.
This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 02 June 2011, 11:01 GMT
Reason for closing:  No response
Additional comments about closing:  See final comment
Comment by Andreas Radke (AndyRTR) - Friday, 06 May 2011, 06:49 GMT
I'm not sure if the last xfdesktop package has been build with gcc4.5 or 4.6 - can you confirm if a xfdesktop rebuild with gcc4.6 helps?
Comment by synflag (synflag) - Friday, 06 May 2011, 12:45 GMT
@Andreas:

I triyed with several xfdesktop of AUR, git and others, but with no satisfactory results (same error descripted), i even recompiled thunar. If you have any other PKGBUILD or source, tell me how and from to compile it, and i will be glad to test it. Is a shame that a desktop that works so well, was ruined by a poor control of QA by the release of gcc 4.6 without measuring the impact on all areas and software that are related.
i ended up using xfce because gnome3 is terribly buggy and completely unusable (it looks like an Ipad homescreen), KDE is the same s**t with it's "segfault 11" and kded4 daemon hungs up and forks after restarting X. Tell me which method you want me to use to compile and build it (xfdesktop or necessary packages) To see if I can fix this, many thanks in advance for the quick response to the bug report-question.

Note: edited, sorry for my english.
Comment by Robin Hahling (Rolinh) - Saturday, 07 May 2011, 12:52 GMT
Well I actually do not think this is strictly related to xfdesktop.
You can reproduce the bug with other programs.
Eg:

[robin@odin ~] % mocp -i
State: STOP
mocp: symbol lookup error: /usr/lib/libstdc++.so.6: undefined symbol: _ZNSt14error_categoryD2Ev, version GLIBCXX_3.4.15
!127! [robin@odin ~] %

Same with Thunar:

[robin@odin ~] % thunar
thunar: symbol lookup error: /usr/lib/libstdc++.so.6: undefined symbol: _ZNSt14error_categoryD2Ev, version GLIBCXX_3.4.15
!127! [robin@odin ~] %

So this is probably a bug in glibc.

EDIT: this bug is probably related https://bugs.archlinux.org/task/23879
Comment by Leonid Isaev (lisaev) - Saturday, 07 May 2011, 16:20 GMT
synflag, you are using multilib? In this case, the repo should not be /extra.
I am asking because I could not reproduce your problem with pure 32 and 64 bit xfce installs.
Comment by Jeremy Whiting (jpwhiting) - Saturday, 07 May 2011, 16:43 GMT
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48838 this seems to be the cause (and fix) of the issue. We see it when we try to build kdevplatform also. Downgrading to 4.6.0-3 fixes the issue, maybe making a new version of this package with the fix in gcc repos would be good too.
Comment by Rémy Oudompheng (remyoudompheng) - Saturday, 07 May 2011, 18:09 GMT
@jpwhiting: the problem seems completely unrelated

@synflag: xfce is not written in C++. Issues with libstdc++ must come from elsewhere.

Do you have real problems with XFCE ?
Comment by synflag (synflag) - Sunday, 08 May 2011, 02:38 GMT
@remyoudompheng

Yes, i know that xfce is no written in C++, but the bug is reported in gcc.gnu bugzilla and other bug herev  FS#24122 . Eric Belanger say:
"Comment by Eric Belanger (Snowman) - Saturday, 07 May 2011, 17:20 GMT-3
That's plenty of confirmations. It happens on both arches. After reading a comment in the similar bug  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."

The problem is that the bug _is present_, and after some days, some features of xfce desktop are broken or with constant restarting.
Comment by Allan McRae (Allan) - Sunday, 08 May 2011, 02:54 GMT
The bug is not in gcc.gnu bugzilla anywhere as far as I can tell. If so, please provide a link.

Edit: Note the bug linked here was probably meant for  FS#24142  and is entirely unreleated...
Comment by Allan McRae (Allan) - Sunday, 08 May 2011, 03:01 GMT
@synflag: please be more specific than "some features" are broken. It is hard to figure out what "some features" are to replicate...
Comment by Rémy Oudompheng (remyoudompheng) - Sunday, 08 May 2011, 07:09 GMT
@synflag: my XFCE is absolutely not broken, and my mocp is not broken either. You may be using xfce plugins that links to libstdc++.
Comment by synflag (synflag) - Tuesday, 10 May 2011, 09:40 GMT
@Allan

Mouse pointers, init daemon at start desktop (the setted daemon to run not run in some times), the xfce panel dissapear aleatory.
I use 64 bit, i don't know if the bug is present in i686.
So... the desktop broke parts randomized, and plugins addons, wheater, time, etc.
Anyway, maybe they can replicate the fault or not, but the error appears in the libraries that I do not think that is something not casually, and is linked 100% to gcc 4.6.0, when using the gcc 4.5.2 libs do not see these errors.
So, is a bug in gcc 4.6 libs, test Allan and Rémy, start XFCE with startx, and close session from the menu, and in tty1 (where startx executed) the error is clear, now,remove all gcc 4.6 packages and use arm with 4.5.2, the error no appear, i'm no crazy.

https://bugs.archlinux.org/task/23879
Comment by synflag (synflag) - Tuesday, 10 May 2011, 09:42 GMT Comment by Rémy Oudompheng (remyoudompheng) - Wednesday, 11 May 2011, 05:14 GMT
synflag: please try to not post completely random links that have nothing ot do with your problem. This adds noise to the discussion and doesn't help in any way. Instead, proceed in a systematic way:
- tell us whether the message appears only when you logout or it is was already there while your session is running
- don't mix your report with seemingly unrelated problems like "Mouse pointers, init daemon at start desktop (the setted daemon to run not run in some times)"
- attach the output of "lsof -c xfdesktop"
- nobody said you're crazy, I just said the bug does not exist at all on my system. It is possible that you use plugins that exhibit the problem
- the fix is not to downgrade gcc, but to correct programs.

Comment by synflag (synflag) - Wednesday, 18 May 2011, 07:07 GMT
Rémy,

1.- The message appear when close session, is described in the report, startx, ctrl+alt+F1 no message, app menu, exit, and the message is present in tty1 (where executed startx)
2.- No mix nothing, i say: mouse pointer, init script (apps that run at start xfce desktop), and panels crashed on few days
3.- Attached
4.- Rémy, ok, is true, nodoby say that i am crazy, but, is frustating report and repot and repot and i can see that the most or all devs respond "works for me"..... well, no all systems are identic in hardware, software, etc. Sorry but in some times i feel that arch devs ignore me or ignore que minor bugs, i work with other distros and no is frecuent this bug's
5.- I know, but is a problem with gcc libs, i know, is evident

Note: no random link, all links are related with regression in gcc 4.6 and c++ compatibility. The problem is solved in a fresh install, if i install xfce4-goodies the bug is present, if only install xarchiver, wheater the bug is not present, so, is related to some c++ code in goodies in conflict to libs of gcc 4.6.0-5, then, is true, gcc 4.6 is a problem, is a bad very bad decision move of testing to stable, have problems related with some software, i.e.; xfce4-goodies, if using gcc 4.5.2 libs not appear que bug, then, is the gcc, no xfce.
Extra question, who take decicions about move testing to stable?, is really tested?, exists a QA team?, beta testers?, i don't think, very bad, is not your problem Rémy, is a problem of ArchLinux, if the archlinux way continue by the "ubuntu way" (bug and more bug), i will be migrate to other distro, gentoo for example, your ports is tested a lot of times. Sorry for the extra-comment, but i want talk to dev's of any body for talk about of QA in arch, extra data: Some archlinux developers confesated me in private irc channel of archlinux in freenode that want migrate to other distro, for this reason (no QA control), i never lies, is true, well, reegards Rémy.
Thanks for help me
sorry my english.
Comment by Rémy Oudompheng (remyoudompheng) - Wednesday, 18 May 2011, 17:13 GMT
Hello synflag,

4. we don't say "works for me" just for the sake of saying it: we say it because we have absolutely no idea about what the problem. We are not geniuses, and we honestly say that we don't know what the problem is.
5. no, it is not obvious that the problem comes from gcc-libs. As you can see from the patch I attached for  FS#23879 .
- could you try not to install all xfce4-goodies ? Just install one goodie and tell us which goodie triggers the bug, it will be very help ful.

- your links are random: I can google "undefined symbol" myself. I understand that you may think some links are useful, but please don't post a link unless you understand it and you can tell why it is important. If you cannot say why your link is useful, don't post it. Undefined symbol is a pretty generic error that happens in various, very different situations
- we have no assigned team of testers. Anyone can test packages in [testing] and report bugs. If no-one tests packages, then it means no-one cares about QA.
- users are free to change distributions. I personally do not consider this as a problem. Only bugs/feature requests are problems.
Comment by Allan McRae (Allan) - Thursday, 19 May 2011, 04:56 GMT
  • Field changed: Status (Assigned → Waiting on Response)
> Just install one goodie and tell us which goodie triggers the bug, it will be very helpful.

In fact, that is what is required to move forward in fixing this issue.
Comment by Leonid Isaev (lisaev) - Thursday, 19 May 2011, 14:18 GMT
xfce4-xkb-plugin is OK here (as well as xarchiver). If this is a problem with xfce4-goodies, why does the title say [xfdesktop]?
Comment by Allan McRae (Allan) - Thursday, 02 June 2011, 11:01 GMT
No response from submitter to request for more information in two weeks. Closing. Request a reopen when the specific goodie causing the issue is found.

Loading...