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 597113 - Crashed on project's load.
Crashed on project's load.
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: plugins: symbol-db
2.28.x
Other Linux
: Normal critical
: ---
Assigned To: Massimo Cora'
Anjuta maintainers
: 597275 598510 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-10-02 13:02 UTC by Maxim Ermilov
Modified: 2009-10-15 16:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for this bug (1.24 KB, patch)
2009-10-02 13:02 UTC, Maxim Ermilov
rejected Details | Review

Description Maxim Ermilov 2009-10-02 13:02:41 UTC
Created attachment 144592 [details] [review]
Patch for this bug

backtrace:

  • #0 sdb_engine_get_tuple_id_by_unique_name
    at symbol-db-engine-core.c line 768
  • #1 sdb_engine_add_new_db_file
    at symbol-db-engine-core.c line 3455
  • #2 symbol_db_engine_add_new_files_full
    at symbol-db-engine-core.c line 3697
  • #3 do_add_new_files
    at plugin.c line 1026
  • #4 do_check_offline_files_changed
    at plugin.c line 1690
  • #5 on_project_root_added
    at plugin.c line 1952
  • #6 value_added_cb

Comment 1 Luca Bruno 2009-10-04 12:05:19 UTC
*** Bug 597275 has been marked as a duplicate of this bug. ***
Comment 2 Massimo Cora' 2009-10-05 16:59:42 UTC
which project are you trying to load? Is it a Makefile.am based?
Comment 3 Maxim Ermilov 2009-10-05 17:58:08 UTC
(In reply to comment #2)
> which project are you trying to load? Is it a Makefile.am based?

It crash on every project (i try only Makefile.am based). Also It crash Even If I create new project from template (Generic minimal)
Comment 4 Massimo Cora' 2009-10-05 18:45:12 UTC
this is very very strange, because I never heard of something like this happening.
Which libgda version are you running?
Are you compiling Anjuta from source or using a pre-built binary?
Which distrib are you running?
Comment 5 Massimo Cora' 2009-10-05 18:55:52 UTC
Comment on attachment 144592 [details] [review]
Patch for this bug

this does not solve completely the problem. It does not fix the sdb_engine_get_tuple_id_by_unique_name2 etc. functions.
Comment 6 Massimo Cora' 2009-10-05 19:04:22 UTC
something must have changed on libgda or glib.
I'll provide a fix in 1-2 days.
Comment 7 Maxim Ermilov 2009-10-05 19:22:03 UTC
(In reply to comment #4)
> Which libgda version are you running?
4.0.4
> Are you compiling Anjuta from source or using a pre-built binary?
pre-built binary(amd64)/ from source(x86)

> Which distrib are you running?

Ubuntu 9.10 (amd64 and x86)
Comment 8 Luca Bruno 2009-10-05 19:26:56 UTC
Debian sid amd64 and libgda4. Please apply that patch, it's even more reasonable than the current insane checks in the code.
Comment 9 Massimo Cora' 2009-10-06 17:28:52 UTC
fixed on master and gnome-2-28 branch.


The crash was maybe caused by a --g-fatal-warnings added to Makefile.
Now the tests are improved, even if those macros already checks for NULL values.
Comment 10 Johannes Schmid 2009-10-06 17:44:02 UTC
Can you please cherry-pick this to gnome-2-28? Thanks!
Comment 11 Massimo Cora' 2009-10-06 17:56:59 UTC
according to http://git.gnome.org/cgit/anjuta?h=gnome-2-28 it seems it has been pushed, do you confirm?
Comment 12 Johannes Schmid 2009-10-06 18:07:41 UTC
yes, thanks!
Comment 13 Massimo Cora' 2009-10-15 16:17:44 UTC
*** Bug 598510 has been marked as a duplicate of this bug. ***