After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 680681 - Bug in auto complétion
Bug in auto complétion
Status: RESOLVED DUPLICATE of bug 679772
Product: anjuta
Classification: Applications
Component: plugins: language-support-c-cpp-java
3.4.x
Other Linux
: High critical
: ---
Assigned To: Naba Kumar
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2012-07-27 01:40 UTC by qhm11
Modified: 2012-07-28 09:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdb output (3.70 KB, application/octet-stream)
2012-07-27 15:41 UTC, qhm11
Details

Description qhm11 2012-07-27 01:40:02 UTC
The autocomplétion make my anjuta crash. I think a while(1) is launch.
I'm under ubuntu 12.04 and my version is 3.4.0
Comment 1 André Klapper 2012-07-27 08:14:02 UTC
Thanks for taking the time to report this bug.
Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 2 qhm11 2012-07-27 12:50:31 UTC
I try to attach my /var/crash*anjuta.crash but file is too large 12Mb.
When autocomplétion launch cursor doesn't move and one of my two core is at 100%, and i've a force close.
Comment 3 qhm11 2012-07-27 12:59:26 UTC
I've try too  have the information, i've used apport and it  posted the bug on launchpad. Here you've the apport report : https://bugs.launchpad.net/ubuntu/+source/anjuta/+bug/1029923
Comment 4 Johannes Schmid 2012-07-27 13:40:12 UTC
Actually you can gzip/tar the stacktrace if you have and attatch it here.
Comment 5 qhm11 2012-07-27 14:19:38 UTC
I really want to help you but i can't find the stack trace it is this file /var/crash/_usr_bin_anjuta.1000.crash?
i uploaded it on my server the file is here : http://spartan-117.fr/spartan-117/_usr_bin_anjuta.1000.crash
Comment 6 Johannes Schmid 2012-07-27 14:34:55 UTC
Can you try this: https://wiki.ubuntu.com/DebuggingProgramCrash

Thanks!
Comment 7 qhm11 2012-07-27 14:56:56 UTC
I've already try but apport doesn't detect the crash. Anjuta become grey and it run at 100% of my CPU, all it's freeze but when i clik on red cross he say's me force close or cancel and when i click force close nothing happens
Comment 8 Johannes Schmid 2012-07-27 15:35:31 UTC
OK, what you could do (as you can reproduce it - which is enormously useful):

* run anjuta
* reproduce the bug
* run "ps -ax | grep anjuta" to get the pid
* gdb --pid <pid that you just got>
* on gdb prompt type "bt"
* Post the output here

Thanks a lot for your patience!
Comment 9 qhm11 2012-07-27 15:41:18 UTC
Created attachment 219745 [details]
gdb output

It's my gdb output bt
Comment 10 qhm11 2012-07-27 15:58:24 UTC
This bug is reproducible all time (i've not presised)
Comment 11 Johannes Schmid 2012-07-27 16:07:41 UTC
Thanks a lot for the stacktrace - this is really good.

Is the point you are trying out open source so that I could try to reproduce it here with the code? And what would be the exact steps?

Thanks!
Comment 12 qhm11 2012-07-27 22:43:16 UTC
here my project : http://spartan-117.fr/spartan-117/myproject.tgz

I use GtkSourceView and autotools in favorite greffon

and my autocomplétion parameter are :

Activate code completion

add an "("
add an ")"
Enable smart completion braces

show help calling.

the bug appears when you type "this->" in a member function.

you can find member function in bdd.cc relation.cc entity.cc entity-field.cc type.cc
Comment 13 Johannes Schmid 2012-07-28 09:34:17 UTC
OK, took me a while to find out but this one was fixed a month ago:
http://git.gnome.org/browse/anjuta/commit/plugins/language-support-cpp-java/cxxparser/engine-parser.cpp?id=32e59b87bde9f71cddb8d9e8d40f0020f698728a

Thanks a lot for your patience - I will cherry-pick some fixes in anjuta-3.4 branch and make a anjuta 3.4.3 release soon.

*** This bug has been marked as a duplicate of bug 679772 ***