Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#50631 - Thunderbird crashed on KDE

Attached to Project: Arch Linux
Opened by luchsh (luchsh) - Friday, 02 September 2016, 15:04 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 05 September 2016, 14:04 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I installed thunderbird, installed add-on "Foxy Proxy Standard", and tried to add a new mail account.
But in the last step of adding mail account, right after click button 'Done', Thunderbird crashed.

OS info: Linux red 4.7.2-1-ARCH #1 SMP PREEMPT Sat Aug 20 23:02:56 CEST 2016 x86_64 GNU/Linux
CPU: model name : Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
Memory: MemTotal: 16388608 kB

Additional info:
* package version(s)
extra/thunderbird 45.2.0-2 [installed]
Standalone mail and news reader from mozilla.org

* config and/or log files etc.
With GDB I only saw following stack traces:
(gdb) bt
#0 0x00007f27493a36f0 in ?? () from /usr/lib/thunderbird/libxul.so
#1 0x00007f27493aff57 in ?? () from /usr/lib/thunderbird/libxul.so
#2 0x00007f27493b1075 in ?? () from /usr/lib/thunderbird/libxul.so
#3 0x00007f274917c98e in ?? () from /usr/lib/thunderbird/libxul.so
#4 0x00007f2749239f6d in ?? () from /usr/lib/thunderbird/libxul.so
#5 0x00007f274923a53e in ?? () from /usr/lib/thunderbird/libxul.so
#6 0x00007f2749204263 in ?? () from /usr/lib/thunderbird/libxul.so
#7 0x00007f2749245537 in ?? () from /usr/lib/thunderbird/libxul.so
#8 0x00007f2749246479 in ?? () from /usr/lib/thunderbird/libxul.so
#9 0x00007f2749200f01 in ?? () from /usr/lib/thunderbird/libxul.so
#10 0x00007f274934bab3 in NS_InvokeByIndex () from /usr/lib/thunderbird/libxul.so
#11 0x00007f2749764bac in ?? () from /usr/lib/thunderbird/libxul.so
#12 0x00007f2749769eca in ?? () from /usr/lib/thunderbird/libxul.so
#13 0x00007f274b18d548 in ?? () from /usr/lib/thunderbird/libxul.so
#14 0x00007f274b188434 in ?? () from /usr/lib/thunderbird/libxul.so
#15 0x00007f274b18d1f1 in ?? () from /usr/lib/thunderbird/libxul.so
#16 0x00007f274b18d497 in ?? () from /usr/lib/thunderbird/libxul.so
#17 0x00007f274b18dccc in ?? () from /usr/lib/thunderbird/libxul.so
#18 0x00007f274b03d4aa in ?? () from /usr/lib/thunderbird/libxul.so
#19 0x00007f2749f6813f in ?? () from /usr/lib/thunderbird/libxul.so
#20 0x00007f274a104481 in ?? () from /usr/lib/thunderbird/libxul.so
#21 0x00007f274a105822 in ?? () from /usr/lib/thunderbird/libxul.so
#22 0x00007f274a105bc4 in ?? () from /usr/lib/thunderbird/libxul.so
#23 0x00007f274a0f08dc in ?? () from /usr/lib/thunderbird/libxul.so
#24 0x00007f274a0f4e6a in ?? () from /usr/lib/thunderbird/libxul.so
#25 0x00007f274a0f51ba in ?? () from /usr/lib/thunderbird/libxul.so
#26 0x00007f274a6ef2a1 in ?? () from /usr/lib/thunderbird/libxul.so
#27 0x00007f2749a0b178 in ?? () from /usr/lib/thunderbird/libxul.so
#28 0x00007f274a7eedbe in ?? () from /usr/lib/thunderbird/libxul.so
#29 0x00007f274a7e7eb1 in ?? () from /usr/lib/thunderbird/libxul.so
#30 0x00007f274a708c0f in ?? () from /usr/lib/thunderbird/libxul.so
#31 0x00007f274a0f0859 in ?? () from /usr/lib/thunderbird/libxul.so
#32 0x00007f274a0f4e6a in ?? () from /usr/lib/thunderbird/libxul.so
#33 0x00007f274a6f5b7a in ?? () from /usr/lib/thunderbird/libxul.so
#34 0x00007f274a70605e in ?? () from /usr/lib/thunderbird/libxul.so
#35 0x00007f274a707ecb in ?? () from /usr/lib/thunderbird/libxul.so
#36 0x00007f274a0e2306 in ?? () from /usr/lib/thunderbird/libxul.so
#37 0x00007f274a0e542a in ?? () from /usr/lib/thunderbird/libxul.so
#38 0x00007f274a70612f in ?? () from /usr/lib/thunderbird/libxul.so
#39 0x00007f274a70626f in ?? () from /usr/lib/thunderbird/libxul.so
#40 0x00007f274a707c30 in ?? () from /usr/lib/thunderbird/libxul.so
#41 0x00007f274a51ccdc in ?? () from /usr/lib/thunderbird/libxul.so
#42 0x00007f274a51bbbf in ?? () from /usr/lib/thunderbird/libxul.so
#43 0x00007f274a543297 in ?? () from /usr/lib/thunderbird/libxul.so
#44 0x00007f274a51f469 in ?? () from /usr/lib/thunderbird/libxul.so
#45 0x00007f274a54b9a5 in ?? () from /usr/lib/thunderbird/libxul.so
#46 0x00007f274a54ba08 in ?? () from /usr/lib/thunderbird/libxul.so
#47 0x00007f274393574c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#48 0x00007f2744163f85 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#49 0x00007f2744175f92 in ?? () from /usr/lib/libgobject-2.0.so.0
#50 0x00007f274417e69f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#51 0x00007f274417efdf in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#52 0x00007f2743a4d84c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#53 0x00007f2743933f14 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#54 0x00007f27439342cb in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#55 0x00007f2742fff48c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#56 0x00007f2743e8ee67 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#57 0x00007f2743e8f0d0 in ?? () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#58 0x00007f2743e8f17c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#59 0x00007f274a54e52d in ?? () from /usr/lib/thunderbird/libxul.so
#60 0x00007f274a531349 in ?? () from /usr/lib/thunderbird/libxul.so
#61 0x00007f274a531534 in ?? () from /usr/lib/thunderbird/libxul.so
#62 0x00007f274934436f in ?? () from /usr/lib/thunderbird/libxul.so
#63 0x00007f274935e4c7 in ?? () from /usr/lib/thunderbird/libxul.so
#64 0x00007f2749541670 in ?? () from /usr/lib/thunderbird/libxul.so
#65 0x00007f274953162e in ?? () from /usr/lib/thunderbird/libxul.so
#66 0x00007f274a52f9d6 in ?? () from /usr/lib/thunderbird/libxul.so
#67 0x00007f274ab0a094 in ?? () from /usr/lib/thunderbird/libxul.so
#68 0x00007f274ab3eff8 in ?? () from /usr/lib/thunderbird/libxul.so
#69 0x00007f274ab3f2ad in ?? () from /usr/lib/thunderbird/libxul.so
#70 0x00007f274ab3f4db in XRE_main () from /usr/lib/thunderbird/libxul.so
#71 0x0000564c30a48323 in ?? ()
#72 0x0000564c30a47a6a in ?? ()
#73 0x00007f274cf5b291 in __libc_start_main () from /usr/lib/libc.so.6
#74 0x0000564c30a47b99 in _start ()


