crash when renaming a directory using the gspace extension [@ nsTreeSelection::ClearSelection]

RESOLVED INCOMPLETE

Status

()

Core
XUL
--
critical
RESOLVED INCOMPLETE
11 years ago
7 years ago

People

(Reporter: jeanrhum, Assigned: janv)

Tracking

({crash})

1.8 Branch
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

Attachments

(1 attachment)

(Reporter)

Description

11 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)

I use the extension gspace to save some documents on my gmail account. If I try to rename a directory, the operation take some time and after several seconds firefox crashes. When I loggued again to gspace, I can see that my directory is well renamed.
This is the third time I rename a directory and each time firefox crashes and it appears on linux as weel as on windows xp version of firefox.
I have a 15mo file _usr_lib_firefox_firefox-bin.1000.crash, but I don't know what to do with it.

Reproducible: Always

Steps to Reproduce:
1. install gspace extension and log to your gmail account
2. create a directory and send files in it
3. rename the directory

Actual Results:  
firefox crashes after the directory is renamed.

Expected Results:  
not crashing

Comment 1

11 years ago
your crash is useless unless you have symbols for your firefox. note that mozilla.org doesn't because it's not a mozilla.org firefox. you want to contact ubuntu or read ubuntu wikis for help with getting symbols, in theory they have symbols for firefox. once you've installed symbols for firefox you can following the unix debugging faq <http://www.mozilla.org/unix/debugging-faq.html> and get a stack trace from your core file.
(Reporter)

Comment 2

11 years ago
Created attachment 246911 [details]
small crash report generated by firefox under ubuntu edgy

Comment 3

11 years ago
you need to install symbols *FIRST*.
(Reporter)

Comment 4

11 years ago
I've done the test again on my mozilla firefox on windows xp and it crashes again. I used the feedback agent to send a report.
OS: Linux → All
(Reporter)

Comment 5

11 years ago
I ran firefox in debug mode, since I installed the symbols package. I renamed a file and no crash appears, but when I renamed a directory and firefox crash after about 1 minutes (I think this is the time for gspace to take into account the change of all files in the directory).

See the trace I obtained with gdb (when I run the command firefox -g):
(gdb) run 
Starting program: /usr/lib/firefox/firefox-bin -a firefox
[Thread debugging using libthread_db enabled]
[New Thread -1220782416 (LWP 5427)]
[New Thread -1224283232 (LWP 5430)]
[New Thread -1232913504 (LWP 5431)]
[New Thread -1258050656 (LWP 5436)]
*** CLB *** Initializing Google Browser Sync...
*** CLB *** Instanciating core objects...
*** CLB *** Registering with XPCOM...
*** CLB *** Adding categories...
*** CLB *** Google Browser Sync initialized succesfully!
[New Thread -1268135008 (LWP 5437)]
[New Thread -1276527712 (LWP 5438)]
[New Thread -1287148640 (LWP 5440)]
[New Thread -1299186784 (LWP 5441)]
[New Thread -1308673120 (LWP 5442)]
[New Thread -1317065824 (LWP 5443)]
[Thread -1317065824 (LWP 5443) exited]
[New Thread -1325458528 (LWP 5444)]
[Thread -1325458528 (LWP 5444) exited]
[New Thread -1325458528 (LWP 5445)]
[New Thread -1317065824 (LWP 5446)]
[New Thread -1333851232 (LWP 5447)]
[Thread -1333851232 (LWP 5447) exited]
[Thread -1325458528 (LWP 5445) exited]
[New Thread -1333851232 (LWP 5452)]
[Thread -1317065824 (LWP 5446) exited]
[New Thread -1317065824 (LWP 5453)]
[New Thread -1325458528 (LWP 5454)]
** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

[New Thread -1351709792 (LWP 5459)]
[Thread -1333851232 (LWP 5452) exited]
[New Thread -1333851232 (LWP 5518)]
[Thread -1258050656 (LWP 5436) exited]
[Thread -1351709792 (zombie) exited]
[Thread -1333851232 (LWP 5518) exited]
[Thread -1287148640 (LWP 5440) exited]
[Thread -1325458528 (LWP 5454) exited]
[Thread -1299186784 (LWP 5441) exited]
[New Thread -1299186784 (LWP 5690)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220782416 (LWP 5427)]
0xb5bd903c in nsTreeSelection::ClearSelection (this=0x9746f28)
    at nsTreeSelection.cpp:216
