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

Clicking On Disabled AdBlock Icon Crashes Browser #642

Closed
ghost opened this issue Nov 21, 2012 · 1 comment
Closed

Clicking On Disabled AdBlock Icon Crashes Browser #642

ghost opened this issue Nov 21, 2012 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Nov 21, 2012

Hi,

I'm running Slackware 14.0 x86 with 1.3.5 compiled from source...

Not sure if this is a bug, but it seems like at least it should not behave this way.

I noticed when I disabled AdBlock and the icon on the bottom right appears grey, I thought that you could still left or right click it and get the menu to open it or enable it.

If I left click on the icon it will crash the browser and it gave me a crash report;

Time: Tue Nov 20 19:38:11 2012
Qt version: 4.8.2 (compiled with 4.8.2)
QupZilla version: 1.3.5
WebKit version: 534.34

============== BACKTRACE ==============
#0: qupzilla() [0x804a862]
#1: linux-gate.so.1(__kernel_sigreturn+0) [0xffffe400]
#2: /usr/lib/libQupZilla.so.1(_ZNK17AdBlockCustomList14containsFilterERK7QString+0x16) [0xb7512926]
#3: /usr/lib/libQupZilla.so.1(_ZN11AdBlockIcon10createMenuEP5QMenu+0xc34) [0xb751eef4]
#4: /usr/lib/libQupZilla.so.1(_ZN11AdBlockIcon8showMenuERK6QPoint+0x3e) [0xb751f5be]
#5: /usr/lib/libQupZilla.so.1(+0x22777f) [0xb75cd77f]
#6: /usr/lib/qt/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x272) [0xb4b443c2]
#7: /usr/lib/libQupZilla.so.1(_ZN14ClickableLabel7clickedE6QPoint+0x45) [0xb75c9375]
#8: /usr/lib/libQupZilla.so.1(_ZN14ClickableLabel17mouseReleaseEventEP11QMouseEvent+0x125) [0xb74e7da5]
#9: /usr/lib/qt/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x772) [0xb4f90602]
#10: /usr/lib/qt/lib/libQtGui.so.4(_ZN6QFrame5eventEP6QEvent+0x35) [0xb539ec65]
#11: /usr/lib/qt/lib/libQtGui.so.4(_ZN6QLabel5eventEP6QEvent+0x50) [0xb53a1c30]
#12: /usr/lib/qt/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xbc) [0xb4f36ffc]
#13: /usr/lib/qt/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0xc73) [0xb4f3c4e3]
#14: /usr/lib/qt/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8e) [0xb4b2d6ce]
#15: /usr/lib/qt/lib/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb+0xef) [0xb4f37e5f]
#16: /usr/lib/qt/lib/libQtGui.so.4(+0x1e6f07) [0xb4fc0f07]
#17: /usr/lib/qt/lib/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0xf60) [0xb4fbf990]
#18: /usr/lib/qt/lib/libQtGui.so.4(+0x20ea5c) [0xb4fe8a5c]
#19: /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x143) [0xb3efff73]
#20: /usr/lib/libglib-2.0.so.0(+0x46310) [0xb3f00310]
#21: /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x41) [0xb3f003f1]
#22: /usr/lib/qt/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x61) [0xb4b5f471]
#23: /usr/lib/qt/lib/libQtGui.so.4(+0x20e66a) [0xb4fe866a]
#24: /usr/lib/qt/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x4c) [0xb4b2c19c]
#25: /usr/lib/qt/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x141) [0xb4b2c491]
#26: /usr/lib/qt/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x9a) [0xb4b3174a]
#27: /usr/lib/qt/lib/libQtGui.so.4(_ZN12QApplication4execEv+0x24) [0xb4f34e54]
#28: qupzilla() [0x804a310]
#29: /lib/libc.so.6(__libc_start_main+0xf5) [0xb46f45a5]
#30: qupzilla() [0x804a5e1]

THANKS

@ff2000
Copy link
Contributor

ff2000 commented Nov 21, 2012

Already fixed with this commit:
37da537
It should be simple enough for you to apply it to 1.3.5 :)

@pejakm pejakm closed this as completed Nov 21, 2012
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