To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=65308
                  Issue #:|65308
                  Summary:|crash on paste into "notes" view in impress
                Component:|Drawing
                  Version:|OOo 2.0.2
                 Platform:|All
                      URL:|
               OS/Version:|Linux
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|wg
              Reported by:|cmc





------- Additional comments from [EMAIL PROTECTED] Thu May 11 10:28:14 -0700 
2006 -------
This is a sort of odd route to reproduce, but bear with me.

Under linux and GNOME:
1. Start impress
2. Normal view, maximize your window, i.e. double click title bar so it is full
screen if it is not already
3. Type some text in normal view into a slide
4. Select and edit->copy the text
5. Click on "notes" tab
6. Click on "click to add notes"
7. Click on the right scroll bar and scroll to the top and then back down to the
middle
8. middle click (or left+right buttons together) in the center of the open
"click to add notes" frame

-> crash with the following stacktrace

#0  0x030d4172 in SdDrawDocument::GetSdPage (this=0x0, nPgNum=0,
ePgKind=PK_STANDARD)
    at /usr/src/redhat/BUILD/OOB680_m5/sd/source/core/drawdoc2.cxx:295
#1  0x02ffa735 in sd::View::InsertData (this=0xb0848440,
[EMAIL PROTECTED], [EMAIL PROTECTED],
    [EMAIL PROTECTED], bDrag=0 '\0', nFormat=0, nPage=65535, nLayer=255)
    at /usr/src/redhat/BUILD/OOB680_m5/sd/source/ui/view/sdview3.cxx:724
#2  0x030137ec in sd::DrawViewShell::Command (this=0xb23c0300,
[EMAIL PROTECTED], pWin=0xb085d770)
    at /usr/src/redhat/BUILD/OOB680_m5/sd/source/ui/view/drviews4.cxx:581
#3  0x03009da8 in sd::Window::Command (this=0xb085d770, [EMAIL PROTECTED])
    at /usr/src/redhat/BUILD/OOB680_m5/sd/source/ui/view/sdwindow.cxx:389
#4  0x002d8451 in Window::DrawNativeControl () from
/usr/lib/openoffice.org2.0/program/libvcl680li.so
#5  0x002da237 in Window::DrawNativeControl () from
/usr/lib/openoffice.org2.0/program/libvcl680li.so
#6  0x002db76b in Window::DrawNativeControl () from
/usr/lib/openoffice.org2.0/program/libvcl680li.so
#7  0x002da59d in Window::DrawNativeControl () from
/usr/lib/openoffice.org2.0/program/libvcl680li.so
#8  0x063965bc in SalFrame::CallCallback (this=0xb284d0b0, nEvent=3,
pEvent=0xbfd98b64)
    at ../../../inc/salframe.hxx:302
#9  0x06394c4a in GtkSalFrame::signalButton (pWidget=0x9b1dc98,
pEvent=0x9afb818, frame=0xb284d0b0)
    at /usr/src/redhat/BUILD/OOB680_m5/vcl/unx/gtk/window/gtkframe.cxx:1968
#10 0x06c65472 in gtk_marshal_BOOLEAN__VOID () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x05013fdb in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0x05026295 in g_signal_override_class_closure () from
/usr/lib/libgobject-2.0.so.0
#13 0x050275a6 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#14 0x05027999 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#15 0x06d8cc98 in gtk_widget_get_default_style () from 
/usr/lib/libgtk-x11-2.0.so.0
#16 0x06c5da5e in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x06c5ef48 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x05e965ba in gdk_add_client_message_filter () from 
/usr/lib/libgdk-x11-2.0.so.0
#19 0x0106d3fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0x0107068f in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#21 0x01070bf5 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0x06379c26 in GtkXLib::Yield (this=0xb7f9ef20, bWait=1 '\001')
    at /usr/src/redhat/BUILD/OOB680_m5/vcl/unx/gtk/app/gtkdata.cxx:699
#23 0x01ef42b5 in X11SalInstance::Yield () from
/usr/lib/openoffice.org2.0/program/libvclplug_gen680li.so
#24 0x00193eca in Application::Yield () from
/usr/lib/openoffice.org2.0/program/libvcl680li.so
#25 0x00193f4e in Application::Execute () from
/usr/lib/openoffice.org2.0/program/libvcl680li.so
#26 0x0806b460 in desktop::Desktop::Main (this=0xbfd994b4)
    at /usr/src/redhat/BUILD/OOB680_m5/desktop/source/app/app.cxx:1696
#27 0x00197d0e in InitVCL () from 
/usr/lib/openoffice.org2.0/program/libvcl680li.so
#28 0x00197dc1 in SVMain () from 
/usr/lib/openoffice.org2.0/program/libvcl680li.so
#29 0x0806348b in sal_main (argc=2, argv=0xbfd99584)
    at /usr/src/redhat/BUILD/OOB680_m5/desktop/source/app/main.cxx:77
#30 0x0579e834 in __libc_start_main () from /lib/libc.so.6
#31 0x080633c1 in _start ()


Examination shows that pOwnData->GetWorkDocument in View::InsertData in
sd/source/ui/view/sdview3.cxx returns 0. Simple patch to stop crashing attached.

If we *don't* move the scrollbar we get no crash, but instead a dialog which
looks really out of place i.e. "This function cannot be run with the selected
objects".

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to