GDB reports SIGSEGV, and crashed place is:

(gdb) disassemble 0x00007f27493a36f0,0x00007f27493a3Af0
Dump of assembler code from 0x7f27493a36f0 to 0x7f27493a3af0:
=> 0x00007f27493a36f0: cmpl $0x0,0xb8(%rdi)
0x00007f27493a36f7: jne 0x7f27493a3702
0x00007f27493a36f9: cmpl $0x0,0xc8(%rdi)
0x00007f27493a3700: je 0x7f27493a3737
0x00007f27493a3702: lea 0x18(%rsp),%rbx
0x00007f27493a3707: mov %rbx,%rdi
0x00007f27493a370a: callq 0x7f27490d7150
0x00007f27493a370f: mov (%r12),%rax
0x00007f27493a3713: mov %rbx,%rsi
(gdb) p $rdi
$2 = -1880844497646911468
(gdb) x $rdi
0xe5e5e5e500020014: Cannot access memory at address 0xe5e5e5e500020014

I'm not a thunderbird expert, so sending this report for further help.

Steps to reproduce:
1) Only install KDE environment
2) Install thunderbird with the version mentioned above
3) Install add-on "Foxy Proxy Standard", and a SOCKS5 proxy config
4) add a new mail account, use something like 'gmail' but routed through the proxy configed in step 3).
5) click next, click done, then it crashed on my PC!
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 05 September 2016, 14:04 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Addon issue
Comment by luchsh (luchsh) - Sunday, 04 September 2016, 02:41 GMT
I learned some tricks from the wiki and build a debug build of thunderbird, below is what I see from GDB with the debug build.


