run fails very often in NetBeans C/C++ pack

Bug #578880 reported by Valeriy Soldatov
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
netbeans (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: netbeans

Ubuntu 10.04 (64bit)
NetBeans 6.8

I installed C/C++ plug-in and when I am launching Fractal or HelloQtWorld sample then run fails very often. HelloQtWorld fails very stable, Fractal more seldom.

Also I can reproduce this problem in console.
$ ulimit -c unlimited
$ export LD_PRELOAD=/home/sova/.netbeans/6.8/tools/Linux-x86_64/bin/prof_agent.so
$ ./dist/Debug/GNU-Linux-x86/HelloQtWorld_1
Недопустимая инструкция (core dumped)

$ gdb ./dist/Debug/GNU-Linux-x86/HelloQtWorld_1 ./core
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/sova/NetBeansProjects/HelloQtWorld_1/dist/Debug/GNU-Linux-x86/HelloQtWorld_1...done.
[New Thread 1919]
[New Thread 1918]

warning: Can't read pathname for load map: Ошибка ввода/вывода.
Reading symbols from /home/sova/.netbeans/6.8/tools/Linux-x86_64/bin/prof_agent.so...(no debugging symbols found)...done.
Loaded symbols for /home/sova/.netbeans/6.8/tools/Linux-x86_64/bin/prof_agent.so
Reading symbols from /usr/lib/libQtGui.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libQtGui.so.4
Reading symbols from /usr/lib/libQtCore.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libQtCore.so.4
Reading symbols from /lib/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/libpthread-2.11.1.so...done.
done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.6...Reading symbols from /usr/lib/debug/lib/libm-2.11.1.so...done.
done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...Reading symbols from /usr/lib/debug/lib/libc-2.11.1.so...done.
done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libdl.so.2...Reading symbols from /usr/lib/debug/lib/libdl-2.11.1.so...done.
done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/librt.so.1...Reading symbols from /usr/lib/debug/lib/librt-2.11.1.so...done.
done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /usr/lib/libfontconfig.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libaudio.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libaudio.so.2
Reading symbols from /lib/libglib-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libglib-2.0.so.0
Reading symbols from /lib/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpng12.so.0
Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/lib/libfreetype.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libgobject-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgobject-2.0.so.0
Reading symbols from /usr/lib/libSM.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /usr/lib/libICE.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /usr/lib/libXrender.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXext.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libgthread-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgthread-2.0.so.0
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.11.1.so...done.
done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libexpat.so.1
Reading symbols from /usr/lib/libXt.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXt.so.6
Reading symbols from /usr/lib/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /lib/libpcre.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libpcre.so.3
Reading symbols from /lib/libuuid.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libuuid.so.1
Reading symbols from /usr/lib/libxcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxcb.so.1
Reading symbols from /usr/lib/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Core was generated by `./dist/Debug/GNU-Linux-x86/HelloQtWorld_1'.
Program terminated with signal 4, Illegal instruction.
#0 _dl_x86_64_restore_sse () at ../sysdeps/x86_64/dl-trampoline.S:222
222 ../sysdeps/x86_64/dl-trampoline.S: Нет такого файла или каталога.
 in ../sysdeps/x86_64/dl-trampoline.S

Related links:
https://netbeans.org/bugzilla/show_bug.cgi?id=184966
http://forums.netbeans.org/viewtopic.php?t=21047

Workaround:
export LD_BIND_NOW=1

FriedChicken (domlyons)
Changed in netbeans (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.