Ticket #155 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

Attribute Table crashes when click start digitizing button on PostGIS Layer

Reported by: horst.duester@… Owned by: mhugent
Priority: critical: causes crash or data corruption Milestone:
Component: Data Provider Version: Trunk
Keywords: Cc:
Platform Version: Platform: RedHat
Must Fix for Release: Yes Awaiting user input:

Description

The attribute table disappears and it is not possible to recover the attribute table after a click on the start digitizing button. I find out this behavior at the HEAD version. QGIS Windows 8.5.06 works fine.

Change History

Changed 7 years ago by mhugent

  • owner changed from gsherman to mhugent

Unfortunately, this also works in my computing environment. Does the database report anything unusual when clicking the 'start editing' button or when you try to recover the attribute table? One possibility for me to test would be that you set up a little testdatabase and give me remote access (if your firewall allows this).

Marco

Changed 7 years ago by horst.duester@…

This seems to be a harder problem. It depends on the platform/system I start QGIS. From a native KDE environment it works Under Windows with X-Server (eXcursion) it works, but not very stable. Starting QGIS from Tarantella secure network, our migration platform, it doesn't work. Perhaps it's a Tarantella problem???? I'm at a loss with it.

Horst

Changed 7 years ago by anonymous

OK. I made some tests and it looks like a GNOME problem. Our Tarantelle secure network based on GNOME. When I start QGIS from GNOME Desktop the attribute table crashes. Starting QGIS from KDE everything works fine but the terminal reports the following warnings: Warning: X Error: BadWindow? (invalid Window parameter) 3

Major opcode: 20 (X_GetProperty) Resource id: 0x1400336

Warning: X Error: BadWindow? (invalid Window parameter) 3

Major opcode: 15 (X_QueryTree) Resource id: 0x1400336

Warning: X Error: BadWindow? (invalid Window parameter) 3

Major opcode: 40 (X_TranslateCoords) Resource id: 0x1400336

What can we do?????

Horst

Changed 7 years ago by horst.duester@…

Good news and bad news. Good: I just made an upgrade QT-4.1.2 to QT-4.1.3 and now start digitzing doesn't lead to a crash of the attribute table in our trantella/GNOME gdm environment.

Bad: Prior I upgraded to QT-4.1.4, start digitizing works too, but QGIS crashed when I tried to zoom. This happens with Shape, GRASS and PostGIS polygon layers.

Changed 7 years ago by mhugent

Hm, this tarantella environment seems to be strange. Do you have a backtrace so we can see where the crash exactly happens?

Marco

Changed 7 years ago by mhugent

After trying out 4.1.4 myself i also observe such crashes (under KDE). The backtrace is not very usefull as i didn't compile qt with -g. But for me it seems that this is a problem inside the qt library and not related to the qgis code.

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1255425536 (LWP 4237)] 0xb75caaac in ?? () from /home/humarco/src/qt-x11-opensource-src-4.1.4/lib/libQtGui.so.4 (gdb) bt #0 0xb75caaac in ?? () from /home/humarco/src/qt-x11-opensource-src-4.1.4/lib/libQtGui.so.4 #1 0x00000000 in ?? ()

Changed 7 years ago by anonymous

  • component changed from Build/Install to Data Provider

Changed 7 years ago by mhugent

Qt4.2 seems to work fine for me. Could you try if such crashes happen for you with 4.2?

Changed 7 years ago by rblazek

  • priority changed from major to critical

Changed 7 years ago by gsherman

  • must_fix set to Yes

Changed 7 years ago by horst.duester@…

This bug seems to be fixed since a longer time. I advise to close this ticket.

Changed 7 years ago by gsherman

  • status changed from new to closed
  • resolution set to fixed

Changed 4 years ago by anonymous

  • milestone Version 0.8 deleted

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.