(gdb) bt
#0 nsPACMan::IsPACURI (this=0xe5e5e5e500020014, uri=0x7fffb3e96208)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/netwerk/base/nsPACMan.h:159
#1 0x00007ffff31aceeb in nsProtocolProxyService::Resolve_Internal (this=0x7fffda22e100, channel=0x7fffc8aa07c0,
info=..., flags=0, usePACThread=0x7fffffff9e3f, result=0x7fffffff9e48, isInBrowser=<optimized out>,
appId=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/netwerk/base/nsProtocolProxyService.cpp:1792
#2 0x00007ffff31ae009 in nsProtocolProxyService::DeprecatedBlockingResolve (this=0x7fffda22e100,
aChannel=aChannel@entry=0x7fffc8aa07c0, aFlags=aFlags@entry=0, retval=retval@entry=0x7fffffff9fe8)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/netwerk/base/nsProtocolProxyService.cpp:1206
#3 0x00007ffff2f7995e in MsgExamineForProxy (channel=0x7fffc8aa07c0, proxyInfo=0x7fffffff9fe8)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mailnews/base/util/nsMsgUtils.cpp:2127
#4 0x00007ffff3036f3d in nsImapProtocol::SetupWithUrl (this=this@entry=0x7fffc8909000,
aURL=aURL@entry=0x7fffb3e96208, aConsumer=aConsumer@entry=0x0)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mailnews/imap/src/nsImapProtocol.cpp:843
#5 0x00007ffff303750e in nsImapProtocol::LoadImapUrl (this=0x7fffc8909000, aURL=0x7fffb3e96208, aConsumer=0x0)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mailnews/imap/src/nsImapProtocol.cpp:2142
#6 0x00007ffff3001233 in nsImapIncomingServer::GetImapConnectionAndLoadUrl (this=0x7fffc92943a0,
aImapUrl=0x7fffb3e96200, aConsumer=0x0)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mailnews/imap/src/nsImapIncomingServer.cpp:443
#7 0x00007ffff3042507 in nsImapService::GetImapConnectionAndLoadUrl (this=<optimized out>,
aImapUrl=0x7fffb3e96200, aConsumer=0x0, aURL=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mailnews/imap/src/nsImapService.cpp:2225
#8 0x00007ffff3043449 in nsImapService::VerifyLogon (this=0x7fffbcc99790, aFolder=0x7fffc92ea038,
aUrlListener=0x7fffc9672500, aMsgWindow=0x7fffc97695e0, aURL=0x7fffffffa600)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mailnews/imap/src/nsImapService.cpp:1531
#9 0x00007ffff2ffded1 in nsImapIncomingServer::VerifyLogon (this=0x7fffc92943a0, aUrlListener=0x7fffc9672500,
aMsgWindow=0x7fffc97695e0, aURL=0x7fffffffa600)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mailnews/imap/src/nsImapIncomingServer.cpp:990
#10 0x00007ffff3148a43 in NS_InvokeByIndex (that=<optimized out>, methodIndex=<optimized out>,
paramCount=<optimized out>, params=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/xpcom/reflect/xptcall/md/unix/xptcinvoke_x86_64_unix.cpp:176
#11 0x00007ffff3561b40 in CallMethodHelper::Invoke (this=0x7fffffffa588)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/js/xpconnect/src/XPCWrappedNative.cpp:2097
#12 CallMethodHelper::Call (this=0x7fffffffa588)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/js/xpconnect/src/XPCWrappedNative.cpp:1414
#13 XPCWrappedNative::CallMethod (ccx=..., mode=mode@entry=XPCWrappedNative::CALL_METHOD)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/js/xpconnect/src/XPCWrappedNative.cpp:1381
#14 0x00007ffff3566e5e in XPC_WN_CallMethod (cx=<optimized out>, cx@entry=0x7fffbcc1bc00, argc=2,
vp=0x7fffde38e4c0)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:1115
#15 0x00007ffff4f893d8 in js::CallJSNative (args=..., native=<optimized out>, cx=0x7fffbcc1bc00)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/js/src/jscntxtinlines.h:235
#16 js::Invoke (cx=0x7fffbcc1bc00, args=..., construct=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/js/src/vm/Interpreter.cpp:444
#17 0x00007ffff4f842c4 in Interpret (cx=0x7fffbcc1bc00, state=...)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/js/src/vm/Interpreter.cpp:2766
#18 0x00007ffff4f89081 in js::RunScript (cx=cx@entry=0x7fffbcc1bc00, state=...)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/js/src/vm/Interpreter.cpp:391
#19 0x00007ffff4f89327 in js::Invoke (cx=cx@entry=0x7fffbcc1bc00, args=...,
---Type <return> to continue, or q <return> to quit---
construct=construct@entry=js::NO_CONSTRUCT)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/js/src/vm/Interpreter.cpp:462
#20 0x00007ffff4f89b5c in js::Invoke (cx=0x7fffbcc1bc00, thisv=..., fval=..., argc=1, argv=<optimized out>,
rval=...)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/js/src/vm/Interpreter.cpp:496
#21 0x00007ffff4e3999a in JS::Call (cx=<optimized out>, thisv=..., thisv@entry=..., fval=..., fval@entry=...,
args=..., rval=..., rval@entry=...)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/js/src/jsapi.cpp:2837
#22 0x00007ffff3d64e47 in mozilla::dom::EventHandlerNonNull::Call (this=this@entry=0x7fffb3ebf610,
cx=<optimized out>, aThisVal=..., aThisVal@entry=..., event=..., aRetVal=..., aRetVal@entry=..., aRv=...)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/obj-x86_64-unknown-linux-gnu/dom/bindings/EventHandlerBinding.cpp:259
#23 0x00007ffff3f01189 in mozilla::dom::EventHandlerNonNull::Call<nsISupports*> (aCompartment=0x0,
aExceptionHandling=mozilla::dom::CallbackObject::eReportExceptions,
aExecutionReason=0x7ffff52c45bb "EventHandlerNonNull", aRv=..., aRetVal=..., event=...,
thisVal=@0x7fffc8976890: 0x7fffcca87350, this=0x7fffb3ebf610)
at ../../dist/include/mozilla/dom/EventHandlerBinding.h:351
#24 mozilla::JSEventHandler::HandleEvent (this=0x7fffc8976880, aEvent=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/dom/events/JSEventHandler.cpp:215
#25 0x00007ffff3f0252a in mozilla::EventListenerManager::HandleEventSubType (this=this@entry=0x7fffcca873e0,
aListener=<optimized out>, aListener@entry=0x7fffc8d3bf08, aDOMEvent=0x7fffc53b8660,
aCurrentTarget=<optimized out>, aCurrentTarget@entry=0x7fffcca87350)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/dom/events/EventListenerManager.cpp:1028
#26 0x00007ffff3f028cc in mozilla::EventListenerManager::HandleEventInternal (this=0x7fffcca873e0,
aPresContext=<optimized out>, aEvent=0x7fffc53b5680, aDOMEvent=0x7fffffffb7a8, aCurrentTarget=0x7fffcca87350,
aEventStatus=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/dom/events/EventListenerManager.cpp:1155
#27 0x00007ffff3eed5e4 in mozilla::EventTargetChainItem::HandleEventTargetChain (aChain=..., aVisitor=...,
aCallback=aCallback@entry=0x0, aCd=...)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/dom/events/EventDispatcher.cpp:315
#28 0x00007ffff3ef1b72 in mozilla::EventDispatcher::Dispatch (aTarget=aTarget@entry=0x7fffcca87350,
aPresContext=aPresContext@entry=0x7fffc537d000, aEvent=0x7fffc53b5680, aDOMEvent=<optimized out>,
aEventStatus=<optimized out>, aCallback=<optimized out>, aTargets=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/dom/events/EventDispatcher.cpp:654
#29 0x00007ffff3ef1ec2 in mozilla::EventDispatcher::DispatchDOMEvent (aTarget=aTarget@entry=0x7fffcca87350,
aEvent=aEvent@entry=0x0, aDOMEvent=aDOMEvent@entry=0x7fffc53b8660, aPresContext=0x7fffc537d000,
aEventStatus=aEventStatus@entry=0x7fffffffb92c)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/dom/events/EventDispatcher.cpp:723
#30 0x00007ffff44ebf9b in PresShell::HandleDOMEventWithTarget (this=0x7fffbcc1dc00, aTargetContent=0x7fffcca87350,
aEvent=0x7fffc53b8660, aStatus=0x7fffffffb92c)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/layout/base/nsPresShell.cpp:8160
#31 0x00007ffff3807ede in nsContentUtils::DispatchXULCommand (aTarget=0x7fffcca87350,
aTrusted=aTrusted@entry=true, aSourceEvent=aSourceEvent@entry=0x0, aShell=0x7fffbcc1dc00,
aCtrl=<optimized out>, aAlt=<optimized out>, aShift=false, aMeta=false)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/dom/base/nsContentUtils.cpp:6111
#32 0x00007ffff45ebaae in nsButtonBoxFrame::DoMouseClick (this=0x7fffbcc42578, aEvent=0x7fffffffbdc8,
aTrustEvent=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/layout/xul/nsButtonBoxFrame.cpp:228
#33 0x00007ffff45e4ba1 in nsButtonBoxFrame::HandleEvent (this=this@entry=0x7fffbcc42578,
aPresContext=0x7fffc537d000, aEvent=0x7fffffffbdc8, aEventStatus=aEventStatus@entry=0x7fffffffbb90)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/layout/xul/nsButtonBoxFrame.cpp:172
#34 0x00007ffff4505909 in nsPresShellEventCB::HandleEvent (this=<optimized out>, aVisitor=...)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/layout/base/nsPresShell.cpp:506
#35 0x00007ffff3eed561 in mozilla::EventTargetChainItem::HandleEventTargetChain (aChain=..., aVisitor=...,
aCallback=aCallback@entry=0x7fffffffbcf0, aCd=...)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/dom/events/EventDispatcher.cpp:357
---Type <return> to continue, or q <return> to quit---
#36 0x00007ffff3ef1b72 in mozilla::EventDispatcher::Dispatch (aTarget=<optimized out>,
aPresContext=<optimized out>, aEvent=aEvent@entry=0x7fffffffbdc8, aDOMEvent=aDOMEvent@entry=0x0,
aEventStatus=aEventStatus@entry=0x7fffffffc45c, aCallback=aCallback@entry=0x7fffffffbcf0,
aTargets=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/dom/events/EventDispatcher.cpp:654
#37 0x00007ffff44f2874 in PresShell::DispatchEventToDOM (this=this@entry=0x7fffbcc1dc00,
aEvent=aEvent@entry=0x7fffffffbdc8, aStatus=aStatus@entry=0x7fffffffc45c,
aEventCB=aEventCB@entry=0x7fffffffbcf0)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/layout/base/nsPresShell.cpp:8029
#38 0x00007ffff4502d58 in PresShell::HandleEventInternal (this=this@entry=0x7fffbcc1dc00,
aEvent=aEvent@entry=0x7fffffffbdc8, aStatus=aStatus@entry=0x7fffffffc45c,
aIsHandlingNativeEvent=aIsHandlingNativeEvent@entry=false)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/layout/base/nsPresShell.cpp:7905
#39 0x00007ffff4504bc5 in PresShell::HandleEventWithTarget (this=0x7fffbcc1dc00, aEvent=0x7fffffffbdc8, aFrame=
0x7fffbcc42578, aContent=0x7fffcca87350, aStatus=0x7fffffffc45c)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/layout/base/nsPresShell.cpp:7765
#40 0x00007ffff3edf00e in mozilla::EventStateManager::CheckForAndDispatchClick (this=<optimized out>,
aEvent=0x7fffffffc520, aStatus=0x7fffffffc45c)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/dom/events/EventStateManager.cpp:4682
#41 0x00007ffff3ee2132 in mozilla::EventStateManager::PostHandleEvent (this=0x7fffc92f9f60,
aPresContext=0x7fffc537d000, aEvent=aEvent@entry=0x7fffffffc520, aTargetFrame=0x7fffbcc42578,
aStatus=aStatus@entry=0x7fffffffc45c)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/dom/events/EventStateManager.cpp:3117
#42 0x00007ffff4502e29 in PresShell::HandleEventInternal (this=this@entry=0x7fffbcc1dc00,
aEvent=aEvent@entry=0x7fffffffc520, aStatus=aStatus@entry=0x7fffffffc45c,
aIsHandlingNativeEvent=aIsHandlingNativeEvent@entry=true)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/layout/base/nsPresShell.cpp:7915
#43 0x00007ffff4502f69 in PresShell::HandlePositionedEvent (this=this@entry=0x7fffbcc1dc00,
aTargetFrame=aTargetFrame@entry=0x7fffbcc42578, aEvent=aEvent@entry=0x7fffffffc520,
aEventStatus=aEventStatus@entry=0x7fffffffc45c)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/layout/base/nsPresShell.cpp:7739
#44 0x00007ffff450492a in PresShell::HandleEvent (this=0x7fffbcc1dc00, aFrame=<optimized out>,
aEvent=0x7fffffffc520, aDontRetargetEvents=<optimized out>, aEventStatus=0x7fffffffc45c, aTargetContent=0x0)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/layout/base/nsPresShell.cpp:7525
#45 0x00007ffff43199e4 in nsViewManager::DispatchEvent (this=<optimized out>, aEvent=aEvent@entry=0x7fffffffc520,
aView=aView@entry=0x7fffd3419280, aStatus=aStatus@entry=0x7fffffffc45c)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/view/nsViewManager.cpp:800
#46 0x00007ffff43188c7 in nsView::HandleEvent (this=<optimized out>, aEvent=0x7fffffffc520,
aUseAttachedEvents=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/view/nsView.cpp:1137
#47 0x00007ffff433ff9f in nsWindow::DispatchEvent (this=<optimized out>, aEvent=<optimized out>,
aStatus=@0x7fffffffc4b0: nsEventStatus_eIgnore)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/widget/gtk/nsWindow.cpp:569
#48 0x00007ffff431c171 in nsBaseWidget::DispatchAPZAwareEvent (this=0x7fffc8d67190, aEvent=0x7fffffffc520)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/widget/nsBaseWidget.cpp:1148
#49 0x00007ffff43486ad in nsWindow::OnButtonReleaseEvent (this=0x7fffc8d67190, aEvent=aEvent@entry=0x7fffb3e3ea90)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/widget/gtk/nsWindow.cpp:2884
#50 0x00007ffff4348710 in button_release_event_cb (widget=<optimized out>, event=0x7fffb3e3ea90)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/widget/gtk/nsWindow.cpp:5634
#51 0x00007fffed73274c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#52 0x00007fffedf60f85 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#53 0x00007fffedf72f92 in ?? () from /usr/lib/libgobject-2.0.so.0
#54 0x00007fffedf7b69f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#55 0x00007fffedf7bfdf in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#56 0x00007fffed84a84c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#57 0x00007fffed730f14 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#58 0x00007fffed7312cb in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#59 0x00007fffecdfc48c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#60 0x00007fffedc8be67 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#61 0x00007fffedc8c0d0 in ?? () from /usr/lib/libglib-2.0.so.0
#62 0x00007fffedc8c17c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#63 0x00007ffff434b235 in nsAppShell::ProcessNextNativeEvent (this=<optimized out>, mayWait=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/widget/gtk/nsAppShell.cpp:212
#64 0x00007ffff432e051 in nsBaseAppShell::DoProcessNextNativeEvent (this=this@entry=0x7fffdd1db260,
mayWait=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/widget/nsBaseAppShell.cpp:138
#65 0x00007ffff432e23c in nsBaseAppShell::OnProcessNextEvent (this=0x7fffdd1db260, thr=0x7ffff6b95bb0,
mayWait=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/widget/nsBaseAppShell.cpp:289
#66 0x00007ffff31412ff in nsThread::ProcessNextEvent (this=0x7ffff6b95bb0, aMayWait=<optimized out>,
aResult=0x7fffffffcda7)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/xpcom/threads/nsThread.cpp:941
#67 0x00007ffff315b457 in NS_ProcessNextEvent (aThread=<optimized out>, aMayWait=aMayWait@entry=true)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/xpcom/glue/nsThreadUtils.cpp:297

