Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

Browser crashes trying to print a page #1438

Closed
argkh opened this issue Aug 7, 2014 · 5 comments
Closed

Browser crashes trying to print a page #1438

argkh opened this issue Aug 7, 2014 · 5 comments
Labels

Comments

@argkh
Copy link

argkh commented Aug 7, 2014

On FreeBSD 8.4 when I try to print a page, either from the mouse context menu or from the main menu, Qupzilla crashes. The same under a nwely created profile.

Relevant data:
$ uname -a
FreeBSD bsd-8 8.4-RELEASE-p9 FreeBSD 8.4-RELEASE-p9 #0: Tue Apr 29 20:31:17 UTC 2014 [email protected]:/usr/obj/usr/src/sys/GENERIC i386

qupzilla:config
Version 1.6.6
Version Qt 4.8.6
Version WebKit 534.34
Build Jul 30 2014 19:25:10
Plateform BSD 4.4

Terminal report:
$ qupzilla
AdBlockSearchTree: Inserting rule with filter len <= 0!
QupZilla: 1 extensions loaded

(process:1350): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
QupZilla: Crashed :( Saving backtrace in /home/argkh/.config/qupzilla/crashlog ...
Backtrace successfuly saved in /home/argkh/.config/qupzilla/crashlog/Crash-2014-08-07T22:24:04.txt
Abort trap (core dumped)
$

Crashlog:

Time: чт авг 7 22:24:04 2014
Qt version: 4.8.6 (compiled with 4.8.6)
QupZilla version: 1.6.6
WebKit version: 534.34

============== BACKTRACE ==============
#0: 0xbfbfffb4
#1: 0x2ba75d9c <lh_doall_arg+156> at /lib/libcrypto.so.6
#2: 0x2ba760d3 <lh_insert+163> at /lib/libcrypto.so.6
#3: 0x2ba1ec48 <OBJ_NAME_add+120> at /lib/libcrypto.so.6
#4: 0x2ba1b07a <EVP_add_cipher+90> at /lib/libcrypto.so.6
#5: 0x36b577b8 <SSL_library_init+152> at /usr/local/lib/libssl.so.8
#6: 0x3699ab55 <httpInitialize+229> at /usr/local/lib/libcups.so.2
#7: 0x3699c587 <httpConnect2+71> at /usr/local/lib/libcups.so.2
#8: 0x369bb8cf <_cupsConnect+175> at /usr/local/lib/libcups.so.2
#9: 0x369bc586 <cupsDoIORequest+870> at /usr/local/lib/libcups.so.2
#10: 0x369bc6cb <cupsDoRequest+59> at /usr/local/lib/libcups.so.2
#11: 0x3698ab1f <_cupsGetDests+367> at /usr/local/lib/libcups.so.2
#12: 0x3698bddb <cupsGetDests2+123> at /usr/local/lib/libcups.so.2
#13: 0x3698c145 <cupsGetDests+37> at /usr/local/lib/libcups.so.2
#14: 0x2a9ecae4 <_ZN12QCUPSSupport6tempFdEv+644> at /usr/local/lib/qt4/libQtGui.so.4
#15: 0x2a9ecc2d <_ZN12QCUPSSupport11isAvailableEv+205> at /usr/local/lib/qt4/libQtGui.so.4
#16: 0x2a92a9e0 <_ZN14QPdfBaseEngineC2ER21QPdfBaseEnginePrivate6QFlagsIN12QPaintEngine18PaintEngineFeatureEE+96> at /usr/local/lib/qt4/libQtGui.so.4
#17: 0x2a93f544 <_ZN14QPSPrintEngineC1EN8QPrinter11PrinterModeE+84> at /usr/local/lib/qt4/libQtGui.so.4
#18: 0x2a94329c <_ZNK8QPrinter11printerNameEv+300> at /usr/local/lib/qt4/libQtGui.so.4
#19: 0x2a94654e <_ZN8QPrinter4initENS_11PrinterModeE+78> at /usr/local/lib/qt4/libQtGui.so.4
#20: 0x2a94693f <_ZN8QPrinterC1ENS_11PrinterModeE+159> at /usr/local/lib/qt4/libQtGui.so.4
#21: 0x2ad53ddd <_ZN26QPrintPreviewDialogPrivate4initEP8QPrinter+3117> at /usr/local/lib/qt4/libQtGui.so.4
#22: 0x2ad541f1 <_ZN19QPrintPreviewDialogC1EP7QWidget6QFlagsIN2Qt10WindowTypeEE+401> at /usr/local/lib/qt4/libQtGui.so.4
#23: 0x28309358 <_ZN7WebView9printPageEP9QWebFrame+72> at /usr/local/lib/libQupZilla.so.1
#24: 0x283a8368 <_ZNK7WebView10metaObjectEv+440> at /usr/local/lib/libQupZilla.so.1
#25: 0x2b4a8c9a <_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+1274> at /usr/local/lib/qt4/libQtCore.so.4
#26: 0x2a76fe69 <_ZN7QAction9triggeredEb+73> at /usr/local/lib/qt4/libQtGui.so.4
#27: 0x2a77150f <_ZN7QAction8activateENS_11ActionEventE+175> at /usr/local/lib/qt4/libQtGui.so.4
#28: 0x2ac58b90 <_ZN12QMenuPrivate19activateCausedStackERK5QListI8QPointerI7QWidgetEEP7QActionNS7_11ActionEventEb+432> at /usr/local/lib/qt4/libQtGui.so.4
#29: 0x2ac5faeb <_ZN12QMenuPrivate14activateActionEP7QActionNS0_11ActionEventEb+427> at /usr/local/lib/qt4/libQtGui.so.4
#30: 0x2ac61cb2 <_ZN5QMenu17mouseReleaseEventEP11QMouseEvent+226> at /usr/local/lib/qt4/libQtGui.so.4
#31: 0x282f9a2f <_ZN4Menu17mouseReleaseEventEP11QMouseEvent+335> at /usr/local/lib/libQupZilla.so.1
#32: 0x2a7d9eaa <_ZN7QWidget5eventEP6QEvent+1562> at /usr/local/lib/qt4/libQtGui.so.4
#33: 0x2ac5f494 <_ZN5QMenu5eventEP6QEvent+100> at /usr/local/lib/qt4/libQtGui.so.4
#34: 0x2a777b8c <_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+188> at /usr/local/lib/qt4/libQtGui.so.4
#35: 0x2a780d14 <_ZN12QApplication6notifyEP7QObjectP6QEvent+7348> at /usr/local/lib/qt4/libQtGui.so.4
#36: 0x2b48fcfb <_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+123> at /usr/local/lib/qt4/libQtCore.so.4
#37: 0x2a77ae09 <_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb+281> at /usr/local/lib/qt4/libQtGui.so.4
#38: 0x2a80cc59 <_ZN9QETWidget19translateMouseEventEPK7_XEvent+841> at /usr/local/lib/qt4/libQtGui.so.4
#39: 0x2a80c355 <_ZN12QApplication15x11ProcessEventEP7_XEvent+6341> at /usr/local/lib/qt4/libQtGui.so.4
#40: 0x2a839484 <_ZN30QGuiEventDispatcherGlibPrivateC2Ev+692> at /usr/local/lib/qt4/libQtGui.so.4
#41: 0x2bdf96c4 <g_main_context_dispatch+212> at /usr/local/lib/libglib-2.0.so.0
#42: 0x2bdfb759 <g_main_context_acquire+585> at /usr/local/lib/libglib-2.0.so.0
#43: 0x2bdfb840 <g_main_context_iteration+64> at /usr/local/lib/libglib-2.0.so.0
#44: 0x2b4c60b7 <_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+135> at /usr/local/lib/qt4/libQtCore.so.4
#45: 0x2a838fd5 <_ZN23QGuiEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+69> at /usr/local/lib/qt4/libQtGui.so.4
#46: 0x2b48eaa3 <_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+83> at /usr/local/lib/qt4/libQtCore.so.4
#47: 0x2b48eeba <_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+314> at /usr/local/lib/qt4/libQtCore.so.4
#48: 0x2b493cc6 <_ZN16QCoreApplication4execEv+182> at /usr/local/lib/qt4/libQtCore.so.4
#49: 0x2a7774b7 <_ZN12QApplication4execEv+39> at /usr/local/lib/qt4/libQtGui.so.4
#50: 0x804a3cc <_init+3352> at /usr/local/bin/qupzilla
#51: 0x8049bd7 <_init+1315> at /usr/local/bin/qupzilla
#52: 0x8049b48 <_init+1172> at /usr/local/bin/qupzilla


Otherwise, Qupzilla is great

@JHooverman
Copy link
Member

Does this happen as well, if you use the print to file option?

iq1

@argkh
Copy link
Author

argkh commented Aug 19, 2014

Well, actually it happens before the dialog window is shown: I choose the 'Print' option from the context menu or from the main menu and Qupzilla crashes instantly.

@JHooverman
Copy link
Member

May I ask you to download and compile QtTestbrowser? Please try to reproduce your issue with it.

@argkh
Copy link
Author

argkh commented Sep 3, 2014

QtTestBrowser does'nt run, says " 1: Syntax error: "(" unexpected ".
Anyway, I have recently reinstalled many packages including everytheing dealing with Qt and cups (for some other reason, conflicting packages) and now it works fine, printing is OK so the problem is solved. But before all soft worked good with printing but Qupzilla.
Thank you for your time

@JHooverman
Copy link
Member

Closing this issue as solved. Thank you for reporting back!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants