Skip to content

Loading…

[Bug?] Print or export to PNG crashes the application #89

Closed
babs opened this Issue · 13 comments

2 participants

@babs

Using the latest commit (42eebe7), with local set to C, on Ubuntu 12.04 stable 32bits.

Here is the stack trace. Let me know if you need further info.

Regards,
Damien

** pgModeler [v0.4.0-beta] crashed after receive signal: SIGSEGV **

Date/Time:2013-01-19 14:41:49

/opt/pgmodeler-0.4.0-dev/pgmodeler() [0x804f508]
[0xb778b400]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x38aeb5) [0xb6c8ceb5]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x674927) [0xb6f76927]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x6755e4) [0xb6f775e4]
/usr/lib/i386-linux-gnu/libQtGui.so.4(_ZN16QUnixPrintWidgetC2EP8QPrinterP7QWidget+0x6b) [0xb6f778eb]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x67597e) [0xb6f7797e]
/usr/lib/i386-linux-gnu/libQtGui.so.4(_ZN12QPrintDialogC1EP7QWidget+0x6e) [0xb6f77ede]
/opt/pgmodeler-0.4.0-dev/lib/libpgmodeler_ui.so.1(_ZN13FormPrincipal14imprimirModeloEv+0x41) [0xb75914b1]
/opt/pgmodeler-0.4.0-dev/lib/libpgmodeler_ui.so.1(+0x2b2910) [0xb76a6910]
/usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x241) [0xb67b86b1]
/usr/lib/i386-linux-gnu/libQtGui.so.4(_ZN7QAction9triggeredEb+0x4d) [0xb6a359bd]
/usr/lib/i386-linux-gnu/libQtGui.so.4(_ZN7QAction8activateENS_11ActionEventE+0x8b) [0xb6a35c5b]
/usr/lib/i386-linux-gnu/libQtGui.so.4(_ZN7QAction5eventEP6QEvent+0xf0) [0xb6a35df0]
/usr/lib/i386-linux-gnu/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xc4) [0xb6a3ced4]
/usr/lib/i386-linux-gnu/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x18d) [0xb6a4230d]
/opt/pgmodeler-0.4.0-dev/pgmodeler() [0x8051389]
/usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8e) [0xb67a197e]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x1735f7) [0xb6a755f7]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x174bd5) [0xb6a76bd5]

@rkhaotix
PostgreSQL Database Modeler member

Hello Damien, what's your Qt version? The export to PNG and printing on my environment is working correctly!
(Slackware 14, 64 bits, Qt 4.8.2)

@babs

Default Ubuntu version (4:4.8.1-0ubuntu4.3)

@babs

I've installed the libqt4-dbg (debug symbols) but the stack trace is not more completed (exactly the same as posted before, nothing more :/)

@rkhaotix
PostgreSQL Database Modeler member
@babs

Model sent by mail :)

I forgot to mention that I rebuilt pgmodeler after debug symbol installed. Is there a specific flag to set to make it resolve missing ones ?

Regards,
Damien

@rkhaotix
PostgreSQL Database Modeler member
@babs

Nothing more about symbol resolution with those flags :/

@babs

Still have the crash at PNG export / print. Not really sure why. Same conditions using version 3bdfc18

LANG=C

** pgModeler [v0.4.0_r1] crashed after receive signal: 11 **

Date/Time:2013-03-14 15:15:54
Compilation Qt version: 4.8.1
Running Qt version: 4.8.1