#68 0x00007ffff333e604 in mozilla::ipc::MessagePump::Run (this=0x7fffe3db9600, aDelegate=0x7ffff6be6330)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/ipc/glue/MessagePump.cpp:127
#69 0x00007ffff332e5c2 in MessageLoop::RunHandler (this=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/ipc/chromium/src/base/message_loop.cc:227
#70 MessageLoop::Run (this=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/ipc/chromium/src/base/message_loop.cc:201
#71 0x00007ffff432c6de in nsBaseAppShell::Run (this=0x7fffdd1db260)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/widget/nsBaseAppShell.cpp:156
#72 0x00007ffff4906c80 in nsAppStartup::Run (this=0x7fffdd113e70)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/toolkit/components/startup/nsAppStartup.cpp:281
#73 0x00007ffff493bbe4 in XREMain::XRE_mainRun (this=this@entry=0x7fffffffd048)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/toolkit/xre/nsAppRunner.cpp:4285
#74 0x00007ffff493be99 in XREMain::XRE_main (this=this@entry=0x7fffffffd048, argc=argc@entry=1,
argv=argv@entry=0x7fffffffe558, aAppData=aAppData@entry=0x7fffffffd248)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/toolkit/xre/nsAppRunner.cpp:4382
#75 0x00007ffff493c0c7 in XRE_main (argc=1, argv=0x7fffffffe558, aAppData=0x7fffffffd248, aFlags=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/toolkit/xre/nsAppRunner.cpp:4484
#76 0x00005555555592e3 in do_main (argc=1, argv=0x7fffffffe558, xreDirectory=0x7ffff6b519c0)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mail/app/nsMailApp.cpp:195
#77 0x0000555555558a2a in main (argc=1, argv=0x7fffffffe558)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mail/app/nsMailApp.cpp:332
(gdb)
(gdb) f 159
#0 0x0000000000000000 in ?? ()
(gdb) list
154 return mPACURISpec.Equals(spec) || mPACURIRedirectSpec.Equals(spec) ||
155 mNormalPACURISpec.Equals(spec);
156 }
157
158 bool IsPACURI(nsIURI *uri) {
159 if (mPACURISpec.IsEmpty() && mPACURIRedirectSpec.IsEmpty())
160 return false;
161
162 nsAutoCString tmp;
163 uri->GetSpec(tmp);
(gdb) f 0
#0 nsPACMan::IsPACURI (this=0xe5e5e5e500020014, uri=0x7fffb3e96208)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/netwerk/base/nsPACMan.h:159
159 if (mPACURISpec.IsEmpty() && mPACURIRedirectSpec.IsEmpty())
(gdb) list
154 return mPACURISpec.Equals(spec) || mPACURIRedirectSpec.Equals(spec) ||
155 mNormalPACURISpec.Equals(spec);
156 }
157
158 bool IsPACURI(nsIURI *uri) {
159 if (mPACURISpec.IsEmpty() && mPACURIRedirectSpec.IsEmpty())
160 return false;
161
162 nsAutoCString tmp;
163 uri->GetSpec(tmp);
(gdb) p uri
$1 = (nsIURI *) 0x7fffb3e96208
(gdb) p *uri
$2 = {<nsISupports> = {_vptr.nsISupports = 0x7ffff60af158 <vtable for nsImapUrl+760>}, <No data fields>}
(gdb) p mPACURISpec
Cannot access memory at address 0xe5e5e5e5000200c4
(gdb) p this
$3 = (nsPACMan * const) 0xe5e5e5e500020014
(gdb) p this->mPACURISpec
Cannot access memory at address 0xe5e5e5e5000200c4
(gdb) p mPACURIRedirectSpec
Cannot access memory at address 0xe5e5e5e5000200d4
(gdb) x this
0xe5e5e5e500020014: Cannot access memory at address 0xe5e5e5e500020014
(gdb) f 1
#1 0x00007ffff31aceeb in nsProtocolProxyService::Resolve_Internal (this=0x7fffda22e100, channel=0x7fffc8aa07c0,
info=..., flags=0, usePACThread=0x7fffffff9e3f, result=0x7fffffff9e48, isInBrowser=<optimized out>,
appId=<optimized out>)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/netwerk/base/nsProtocolProxyService.cpp:1792
1792 if (mPACMan && mPACMan->IsPACURI(uri))
(gdb) p mPACMan
$4 = {mRawPtr = 0xe5e5e5e500020014}
(gdb) list
1787 if (NS_FAILED(rv)) return rv;
1788
1789 // See bug #586908.
1790 // Avoid endless loop if |uri| is the current PAC-URI. Returning OK
1791 // here means that we will not use a proxy for this connection.
1792 if (mPACMan && mPACMan->IsPACURI(uri))
1793 return NS_OK;
1794
1795 bool mainThreadOnly;
1796 if (mSystemProxySettings &&
(gdb) f 2
#2 0x00007ffff31ae009 in nsProtocolProxyService::DeprecatedBlockingResolve (this=0x7fffda22e100,
aChannel=aChannel@entry=0x7fffc8aa07c0, aFlags=aFlags@entry=0, retval=retval@entry=0x7fffffff9fe8)
at /home/luchsh/proj/abs/extra/thunderbird/src/thunderbird-45.2.0/mozilla/netwerk/base/nsProtocolProxyService.cpp:1206
1206 &usePACThread, getter_AddRefs(pi));


Looks like a proxy related issue, I'm going to uninstall 'foxyproxy' and try again.
Comment by luchsh (luchsh) - Sunday, 04 September 2016, 02:45 GMT
After disabling 'foxy proxy' plugin, I did not see crash any more, :(

But a sad news for me, because I'm from a region where GMail is available only via VPN or proxy.
Comment by Giuseppe (G-G) - Sunday, 04 September 2016, 10:29 GMT
It's probably this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1137274
In the meanwhile you could try to use proxychain or tsocks to redirect thunderbird traffic to your proxy.
Comment by luchsh (luchsh) - Sunday, 04 September 2016, 15:47 GMT
Great advice, Giuseppe, it really saved my brain, many thanks!

So it looks like an upstream bug, I'm requesting closure for this one.

Loading...