Opened 18 years ago

Closed 18 years ago

Last modified 15 years ago

#101 closed bug (fixed)

map composer: crash when paper dimensions are huge

Reported by: werchowyna@… Owned by: rblazek
Priority: major: does not work as expected Milestone:
Component: Printing Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Debian
Platform Version: ubuntu breezy Awaiting user input: no

Description

1. map composer
2. set width 60000 and height 47000
3. crash

I know this is a-huge-paper, but this is my problem. Could QGIS not crash?

Session output and backtrace:

$ qgis

Warning: fileVectorFilters, unknown driver: GRASS
Warning: fileVectorFilters, unknown driver: SQLite
gisBase = /usr/local/grass-6.1.cvs
Warning: empty extent... not rendering
Warning: empty extent... not rendering
Warning: empty extent... not rendering
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
Aborted (core dumped)



(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb64359d1 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb64372e9 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6624533 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#4  0xb6621ed4 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#5  0xb6621f11 in std::terminate () from /usr/lib/libstdc++.so.6
#6  0xb66220fe in __cxa_rethrow () from /usr/lib/libstdc++.so.6
#7  0xb7e00ccb in QMetaObject::activate ()
   from /usr/local/Trolltech/Qt-4.1.2/lib/libQtCore.so.4
#8  0xb7e01901 in QMetaObject::activate ()
   from /usr/local/Trolltech/Qt-4.1.2/lib/libQtCore.so.4
#9  0xb77b09b5 in QLineEdit::returnPressed ()
   from /usr/local/Trolltech/Qt-4.1.2/lib/libQtGui.so.4
#10 0xb77b80dc in QLineEdit::keyPressEvent ()
   from /usr/local/Trolltech/Qt-4.1.2/lib/libQtGui.so.4
#11 0xb758d11d in QWidget::event ()
   from /usr/local/Trolltech/Qt-4.1.2/lib/libQtGui.so.4
#12 0xb77b6a58 in QLineEdit::event ()
   from /usr/local/Trolltech/Qt-4.1.2/lib/libQtGui.so.4
#13 0xb75471d1 in QApplicationPrivate::notify_helper ()
   from /usr/local/Trolltech/Qt-4.1.2/lib/libQtGui.so.4
#14 0xb754792b in QApplication::notify ()
   from /usr/local/Trolltech/Qt-4.1.2/lib/libQtGui.so.4
#15 0xb7594dbf in QETWidget::translateKeyEvent ()
   from /usr/local/Trolltech/Qt-4.1.2/lib/libQtGui.so.4
#16 0xb75a1a0a in QApplication::x11ProcessEvent ()
   from /usr/local/Trolltech/Qt-4.1.2/lib/libQtGui.so.4
#17 0xb75b242f in QEventDispatcherX11::processEvents ()
   from /usr/local/Trolltech/Qt-4.1.2/lib/libQtGui.so.4

Maciek

Change History (2)

comment:1 by g_j_m, 18 years ago

Resolution: fixed
Status: newclosed

Resolved in svn r5375 (well, sort of).

comment:2 by (none), 15 years ago

Milestone: Version 0.8

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.