/opt/pgmodeler-0.4.0-dev/pgmodeler() [0x804f508]
[0x593400]
/usr/lib/i386-linux-gnu/libcups.so.2(cupsUser+0x1f) [0x256e5ff]
/usr/lib/i386-linux-gnu/libcups.so.2(_cupsGetDests+0x9b) [0x254521b]
/usr/lib/i386-linux-gnu/libcups.so.2(cupsGetDests2+0x65) [0x25462c5]
/usr/lib/i386-linux-gnu/libcups.so.2(cupsGetDests+0x23) [0x2546633]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x38adb4) [0x1074db4]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x2d8bd7) [0xfc2bd7]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x2efd68) [0xfd9d68]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x2f1d21) [0xfdbd21]
/usr/lib/i386-linux-gnu/libQtGui.so.4(_ZN8QPrinter4initENS_11PrinterModeE+0x5a) [0xfdea0a]
/usr/lib/i386-linux-gnu/libQtGui.so.4(_ZN8QPrinterC1ENS_11PrinterModeE+0xab) [0xfdf29b]
/opt/pgmodeler-0.4.0-dev/lib/libobjrenderer.so.1(_ZN12ObjectsScene11setGridSizeEj+0x4b) [0xb3fc9b]
/opt/pgmodeler-0.4.0-dev/lib/libobjrenderer.so.1(_ZN12ObjectsScene14setGridOptionsEbbb+0x88) [0xb40258]
/opt/pgmodeler-0.4.0-dev/lib/libpgmodeler_ui.so.1(_ZN15ModelExportForm11exportModelEv+0x15a) [0x46b88a]
/opt/pgmodeler-0.4.0-dev/lib/libpgmodeler_ui.so.1(+0x2e2c98) [0x48dc98]
/usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x241) [0x7276b1]
/usr/lib/i386-linux-gnu/libQtGui.so.4(_ZN15QAbstractButton7clickedEb+0x4d) [0x155c97d]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x56662d) [0x125062d]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x567c9b) [0x1251c9b]

LANG=fr_FR.UTF-8

** pgModeler [v0.4.0_r1] crashed after receive signal: 11 **

Date/Time:2013-03-14 15:17:33
Compilation Qt version: 4.8.1
Running Qt version: 4.8.1

/opt/pgmodeler-0.4.0-dev/pgmodeler() [0x804f508]
[0xc80400]
/usr/lib/i386-linux-gnu/libcups.so.2(cupsLangGet+0x2a2) [0x27009b2]
/usr/lib/i386-linux-gnu/libcups.so.2(cupsLangDefault+0x1b) [0x2700fab]
/usr/lib/i386-linux-gnu/libcups.so.2(ippNewRequest+0x62) [0x26fe082]
/usr/lib/i386-linux-gnu/libcups.so.2(_cupsGetDests+0x58) [0x26ed1d8]
/usr/lib/i386-linux-gnu/libcups.so.2(cupsGetDests2+0x65) [0x26ee2c5]
/usr/lib/i386-linux-gnu/libcups.so.2(cupsGetDests+0x23) [0x26ee633]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x38adb4) [0x134ddb4]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x2d8bd7) [0x129bbd7]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x2efd68) [0x12b2d68]
/usr/lib/i386-linux-gnu/libQtGui.so.4(+0x2f1d21) [0x12b4d21]
/usr/lib/i386-linux-gnu/libQtGui.so.4(_ZN8QPrinter4initENS_11PrinterModeE+0x5a) [0x12b7a0a]
/usr/lib/i386-linux-gnu/libQtGui.so.4(_ZN8QPrinterC1ENS_11PrinterModeE+0xab) [0x12b829b]
/opt/pgmodeler-0.4.0-dev/lib/libobjrenderer.so.1(_ZN12ObjectsScene11setGridSizeEj+0x4b) [0x551c9b]
/opt/pgmodeler-0.4.0-dev/lib/libobjrenderer.so.1(_ZN12ObjectsScene14setGridOptionsEbbb+0x88) [0x552258]
/opt/pgmodeler-0.4.0-dev/lib/libpgmodeler_ui.so.1(_ZN15ModelExportForm11exportModelEv+0x15a) [0xa2388a]
/opt/pgmodeler-0.4.0-dev/lib/libpgmodeler_ui.so.1(+0x2e2c98) [0xa45c98]
/usr/lib/i386-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x241) [0x2a36b1]
/usr/lib/i386-linux-gnu/libQtGui.so.4(_ZN15QAbstractButton7clickedEb+0x4d) [0x183597d]

@rkhaotix
PostgreSQL Database Modeler member

Can't understand why pgModeler is crashing. I've tested with the model you send me and the PNG export / print is working fine! :(

Maybe its some cups problem.. I'll check it later.

@rkhaotix
PostgreSQL Database Modeler member

Finally I could reproduce the bug (for the printing crash only). Fix on the way!

@rkhaotix rkhaotix added a commit that referenced this issue
@rkhaotix rkhaotix Possible solution for printing crash. (issue #89)
Index FASTUPDATE and FILLFACTOR params is now activated according the
indexing type (issues #159)
f745f58
@babs

Made 5 consecutive export without a glitch :) I think you got it.
I'll try later tonight on another computer.

@rkhaotix
PostgreSQL Database Modeler member
@babs

Tested on another computer, no crash ... I think you got it :)

@babs babs closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.