Closed Bug 8114 Opened 26 years ago Closed 26 years ago

[PP] Choosing Copy Message and Move Message menu item is causing crash/does nothing.

Categories

(MailNews Core :: Backend, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: laurel, Assigned: saari)

References

Details

(Whiteboard: [PR1])

Using 1999061409 on NT 4.0 Also happens on linux rh5.2 Can't get mac up and running yet. Using the Copy message menu item causes a crash. 1. Single account -- POP. Launch to Messenger, select Inbox. 2. Select a message in thread pane, contents display in message pane. 3. Message|Copy Message. Select another folder as destination of copy. Result: crash occurs.
QA Contact: lchiang → esther
Same results (crash) using 1999061408m7 on Mac OS 8.51.
Assignee: putterman → saari
reassigning to saari. This is the crash I'm getting on Linux. CopyMessages currently crashes on Windows for a different reason. That's because SetMailboxAction is called before the url is created in nsMailboxService.cpp. But it looks like Linux is a different problem. I don't know which of these is causing the Mac crash. #1 0x40041445 in nsCOMPtr<nsIContent>::operator= (this=0xbffff018, rhs=@0xbfffefd8) at ../../../dist/include/nsCOMPtr.h:439 #2 0x40142b38 in nsMenuItem::DoCommand (this=0x84a80a0) at nsMenuItem.cpp:465 #3 0x401426f5 in nsMenuItem::MenuItemSelected (this=0x84a80a0, aMenuEvent=@0xbffff060) at nsMenuItem.cpp:368 #4 0x40144106 in menu_item_activate_handler (w=0x843c704, p=0x84a80a0) at nsGtkEventHandler.cpp:503 #5 0x40734377 in gtk_marshal_NONE__NONE (object=0x843c704, func=0x4014404c <menu_item_activate_handler(_GtkWidget *, void *)>, func_data=0x84a80a0, args=0xbffff14c) at gtkmarshal.c:363 #6 0x406f8fa6 in gtk_handlers_run (handlers=0x840d080, signal=0xbffff108, object=0x843c704, params=0xbffff14c, after=0) at gtksignal.c:1909 #7 0x406f84b0 in gtk_signal_real_emit (object=0x843c704, signal_id=73, params=0xbffff14c) at gtksignal.c:1469 #8 0x406f67c0 in gtk_signal_emit (object=0x843c704, signal_id=73) at gtksignal.c:552 #9 0x4072b84c in gtk_widget_activate (widget=0x843c704) at gtkwidget.c:2810 #10 0x406d2d11 in gtk_menu_shell_activate_item (menu_shell=0x84a78c8, menu_item=0x843c704, force_deactivate=1) at gtkmenushell.c:834 #11 0x406d2066 in gtk_menu_shell_button_release (widget=0x84a78c8, event=0x80e1810) at gtkmenushell.c:497 #12 0x40734055 in gtk_marshal_BOOL__POINTER (object=0x84a78c8, func=0x406d1ed8 <gtk_menu_shell_button_release>, func_data=0x0, args=0xbffff4c0) at gtkmarshal.c:32 #13 0x406f84e7 in gtk_signal_real_emit (object=0x84a78c8, signal_id=21, params=0xbffff4c0) at gtksignal.c:1484 #14 0x406f67c0 in gtk_signal_emit (object=0x84a78c8, signal_id=21) at gtksignal.c:552 #15 0x4072b710 in gtk_widget_event (widget=0x84a78c8, event=0x80e1810) at gtkwidget.c:2784 #16 0x406cb6a5 in gtk_propagate_event (widget=0x843c704, event=0x80e1810) at gtkmain.c:1295 #17 0x406ca9da in gtk_main_do_event (event=0x80e1810) at gtkmain.c:752 #18 0x40770e86 in ?? () from /usr/lib/libgdk-1.2.so.0 #19 0x4079dc83 in ?? () from /usr/lib/libglib-1.2.so.0 #20 0x4079e20f in ?? () from /usr/lib/libglib-1.2.so.0 #21 0x4079e391 in ?? () from /usr/lib/libglib-1.2.so.0 #22 0x406ca44b in gtk_main () at gtkmain.c:475 #23 0x4013786d in nsAppShell::Run (this=0x8076440) at nsAppShell.cpp:197 #24 0x4002955d in nsAppShellService::Run (this=0x80a1000) at nsAppShellService.cpp:404 #25 0x804c05c in main (argc=2, argv=0xbffffa9c) at nsAppRunner.cpp:657
RE: Linux (1999-06-14-08 m7) It also crashes when I do a Message|move. Here is the stack trace: Reading symbols from /usr/lib/libjpeg.so.62...done. #0 0x8423d8b in ?? () (gdb) where #0 0x8423d8b in ?? () #1 0x400b27ff in nsMenuItem::DoCommand () #2 0x400b2659 in nsMenuItem::MenuItemSelected () #3 0x400b33fe in menu_item_activate_handler () #4 0x80c42be in gtk_window_set_default_size () #5 0x809ceff in gtk_signal_connect_object () #6 0x809c586 in gtk_signal_connect_object () #7 0x809acc2 in gtk_selection_data_set () #8 0x80bc910 in gtk_widget_size_request () #9 0x808ba7d in gtk_menu_shell_append () #10 0x808af7e in gtk_menu_shell_append () #11 0x80c40a4 in gtk_window_set_default_size () #12 0x809c5b3 in gtk_signal_connect_object () #13 0x809acc2 in gtk_selection_data_set () #14 0x80bc7ec in gtk_widget_size_request () #15 0x8085e41 in gtk_get_current_event () #16 0x80853e2 in gtk_main_iteration_do () #17 0x80d3ab7 in gdk_input_add () #18 0x80e6a3c in g_list_length () #19 0x80e6eb7 in g_list_length () #20 0x80e6fd1 in g_main_iteration () #21 0x8084ef7 in gtk_main () #22 0x400ab2c7 in nsAppShell::Run () #23 0x400193ae in nsAppShellService::Run () #24 0x8051ca3 in main () However, the Move crash does not occur on Win_nt 4.0
The move crash on Linux is tracked in bug 7741. This bug (8114) is on the Copy Menu item crashing and it's on Linux as well as PC.
Actually, this bug does not happen on the PC. The stack that both Fenella and I have posted happen on Move and Copy on Linux. The copy bug that happens on the PC is the one I checked in a fix for this afternoon, but I don't have a bug to go along with it.
Then this is a duplicate of 7741?
Summary: Choosing Copy Message menu item is causing crash. → Choosing Copy Message and Move Message menu item is causing crash.
Unfortunately, to users, all of these bugs look the same. But if I remember correctly, 7741 was a javascript bug that Jeff fixed and it didn't crash. The crashes we've seen today are not related to that. The PC crash only happened on CopyMessages and was caused by a bug in nsMailboxService.cpp that I have checked in a fix for. The bug described in this report with the stack traces that Fenella and I have posted doesn't happen on the PC, but does happen on Linux. I don't know about the Mac. From looking at the stack trace this appears to be in menu code which is why I've started off assigning it to saari.
setting to M8. There is a snowball's chance in hell that my linux build will finish and I'll get to this before midnight for M7
fyi On the June 15 PowerPC Seamokey respin build (1999061514), the Mac does not appear to crash under IMAP or POP but the operation does not complete. The selected message is not copied. I have tried exiting and re-launching the app but nothing appears to happen.
Update: Using the PPC June 16 Seamonkey build (1999061608), I don't crash on under POP or IMAP. Under POP, I can successfully copy message. Under IMAP, the operation does not work. No message is copied.
Putterman's fix for the PC Copy Message crash worked -- no problem in jun16 build on NT 4.0. The Linux problem, the one this bug is now tracking, still exists (crashes) using jun16.
Target Milestone: M8
Setting M8, but I'll take a look at it today if I get time
Summary: Choosing Copy Message and Move Message menu item is causing crash. → [PP] Choosing Copy Message and Move Message menu item is causing crash.
<This bug is to track the remaining problem of the crashing on Linux as originally reported. The copy not working under IMAP is tracked under bug 8457.>
Target Milestone: M8 → M9
Don't think I can look at this in M8, setting M9
Summary: [PP] Choosing Copy Message and Move Message menu item is causing crash. → [PP] Choosing Copy Message and Move Message menu item is causing crash/does nothing.
I am not crashing right now. However, the copy and move commands are not getting executed on Linux. I have a line that should get output to the console if my js function gets called and it never does. I don't know if we're beyond the crash now and it just doesn't do anything or if fixing the current problem will bring back the crash. Whichever it is, I'd appreciate it if you could look into it. I think this is smoketest functionality and it hasn't worked on linux for about a month now. If we're doing something wrong, any insight would also be appreciated.
Yes, we really need to be able to test this feature on Linux! I may need to upgrade to a [blocker] if this gets pushed out beyond M9. Thanks.
*** Bug 9482 has been marked as a duplicate of this bug. ***
Blocks: 8203
Blocks: 8457
Can someone check if this still happens now that we have XPMenus? Or help me set up a mail account on linux so I can test this?
Esther - can you help Saari get this set up? Saari, take a look at: http://www.mozilla.org/mailnews/prefs-info.html also.
Status: NEW → ASSIGNED
Target Milestone: M9 → M10
Well, I still havn't successfully set up my linux box to test this, but I'm going to guess that this is not a menu problem, especially not now with XPMenus.
Whiteboard: [PR1]
Sounds like this needs to be fixed by PR1, so I added a note in the Status Whiteboard
Update: Under Linux seamonkey build 1999-08-16-08-m9 build, the copy and move command work under local POP. I do not crash. I have not tried a M10 build.
I tried yesterday Linux seamonkey build 1999-08-19-13-m10. The copy and move operation work under pop mail. I did not crash performing these operations. I also was able to copy news articles to a pop folder. This bug appeared fixed.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolving bug as worksforme now. Chris, If you did add a fix in, please change a status from worksforme to fixed. Thanks. /Peter
Status: REOPENED → RESOLVED
Closed: 26 years ago26 years ago
Resolution: FIXED → WORKSFORME
Oops. I meant to mark it as worksforme. Sorry for the extra bugzilla notfication. :)
Status: RESOLVED → VERIFIED
Verified as worksforme using the Linux seamonkey builds 1999-08-16-08-m9 and 1999-08-19-13-m10
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.