Bug report #4938

Crash on opening MapComposer

Added by cmoe - over 7 years ago. Updated over 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:-
Affected QGIS version:1.8.0 Regression?:No
Operating System:Ubuntu Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:14737

Description

This affects the relase-1_8 branch:

When opening a print composer, Qgis crashes.

  • Start Qgis
  • open a new PrintComposer
  • crash with seg fault
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff533bb31 in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) ()
   from /usr/lib/libQtCore.so.4
(gdb) bt
#0  0x00007ffff533bb31 in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) ()
   from /usr/lib/libQtCore.so.4
#1  0x000000000075fe13 in QgsComposer::connectSlots() ()
#2  0x000000000075d4e3 in QgsComposer::QgsComposer(QgisApp*, QString const&) ()
#3  0x000000000054c154 in QgisApp::createNewComposer() ()

It shows that it crashes on line 327 of app/composer/qgscomposer.cpp, which was introduced on commit:2ca6e19. If I uncomment this line, everything is fine without crash but I don't know, what else may be wrong now.

History

#1 Updated by Alexander Bruy over 7 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Fixed in changeset commit:"4ee6de5d63937379f2694cc2939e5fbc27056f59".

Also available in: Atom PDF