216     nsTreeSelection.cpp: Aucun fichier ou répertoire de ce type.
        in nsTreeSelection.cpp
(gdb) 

Comment 6

11 years ago
Once you crash, you'll want to type `bt' in gdb to print the stacktrace. See http://kb.mozillazine.org/Getting_a_stacktrace_with_gdb for more info.
Assignee: nobody → Jan.Varga
Component: Extension Compatibility → XP Toolkit/Widgets: Trees
Keywords: crash, stackwanted
Product: Firefox → Core
QA Contact: extension.compatibility → xptoolkit.trees
Hardware: PC → All
Version: unspecified → 1.8 Branch
(Reporter)

Comment 7

11 years ago
I did again firefox crash, but this time I used the command backtrace in gdb and that's what I get:

(gdb) run
Starting program: /usr/lib/firefox/firefox-bin -d gdb -a firefox
[Thread debugging using libthread_db enabled]
[New Thread -1220909392 (LWP 5960)]
[New Thread -1224524896 (LWP 5961)]
[New Thread -1233155168 (LWP 5962)]
[New Thread -1258202208 (LWP 5971)]
*** CLB *** Initializing Google Browser Sync...
*** CLB *** Instanciating core objects...
*** CLB *** Registering with XPCOM...
*** CLB *** Adding categories...
*** CLB *** Google Browser Sync initialized succesfully!
[New Thread -1281385568 (LWP 5972)]
[New Thread -1289778272 (LWP 5973)]
[New Thread -1300517984 (LWP 5979)]
[New Thread -1308910688 (LWP 5980)]
[New Thread -1317303392 (LWP 5981)]
[New Thread -1325696096 (LWP 5982)]
[Thread -1308910688 (LWP 5980) exited]
[Thread -1300517984 (LWP 5979) exited]
[Thread -1325696096 (LWP 5982) exited]
[New Thread -1325696096 (LWP 5983)]
[New Thread -1300517984 (LWP 5984)]
[Thread -1300517984 (LWP 5984) exited]
[New Thread -1308910688 (LWP 5985)]
[Thread -1308910688 (LWP 5985) exited]
[New Thread -1308910688 (LWP 5986)]
[New Thread -1300517984 (LWP 5987)]
[New Thread -1335075936 (LWP 5988)]
[Thread -1300517984 (LWP 5987) exited]
[Thread -1308910688 (LWP 5986) exited]
[Thread -1335075936 (LWP 5988) exited]
[New Thread -1343689824 (LWP 5990)]
[New Thread -1300517984 (LWP 5994)]
[Thread -1317303392 (LWP 5981) exited]
** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

** Message: plugin_get_value 1 (1)

** Message: plugin_get_value 2 (2)

[New Thread -1317303392 (LWP 6003)]
[Thread -1317303392 (zombie) exited]
[New Thread -1317303392 (LWP 6004)]
[Thread -1317303392 (zombie) exited]
backtrace 
[Thread -1300517984 (LWP 5994) exited]
backtrace
[Thread -1300517984 (LWP 6077) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220909392 (LWP 5960)]
0xb5b9e03c in nsTreeSelection::ClearSelection (this=0xa6d6b20)
    at nsTreeSelection.cpp:216
216     nsTreeSelection.cpp: Aucun fichier ou répertoire de ce type.
        in nsTreeSelection.cpp
(gdb) backtrace
#0  0xb5b9e03c in nsTreeSelection::ClearSelection (this=0xa6d6b20)
    at nsTreeSelection.cpp:216
#1  0xb7e7baf9 in XPTC_InvokeByIndex () at xptcinvoke_gcc_x86_unix.cpp:50
#2  0xb71cc4b4 in XPCWrappedNative::CallMethod (ccx=@0xbfa122cc, 
    mode=XPCWrappedNative::CALL_METHOD) at xpcwrappednative.cpp:2169
