GNOME Bugzilla – Bug 633018
crash in Anjuta IDE: I closed a project, wich...
Last modified: 2011-01-15 11:17:52 UTC
Version: 2.32.0.0 What were you doing when the application crashed? I closed a project, wich was opened by anjuta when starting anjuta (it was the project I worked on at the last session) Distribution: Debian squeeze/sid Gnome Release: 2.30.2 2010-07-17 (Debian) BugBuddy Version: 2.30.0 System: Linux 2.6.32-5-686 #1 SMP Thu Oct 14 17:15:16 UTC 2010 i686 X Vendor: The X.Org Foundation X Vendor Release: 10707000 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: gnome-brave GTK+ Modules: gnomebreakpad, canberra-gtk-module Memory status: size: 332050432 vsize: 332050432 resident: 68640768 share: 23986176 rss: 68640768 rss_rlim: 18446744073709551615 CPU usage: start_time: 1287913411 rtime: 6043 utime: 5952 stime: 91 cutime:1 cstime: 2 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/anjuta' [Thread debugging using libthread_db enabled] [New Thread 0xa868db70 (LWP 16876)] [New Thread 0xa44fcb70 (LWP 16875)] [New Thread 0xa4cfdb70 (LWP 16874)] [New Thread 0xaa692b70 (LWP 16813)] [New Thread 0xb0a1db70 (LWP 16810)] 0xb78af424 in __kernel_vsyscall ()
+ Trace 224305
Thread 1 (Thread 0xb69b0a50 (LWP 16805))
A debugging session is active. Inferior 1 [process 16805] will be detached. Quit anyway? (y or n) [answered Y; input not from terminal] ----------- .xsession-errors --------------------- show_notification = True preset = paste.debian.net open_browser = False mime-type not found: 'application/vnd.ms-powerpoint'Create Settings object... Reading configuration from GConf... Loaded configuration: ask_confirmation = False show_notification = True preset = paste.debian.net open_browser = False mime-type not found: 'application/vnd.ms-powerpoint' (anjuta:16805): libanjuta-symbol-db-WARNING **: SQL select exec failed: SELECT symbol.symbol_id, symbol.name, symbol.file_position, symbol.scope_definition_id, symbol.signature, symbol.returntype, sym (anjuta:16805): libanjuta-symbol-db-WARNING **: SQL select exec failed: SELECT symbol.symbol_id, symbol.name, symbol.file_position, symbol.scope_definition_id, symbol.signature, symbol.returntype, sym Assertion 'pthread_setspecific(t->key, userdata) == 0' failed at pulsecore/thread-posix.c:200, function pa_tls_set(). Aborting. --------------------------------------------------
(anjuta:16805): libanjuta-symbol-db-WARNING **: SQL select exec failed: SELECT symbol.symbol_id, symbol.name, symbol.file_position, symbol.scope_definition_id, symbol.signature, symbol.returntype, sym (anjuta:16805): libanjuta-symbol-db-WARNING **: SQL select exec failed: SELECT symbol.symbol_id, symbol.name, symbol.file_position, symbol.scope_definition_id, symbol.signature, symbol.returntype, sym Assertion 'pthread_setspecific(t->key, userdata) == 0' failed at pulsecore/thread-posix.c:200, function pa_tls_set(). Aborting. Looks pretty much like memory corruption in the symbol database threading!
it seems to me that there's some problems with db versions "SQL select exec failed". Can you please try to remove (after a proper backup) /your/project/.anjuta_sym_db.db and then re-launch anjuta? Try to see if the bug still exists. It would be great if you could give me the output of: $ cd /your/project/ $ sqlite3 .anjuta_sym_db.db SQLite version 3.7.3 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> select * from version; thanks. btw: anjuta 2.32 has been packaged on sid/squeeze despite all the others gnome libraries are still at 2.30.
Some additional information: SQLite version 3.7.3 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> select * from version Error: no such table: version At the moment anjuta (2.32.0 from debian/squeeze) loads the project without problems.
(In reply to comment #3) > Some additional information: > > SQLite version 3.7.3 > Enter ".help" for instructions > Enter SQL statements terminated with a ";" > sqlite> select * from version > Error: no such table: version > you should also place a ";" at the end of the query here it is mine output: SQLite version 3.7.3 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> select * from version; 300.8 > > At the moment anjuta (2.32.0 from debian/squeeze) loads the project without > problems.
sorry, it was a copy&paste mistake made by me... SQLite version 3.7.3 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> select * from version; 300.6
I have seen on Ubuntu a bug looking like this one. It appears only when System->Preferences->Sound->window and button sound effect is enable. So you can try to disable this option and check if it's working better. You get a error on the screen too: Assertion 'pthread_setspecific(t->key, userdata) == 0' failed at pulsecore/thread-posix.c:240, function pa_tls_set(). Aborting. Anjuta is crashing very often with this bug. It is a bug in Anjuta due to a wrong call of xmlCleanupParser, which overwrite some data in pulse audio.
*** Bug 636453 has been marked as a duplicate of this bug. ***
*** Bug 636451 has been marked as a duplicate of this bug. ***
*** Bug 634773 has been marked as a duplicate of this bug. ***
More information in this blog post http://0pointer.de/blog/projects/beware-of-xmlCleanupParser.html and in this bug report https://bugzilla.redhat.com/show_bug.cgi?id=554903
Created attachment 177041 [details] [review] Fix Remove wrong xmlCleanupParser call and add it only one just before exiting. I cannot reproduce the bug here so I haven't committed it yet. Is someone can check that this patch fix the bug ?
I have committed the fix and fix anjuta-extras too (two calls to xmlCleanupParser in the profiler plugin). I still haven't seen that the bug is fixed so if you see this it again reopen this bug report.
great shot seb!
*** Bug 638154 has been marked as a duplicate of this bug. ***
*** Bug 638287 has been marked as a duplicate of this bug. ***
*** Bug 639592 has been marked as a duplicate of this bug. ***