Opened 13 years ago

Closed 13 years ago

#3772 closed bug (invalid)

qgis 1.6 crash if want save project

Reported by: bo27up Owned by: nobody
Priority: critical: causes crash or data corruption Milestone:
Component: Project Loading / Saving Version: 1.6.0
Keywords: SDA4PP Cc:
Must Fix for Release: Yes Platform: Debian
Platform Version: Ubuntu 10.04 - 64bit Awaiting user input: yes

Description

Hello,

if I open and want to save the qgis crashes and the project file is damaged. This are the three last crash-protokolls:

Apr 25 11:19:21 jojo kernel: [ 8726.063961] qgis.bin[3778]: segfault at 4 ip 00007f9ca97b2de7 sp 00007fffabad6210 error 4 in libgcc_s.so.1[7f9ca97a3000+16000]
Apr 25 11:32:53 jojo kernel: [ 9538.353571] qgis.bin[3935]: segfault at 7ffffcb28080 ip 00007f1b1c3a028a sp 00007ffffcb1a598 error 4 in libc-2.11.1.so[7f1b1c318000+17a000]
Apr 25 11:33:21 jojo kernel: [ 9566.617702] qgis.bin[3967]: segfault at 4 ip 00007f0cfda3ade7 sp 00007ffff6f17990 error 4 in libgcc_s.so.1[7f0cfda2b000+16000]

My OS is: Ubuntu 10.04 - 64bit

Attachments (1)

grassdata.tar.gz (54.5 KB ) - added by bo27up 13 years ago.
Grass-Data

Download all attachments as: .zip

Change History (11)

comment:1 by lutra, 13 years ago

please attach/link a sample of data (project+data) to try replicate locally.

comment:2 by jef, 13 years ago

Awaiting user input: set

in reply to:  1 ; comment:3 by bo27up, 13 years ago

Replying to lutra:

please attach/link a sample of data (project+data) to try replicate locally.

Thank you for fast reply!

I'm working with Grass Plugin on QGIS. Here are the steps which leads to a crash.

  1. Load a Polygon (Grass-)Data
  1. Load Raster (Grass-)Data
  1. Try to save Project => Crash, Project Data is damaged
  1. Open Project again (project data was saved on another place before)
  1. Close Raster Data, then try to save => it works!
  1. Close Project and restart Project (only Polygon Data is loaded as saved before)
  1. Try to save => it works!
  1. Then open Raster Data again and try to save (Polygon and Raster) => it works!
  1. Close Project and restart Project again
  1. Try to save => Crash, Project Data is damaged.
  1. If I repeat step 4. until 10. I get the same behavior as decribes.

So QGIS crashes if Polygon and Raster Data is loaded, but only after second save-process. In the first time when its loaded (Polygon and Raster), its no problem with saving. After restart the Project the save-process crashes every time. If there is only Polygon Data loaded, there is no problem.

It's not possible for me to attach Data because there is a limit of 256kb. I will try to generate smaller sample data.

in reply to:  3 comment:4 by lutra, 13 years ago

I'm using qgis trunk on ubuntu 10.04 32 bit.

  1. Load a Polygon (Grass-)Data
  1. Load Raster (Grass-)Data
  1. Try to save Project => Crash, Project Data is damaged

not replicable here.

  1. Open Project again (project data was saved on another place before)
  1. Close Raster Data, then try to save => it works!
  1. Close Project and restart Project (only Polygon Data is loaded as saved before)
  1. Try to save => it works!

no problem here also

  1. Then open Raster Data again and try to save (Polygon and Raster) => it works!

no problem here also

  1. Close Project and restart Project again
  1. Try to save => Crash, Project Data is damaged.

not replicable here.

It's not possible for me to attach Data because there is a limit of 256kb.

link it instead of attaching it.

by bo27up, 13 years ago

Attachment: grassdata.tar.gz added

Grass-Data

comment:5 by bo27up, 13 years ago

Platform Version: Ubuntu 10.04 - 64bit

I attached the Data. Every time when I start the Project by double clicking the Project-file and then directly try to save the Project it crashes.

Remarkable is, that I get sometimes an error in libgcc_s.so.1 and sometimes in libc-2.11.1.so , by doing everytime the same (Open Project-file -> try to save Project => crash!)

Apr 25 18:53:13 jojo kernel: [35958.239523] qgis.bin[9857]: segfault at 4 ip 00007f6dc8e8ade7 sp 00007ffff1c31a90 error 4 in libgcc_s.so.1[7f6dc8e7b000+16000]
Apr 25 18:53:45 jojo kernel: [35990.008852] qgis.bin[9898]: segfault at 7fff031080b0 ip 00007f0b37f1d28a sp 00007fff030fac98 error 4 in libc-2.11.1.so[7f0b37e95000+17a000]
Apr 25 18:54:41 jojo kernel: [36046.662629] qgis.bin[9945]: segfault at 4 ip 00007f9098b02de7 sp 00007fff8659d9f0 error 4 in libgcc_s.so.1[7f9098af3000+16000]
Apr 25 18:55:49 jojo kernel: [36114.285668] qgis.bin[10004] general protection ip:7f4aba642de7 sp:7fffc4b317a0 error:0 in libgcc_s.so.1[7f4aba633000+16000]

comment:6 by lutra, 13 years ago

The attached data works fine with trunk and ubuntu 32 bit. Please try qgis trunk and report back.

in reply to:  6 ; comment:7 by bo27up, 13 years ago

Replying to lutra:

The attached data works fine with trunk and ubuntu 32 bit. Please try qgis trunk and report back.

Ok, I tried it with Trunk and 1.6 on a Virtual Machine (Ubuntu 10.04 - 64bit) and both works fine. Any Idea what I could try to fix the crashes on my machine? Maybe uninstall and install qgis 1.6 ?

in reply to:  7 comment:8 by lutra, 13 years ago

Resolution: worksforme
Status: newclosed

Replying to bo27up:

Maybe uninstall and install qgis 1.6 ?

should be easy to test.

Meanwhile I'll close this ticket. Reopen it if you find a way to replicate the problem.

comment:9 by bo27up, 13 years ago

Keywords: SDA4PP added; project file removed
Resolution: worksforme
Status: closedreopened

I found the "evildoer". It's a Python Plugin calls "SDA4PP".

My last Crash-Protokol was this here:

Apr 25 21:41:50 jojo kernel: [  540.742948] qgis.bin[1978]: segfault at 0 ip 00007fb5f16ce87b sp 00007fff55a1a220 error 4 in libR.so[7fb5f15fe000+2bb000]

So I guess first it's the Plugin "manageR", but after I'd uninstall Plugin's which use the R librarys I find out that SDA4PP is the Problem! Without this Plugin it works fine.

comment:10 by lutra, 13 years ago

Resolution: invalid
Status: reopenedclosed

SDA4PP is a 3rd party plugin, so the issue has to be filed directly to the author. In a few days/weeks will be published also the bug tracker for plugins, so if no feedback is given will be also possible to file a ticket there.

Note: See TracTickets for help on using tickets.