#3  0xb71d2dbf in XPC_WN_CallMethod (cx=0x87cddc8, obj=0x9b0adb0, argc=0, 
    argv=0x9738590, vp=0xbfa123e8) at xpcwrappednativejsops.cpp:1455
#4  0xb7eeee89 in js_Invoke (cx=0x87cddc8, argc=0, flags=0) at jsinterp.c:1377
#5  0xb7edf432 in js_Interpret (cx=0x87cddc8, pc=0x88b83d6 "=", 
    result=0xbfa12738) at jsinterp.c:4119
#6  0xb7eeea2b in js_Execute (cx=0x87cddc8, chain=0x8a0d258, script=0x97e1d20, 
    down=0x0, flags=0, result=0xbfa12818) at jsinterp.c:1622
#7  0xb7eaddce in JS_EvaluateUCScriptForPrincipals (cx=0x87cddc8, 
    obj=0x8a0d258, principals=0x8127394, chars=0x8931398, length=31, 
    filename=0x8d32128 "chrome://gspace/content/gactions.js", lineno=1612, 
    rval=0xbfa12818) at jsapi.c:4364
#8  0xb5b440dd in nsJSContext::EvaluateString (this=0x87e5ea0, 
    aScript=@0xbfa1291c, aScopeObject=0x8a0d258, aPrincipal=0x8127390, 
    aURL=0x8d32128 "chrome://gspace/content/gactions.js", aLineNo=1612, 
    aVersion=0xb7f418c4 "default", aRetValue=0x0, aIsUndefined=0xbfa1292c)
    at nsJSEnvironment.cpp:1100
#9  0xb5b539f3 in nsGlobalWindow::RunTimeout (this=0x8798290, 
    aTimeout=0x961af78) at nsGlobalWindow.cpp:6697
---Type <return> to continue, or q <return> to quit---
#10 0xb5b53df0 in nsGlobalWindow::TimerCallback (aTimer=0x92faac0, 
    aClosure=0x961af78) at nsGlobalWindow.cpp:7083
#11 0xb7e65f2d in nsTimerImpl::Fire (this=0x92faac0) at nsTimerImpl.cpp:394
#12 0xb7e667e8 in handleTimerEvent (event=0xb3e25a80) at nsTimerImpl.cpp:459
#13 0xb7e619e7 in PL_HandleEvent (self=0xb3e25a80) at plevent.c:688
#14 0xb7e61cfb in PL_ProcessPendingEvents (self=0x810fd68) at plevent.c:623
#15 0xb7e63bfe in nsEventQueueImpl::ProcessPendingEvents (this=0x810fd30)
    at nsEventQueue.cpp:417
#16 0xb5fb84f5 in event_processor_callback (source=0x8ab5080, 
    condition=G_IO_IN, data=0x0) at nsAppShell.cpp:67
#17 0xb75bec8d in g_io_channel_unix_get_fd () from /usr/lib/libglib-2.0.so.0
#18 0xb7595802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0xb75987df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#20 0xb7598b89 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#21 0xb7b7e574 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb5fb8952 in nsAppShell::Run (this=0x824dcd0) at nsAppShell.cpp:139
#23 0xb5ec3c12 in nsAppStartup::Run (this=0x824dc90) at nsAppStartup.cpp:151
#24 0x0804f85c in XRE_main (argc=5, argv=0xbfa13074, aAppData=0x805ab80)
    at nsAppRunner.cpp:2438
#25 0x0804ab4f in main (argc=-1244819800, argv=0x2) at nsBrowserApp.cpp:61
#26 0xb76fb8cc in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#27 0x0804aa81 in _start ()
(gdb) backtrace
#0  0xb5b9e03c in nsTreeSelection::ClearSelection (this=0xa6d6b20)
    at nsTreeSelection.cpp:216
#1  0xb7e7baf9 in XPTC_InvokeByIndex () at xptcinvoke_gcc_x86_unix.cpp:50
#2  0xb71cc4b4 in XPCWrappedNative::CallMethod (ccx=@0xbfa122cc, 
    mode=XPCWrappedNative::CALL_METHOD) at xpcwrappednative.cpp:2169
