Ticket #2492: webview-gdb-backtrace.log

File webview-gdb-backtrace.log, 5.7 KB (added by quozl, 9 years ago)

gdb backtrace showing point of failure, using webview instead of browse

Line 
1Script started on Wed 17 Nov 2010 11:26:09 PM UTC
2
3 Dup dor a'az Mubster!              \_____/    Bonjour, enfants du monde!
4 Ciao, bambini di tutto il mondo!   || o ||    ¡Hola, chicos del mundo!
5 Hallo, Kinder der Welt!            |._X_.|    Hallo, kinderen van de wereld!
6 Hello, children of the world!     //_=_=_\\   Olá, crianças do mundo!
7
8]0;olpc@xo-a7-4b-06:~[?1034h[olpc@xo-a7-4b-06 ~]$ gdb python
9[?1034hGNU gdb (GDB) Fedora (6.8.50.20090302-40.fc11)
10Copyright (C) 2009 Free Software Foundation, Inc.
11License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
12This is free software: you are free to change and redistribute it.
13There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
14and "show warranty" for details.
15This GDB was configured as "i586-redhat-linux-gnu".
16For bug reporting instructions, please see:
17<http://www.gnu.org/software/gdb/bugs/>...
18(gdb) run /tmp/tmp.py
19Starting program: /usr/bin/python /tmp/tmp.py
20[Thread debugging using libthread_db enabled]
21[New Thread 0xa65a7b70 (LWP 1113)]
22[New Thread 0xa5da6b70 (LWP 1114)]
23[New Thread 0xa53ffb70 (LWP 1115)]
24returning /home/olpc/.sugar/default/gecko/prefs.js for key NS_APP_PREFS_50_FILE
25/usr/lib/xulrunner-1.9.1/python/xpcom/__init__.py:54: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
26  self.message = message
27[New Thread 0xa49ffb70 (LWP 1116)]
28[Thread 0xa49ffb70 (LWP 1116) exited]
29[New Thread 0xa49ffb70 (LWP 1117)]
30[New Thread 0xa3defb70 (LWP 1118)]
31[Thread 0xa3defb70 (LWP 1118) exited]
32[New Thread 0xa3defb70 (LWP 1119)]
33[New Thread 0xa34e2b70 (LWP 1120)]
34[New Thread 0xa2ce1b70 (LWP 1121)]
35[New Thread 0xa24e0b70 (LWP 1123)]
36
37Program received signal SIGSEGV, Segmentation fault.
380xa6bfdfaf in nsBarProp::GetVisibleByFlag (this=0x88c74d0, aVisible=0xafffd7b4, aChromeFlag=128)
39    at nsBarProps.cpp:90
4090        NS_ENSURE_SUCCESS(mBrowserChrome->GetChromeFlags(&chromeFlags),
41Current language:  auto; currently c++
42Missing separate debuginfos, use: debuginfo-install avahi-0.6.25-3.fc11.i586 avahi-glib-0.6.25-3.fc11.i586 e2fsprogs-libs-1.41.9-2.fc11.i586 hulahop-0.7.1-1.fc11.i586 keyutils-libs-1.2-5.fc11.i586 krb5-libs-1.6.3-29.fc11.i586 libICE-1.0.4-7.fc11.i586 libSM-1.1.0-4.fc11.i586 libXau-1.0.4-5.fc11.i586 libXcomposite-0.4.0-7.fc11.i586 libXcursor-1.1.9-4.fc11.i586 libXdamage-1.1.1-6.fc11.i586 libXext-1.0.99.1-3.fc11.i586 libXfixes-4.0.3-5.fc11.i586 libXi-1.2.1-1.fc11.i586 libXinerama-1.0.3-4.fc11.i586 libXrandr-1.2.99.4-3.fc11.i586 libattr-2.4.43-3.fc11.i586 libcap-2.16-4.fc11.1.i586 libpng-1.2.43-1.fc11.i586 libselinux-2.0.80-1.fc11.i586 libxcb-1.2-5.fc11.i586 libxml2-2.7.6-1.fc11.i586 openssl-0.9.8n-1.fc11.i686 pixman-0.14.0-2.fc11.i586 pycairo-1.8.2-2.fc11.i586 pygobject2-2.16.1-4.fc11.i586 pygtk2-2.14.1-2.fc11.i586 sugar-artwork-0.84.2-1.fc11.i586
43(gdb) bt
44#0  0xa6bfdfaf in nsBarProp::GetVisibleByFlag (this=0x88c74d0, aVisible=0xafffd7b4,
45    aChromeFlag=128) at nsBarProps.cpp:90
46#1  0xa6bfdfec in nsStatusbarProp::GetVisible (this=0x88c74d0, aVisible=0xafffd7b4)
47    at nsBarProps.cpp:250
48#2  0xa70baaeb in NS_InvokeByIndex_P () from /usr/lib/xulrunner-1.9.1/libxul.so
49#3  0xa67acc2d in XPCWrappedNative::CallMethod (ccx=@0xafffd98c,
50    mode=XPCWrappedNative::CALL_GETTER) at xpcwrappednative.cpp:2456
51#4  0xa67b4c42 in XPCWrappedNative::GetAttribute (ccx=<value optimized out>)
52    at xpcprivate.h:2318
53#5  XPC_WN_GetterSetter (ccx=<value optimized out>) at xpcwrappednativejsops.cpp:1622
54#6  0x028c5705 in js_Invoke (cx=0x85cb9d0, argc=0, vp=0x86244b4, flags=2) at jsinterp.cpp:1386
55#7  0x028c5a4a in js_InternalInvoke (cx=0x85cb9d0, obj=0x875cd60, fval=141938240, flags=0,
56    argc=0, argv=0x0, rval=0xafffde34) at jsinterp.cpp:1447
57#8  0x028c5b7f in js_InternalGetOrSet (cx=0x85cb9d0, obj=0x875cd60, id=138070604,
58    fval=141938240, mode=JSACC_READ, argc=0, argv=0x0, rval=0xafffde34) at jsinterp.cpp:1510
59#9  0x028cd8f1 in js_GetSprop (vp=<value optimized out>, obj=<value optimized out>,
60    sprop=<value optimized out>, cx=<value optimized out>) at jsscope.h:367
61#10 js_NativeGet (vp=<value optimized out>, obj=<value optimized out>,
62    sprop=<value optimized out>, cx=<value optimized out>) at jsobj.cpp:4167
63#11 0x028ce66b in js_GetPropertyHelper (cx=0x85cb9d0, obj=0x875cd60, id=138070604,
64    cacheResult=1, vp=0xafffde34) at jsobj.cpp:4333
65#12 0x028b5f77 in js_Interpret (cx=0x85cb9d0) at jsinterp.cpp:4449
66#13 0x028c4ffb in js_Execute (cx=0x85cb9d0, chain=0x83c9ce0, script=0x88df0a8, down=0x0,
67    flags=0, result=0x0) at jsinterp.cpp:1622
68#14 0x0288b708 in JS_EvaluateUCScriptForPrincipals (cx=0x85cb9d0, obj=0x83c9ce0,
69    principals=0x872eb7c, chars=0x8815ab0, length=28036,
70    filename=0x8630708 "http://maps.google.com/", lineno=73, rval=0x0) at jsapi.cpp:5146
71#15 0xa6c05cd8 in nsJSContext::EvaluateString (this=0x85a0d80, aScript=@0xafffe13c,
72    aScopeObject=0x83c9ce0, aPrincipal=0x872eb78, aURL=0x8630708 "http://maps.google.com/",
73    aLineNo=73, aVersion=0, aRetValue=0x0, aIsUndefined=0xafffe094) at nsJSEnvironment.cpp:1703
74---Type <return> to continue, or q <return> to quit---q
75Quit
76(gdb) quit
77The program is running.  Quit anyway (and kill it)? (y or n) y
78]0;olpc@xo-a7-4b-06:~[olpc@xo-a7-4b-06 ~]$ cat /tmp/tmp.py
79import os
80import hulahop
81from sugar import env
82hulahop.startup(os.path.join(env.get_profile_path(), 'gecko'))
83
84from hulahop.webview import WebView
85
86import gtk
87
88win = gtk.Window(gtk.WINDOW_TOPLEVEL)
89#win.set_size_request(800,600)
90win.connect('destroy', gtk.main_quit)
91wv = WebView()
92wv.load_uri('http://maps.google.com')
93wv.show()
94
95win.add(wv)
96
97win.show()
98gtk.main()
99]0;olpc@xo-a7-4b-06:~[olpc@xo-a7-4b-06 ~]$ exit
100
101Script done on Wed 17 Nov 2010 11:28:12 PM UTC