Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318081 - gcc-4.5 ImportError: No module named libstdcxx.v6.printers
Summary: gcc-4.5 ImportError: No module named libstdcxx.v6.printers
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-02 03:08 UTC by fkhp
Modified: 2010-07-27 15:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fkhp 2010-05-02 03:08:46 UTC
gcc-4.5 poped up a "bug buddy" dialog box and paused many times while compling itself. press "cancel" button ant it continued its work. the details reported by gnome "bug buddy":
=================
System: Linux 2.6.33-ccs-r1 #4 SMP Sat May 1 14:40:34 CST 2010 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10800000
Selinux: No
Accessibility: Disabled
GTK+ Theme: (null)
Icon Theme: (null)

Memory status: size: 212549632 vsize: 212549632 resident: 27033600 share: 17850368 rss: 27033600 rss_rlim: 18446744073709551615
CPU usage: start_time: 1272758489 rtime: 4 utime: 2 stime: 2 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/Amaya/wx/bin/print'

Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2400.0-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.0/libstdc++.so.6.0.14-gdb.py", line 59, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named libstdcxx.v6.printers
[Thread debugging using libthread_db enabled]
0x00002b0fd77c95fe in waitpid () from /lib/libpthread.so.0
#0  0x00002b0fd77c95fe in waitpid () from /lib/libpthread.so.0
#1  0x00002b0fd6554b61 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#2  0x00002b0fd65550e1 in g_spawn_command_line_sync ()
   from /usr/lib/libglib-2.0.so.0
#3  0x00002b0fdf35d041 in bugbuddy_segv_handle(int) ()
   from /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so
#4  <signal handler called>
#5  0x00002b0fd7a0abd5 in raise () from /lib/libc.so.6
#6  0x00002b0fd7a0c415 in abort () from /lib/libc.so.6
#7  0x00002b0fd7a48a72 in __libc_message () from /lib/libc.so.6
#8  0x00002b0fd7ad0cc7 in __fortify_fail () from /lib/libc.so.6
#9  0x00002b0fd7aceb20 in __chk_fail () from /lib/libc.so.6
#10 0x00002b0fd7acf0f2 in __readlink_chk () from /lib/libc.so.6
#11 0x00000000004283a5 in TtaInitializeAppRegistry(char*) ()
#12 0x00000000004ccdd8 in AmayaApp::OnInit() ()
#13 0x00000000006c244a in wxEntry(int&, wchar_t**) ()
#14 0x00000000004cc432 in main ()

Thread 1 (Thread 0x2b0fdc82b220 (LWP 5796)):
#0  0x00002b0fd77c95fe in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00002b0fd6554b61 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#2  0x00002b0fd65550e1 in g_spawn_command_line_sync ()
   from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3  0x00002b0fdf35d041 in bugbuddy_segv_handle(int) ()
   from /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#4  <signal handler called>
No symbol table info available.
#5  0x00002b0fd7a0abd5 in raise () from /lib/libc.so.6
No symbol table info available.
#6  0x00002b0fd7a0c415 in abort () from /lib/libc.so.6
No symbol table info available.
#7  0x00002b0fd7a48a72 in __libc_message () from /lib/libc.so.6
No symbol table info available.
#8  0x00002b0fd7ad0cc7 in __fortify_fail () from /lib/libc.so.6
No symbol table info available.
#9  0x00002b0fd7aceb20 in __chk_fail () from /lib/libc.so.6
No symbol table info available.
#10 0x00002b0fd7acf0f2 in __readlink_chk () from /lib/libc.so.6
No symbol table info available.
#11 0x00000000004283a5 in TtaInitializeAppRegistry(char*) ()
No symbol table info available.
#12 0x00000000004ccdd8 in AmayaApp::OnInit() ()
No symbol table info available.
#13 0x00000000006c244a in wxEntry(int&, wchar_t**) ()
No symbol table info available.
#14 0x00000000004cc432 in main ()
No symbol table info available.
A debugging session is active.

	Inferior 1 [process 5796] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]

=================

Reproducible: Always

Steps to Reproduce:
1.paludis -i gcc
2.
3.




a similar bug was reported before at:

http://gcc.gnu.org/ml/gcc-patches/2009-09/msg01182.html
Comment 1 fkhp 2010-05-03 14:58:07 UTC
it seems /usr/bin/print was runned many times while gcc was compiled. maybe there was a print command like printf before. and gcc's make file called the print command, 
# ls `which print` -al
lrwxrwxrwx 1 root root 23  5月  3 19:19 /usr/bin/print -> /usr/Amaya/wx/bin/print

amaya is the w3c browser, it prioved a ebuild on http://w3c.org site.
Comment 2 fkhp 2010-05-03 23:39:06 UTC
 
 # mv /usr/bin/print ~

then not bug buddy any more.
Comment 3 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-05-05 13:24:59 UTC
I 'll resolve the bug as CANTFIX. If you still have trouble, or you can specify the problem please reopen. Thank you for your report.
Comment 4 Rob 2010-07-27 15:26:13 UTC
I saw this same issue when I had a plasmid crash and it was trying to do a backtrace. This is the 'fancy printing' library and is a gdb library, it is not the reason for the crash, it's just trying to load the library so that you can get colors and such in the terminal for the backtrace. If it doesn't load, then you just get plain text.

I have USE=-debug for gcc, perhaps just changing it to +debug would build this library? I'm not sure but it's probably more a feature of the USE flag than a bug.