#3  0xb71d2dbf in XPC_WN_CallMethod (cx=0x87cddc8, obj=0x9b0adb0, argc=0, 
    argv=0x9738590, vp=0xbfa123e8) at xpcwrappednativejsops.cpp:1455
#4  0xb7eeee89 in js_Invoke (cx=0x87cddc8, argc=0, flags=0) at jsinterp.c:1377
#5  0xb7edf432 in js_Interpret (cx=0x87cddc8, pc=0x88b83d6 "=", 
    result=0xbfa12738) at jsinterp.c:4119
#6  0xb7eeea2b in js_Execute (cx=0x87cddc8, chain=0x8a0d258, script=0x97e1d20, 
    down=0x0, flags=0, result=0xbfa12818) at jsinterp.c:1622
#7  0xb7eaddce in JS_EvaluateUCScriptForPrincipals (cx=0x87cddc8, 
    obj=0x8a0d258, principals=0x8127394, chars=0x8931398, length=31, 
    filename=0x8d32128 "chrome://gspace/content/gactions.js", lineno=1612, 
    rval=0xbfa12818) at jsapi.c:4364
#8  0xb5b440dd in nsJSContext::EvaluateString (this=0x87e5ea0, 
    aScript=@0xbfa1291c, aScopeObject=0x8a0d258, aPrincipal=0x8127390, 
    aURL=0x8d32128 "chrome://gspace/content/gactions.js", aLineNo=1612, 
    aVersion=0xb7f418c4 "default", aRetValue=0x0, aIsUndefined=0xbfa1292c)
    at nsJSEnvironment.cpp:1100
#9  0xb5b539f3 in nsGlobalWindow::RunTimeout (this=0x8798290, 
    aTimeout=0x961af78) at nsGlobalWindow.cpp:6697
#10 0xb5b53df0 in nsGlobalWindow::TimerCallback (aTimer=0x92faac0, 
    aClosure=0x961af78) at nsGlobalWindow.cpp:7083
#11 0xb7e65f2d in nsTimerImpl::Fire (this=0x92faac0) at nsTimerImpl.cpp:394
#12 0xb7e667e8 in handleTimerEvent (event=0xb3e25a80) at nsTimerImpl.cpp:459
#13 0xb7e619e7 in PL_HandleEvent (self=0xb3e25a80) at plevent.c:688
#14 0xb7e61cfb in PL_ProcessPendingEvents (self=0x810fd68) at plevent.c:623
#15 0xb7e63bfe in nsEventQueueImpl::ProcessPendingEvents (this=0x810fd30)
    at nsEventQueue.cpp:417
#16 0xb5fb84f5 in event_processor_callback (source=0x8ab5080, 
    condition=G_IO_IN, data=0x0) at nsAppShell.cpp:67
#17 0xb75bec8d in g_io_channel_unix_get_fd () from /usr/lib/libglib-2.0.so.0
#18 0xb7595802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0xb75987df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#20 0xb7598b89 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#21 0xb7b7e574 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb5fb8952 in nsAppShell::Run (this=0x824dcd0) at nsAppShell.cpp:139
#23 0xb5ec3c12 in nsAppStartup::Run (this=0x824dc90) at nsAppStartup.cpp:151
#24 0x0804f85c in XRE_main (argc=5, argv=0xbfa13074, aAppData=0x805ab80)
    at nsAppRunner.cpp:2438
#25 0x0804ab4f in main (argc=-1244819800, argv=0x2) at nsBrowserApp.cpp:61
#26 0xb76fb8cc in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#27 0x0804aa81 in _start ()

Updated

11 years ago
Keywords: stackwanted
Summary: When I use the gspace extension, the rename of a directory make firefox crashing → crash when renaming a directory using the gspace extension [@ nsTreeSelection::ClearSelection]

Updated

9 years ago
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.trees → xptoolkit.widgets
Is this crash still reproducible in Firefox 3.5?  If it isn't, we should resolve it as RESOLVED WORKSFORME.
Resolving as Incomplete until more information is provided.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INCOMPLETE
Crash Signature: [@ nsTreeSelection::ClearSelection]
You need to log in before you can comment on or make changes to this bug.