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 671993 - Segmentation fault when i organize files
Segmentation fault when i organize files
Status: RESOLVED INCOMPLETE
Product: gnome-documents
Classification: Core
Component: general
0.3.x
Other Linux
: Normal critical
: ---
Assigned To: GNOME documents maintainer(s)
GNOME documents maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-03-13 14:51 UTC by Tom Tryfonidis
Modified: 2012-04-03 21:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnome-documents 0.3.90 backtrace (6.29 KB, text/x-log)
2012-03-14 15:25 UTC, Tom Tryfonidis
Details
gnome-documents-git backtrace (6.40 KB, text/x-log)
2012-03-14 15:26 UTC, Tom Tryfonidis
Details
stacktrace (5.35 KB, text/plain)
2012-03-14 16:55 UTC, Tom Tryfonidis
Details

Description Tom Tryfonidis 2012-03-13 14:51:37 UTC
Everytime i try to create a "folder" or add a file in it,i get a segmetntation fault.

This happens when i select the file and then check the box (or add a folder and check the box).The program will close,but if i open it again the changes will be done.

Steps to reproduce it:
- Select a file and click the organize button
- Add new folder
- Enter a name and check the box

or 

- Select a file and click the organize button
- Select an existing folder to add it and check the box

In both situations the "ok" button doesn't work.


The console output is:
/usr/bin/gnome-documents: line 29: 27729 Segmentation fault      /usr/bin/gjs-console -I /usr/share/gnome-documents/js -c "const Main = imports.main; Main.start();" "$@"
Comment 1 Cosimo Cecchi 2012-03-14 13:52:26 UTC
Which version of gnome-documents is this with?
I recently put some work on the stability of collection management, could you try again with git master (or with 0.3.92 as soon as it comes out)?
Also, it would be good to have a stacktrace of this crash.
Comment 2 Tom Tryfonidis 2012-03-14 15:25:15 UTC
Created attachment 209741 [details]
gnome-documents 0.3.90 backtrace
Comment 3 Tom Tryfonidis 2012-03-14 15:26:12 UTC
Created attachment 209742 [details]
gnome-documents-git backtrace
Comment 4 Tom Tryfonidis 2012-03-14 15:28:40 UTC
I used 0.3.90 version and i tried the git version too.
Both versions have the same problem
Comment 5 Cosimo Cecchi 2012-03-14 16:26:39 UTC
Thanks; unfortunately these are not really useful, since the gnome-documents executable is just a script that initializes gjs-console.
If you are able to reproduce this bug with git master, I suppose you are building gnome-documents yourself; what you can do is run the gnome-documents-debug launcher from the src directory. That will launch gjs-console inside gdb, so we can have a more precise idea what's going on.
Comment 6 Tom Tryfonidis 2012-03-14 16:55:47 UTC
Created attachment 209757 [details]
stacktrace

I hope that this will help you.
Comment 7 Cosimo Cecchi 2012-03-15 12:56:51 UTC
(In reply to comment #6)
> Created an attachment (id=209757) [details]
> stacktrace
> 
> I hope that this will help you.

Thanks...the trace is still missing some debug information, but it's useful nevertheless; are you using Documents with a Google account? Do you have collections in your database that are "old" (i.e. not listed in the first "page" of 50 results in the overview)? I might have found a bug related to that.
Comment 8 Tom Tryfonidis 2012-03-15 16:56:18 UTC
> are you using Documents with a Google account? 

No i don't have any account with Documents,not even with Gnome online accounts.

> Do you have collections in your database that are "old" (i.e. not listed in the first
> "page" of 50 results in the overview)? I might have found a bug related to
> that.

Nope. I have only one collection (for testing purposes) and it's first in overview's results.
Comment 9 Tom Tryfonidis 2012-04-01 10:53:44 UTC
FYI with gnome-documents 0.4.0 the problem solved!! :-)
Comment 10 Cosimo Cecchi 2012-04-03 21:51:19 UTC
Okay, closing. Thanks for the follow up.