Issue 63321 - Inserting color xpm image results in crashes and freezes
Summary: Inserting color xpm image results in crashes and freezes
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 1.1.5
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: crash, oooqa
Depends on:
Blocks:
 
Reported: 2006-03-17 20:06 UTC by vldmr
Modified: 2006-03-18 14:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Inserting this image works ok (433 bytes, image/xpm)
2006-03-17 20:07 UTC, vldmr
no flags Details
This image produce crash (446 bytes, image/xpm)
2006-03-17 20:09 UTC, vldmr
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description vldmr 2006-03-17 20:06:05 UTC
Inserting xpm file with more then two colors can result in either imidiate crash
or freeze. If the program would not crash immidiately, it will display the image
in wrong colors and will crash when the image is selected.
Here is upper part backtrace when run in gdb:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220532544 (LWP 26711)]
0x50002c4b in rtl_allocateMemory () from /usr/lib/ooo-1.1/program/libsal.so.3
(gdb) bt
#0  0x50002c4b in rtl_allocateMemory ()
   from /usr/lib/ooo-1.1/program/libsal.so.3
#1  0x50002d99 in rtl_freeMemory () from /usr/lib/ooo-1.1/program/libsal.so.3
#2  0x0808c80f in vcl_customIcon17 ()
#3  0x0808c94d in operator delete[] ()
#4  0xb7164939 in X11SalBitmap::Destroy ()
   from /usr/lib/ooo-1.1/program/libvclplug_gen645li.so
#5  0xb71632d7 in X11SalBitmap::~X11SalBitmap ()
   from /usr/lib/ooo-1.1/program/libvclplug_gen645li.so
#6  0xb7d99026 in ImpBitmap::~ImpBitmap ()
   from /usr/lib/ooo-1.1/program/libvcl645li.so
#7  0xb7d613cc in Bitmap::ImplReleaseRef ()
   from /usr/lib/ooo-1.1/program/libvcl645li.so
#8  0xb7d60e83 in Bitmap::SetEmpty ()
   from /usr/lib/ooo-1.1/program/libvcl645li.so
#9  0xb7d79df6 in BitmapEx::SetEmpty ()
   from /usr/lib/ooo-1.1/program/libvcl645li.so
#10 0xb7d79e33 in BitmapEx::Clear ()
   from /usr/lib/ooo-1.1/program/libvcl645li.so
#11 0xb7d9a7b2 in ImpGraphic::ImplClearGraphics ()
   from /usr/lib/ooo-1.1/program/libvcl645li.so
#12 0xb7d9aaf6 in ImpGraphic::ImplClear ()
   from /usr/lib/ooo-1.1/program/libvcl645li.so
---Type <return> to continue, or q <return> to quit---
#13 0xb7d9a390 in ImpGraphic::~ImpGraphic ()
   from /usr/lib/ooo-1.1/program/libvcl645li.so
#14 0xb7d93cb0 in Graphic::~Graphic ()
   from /usr/lib/ooo-1.1/program/libvcl645li.so
#15 0xb250e2a1 in SvFileObject::GetData ()
   from /usr/lib/ooo-1.1/program/libsvx645li.so
#16 0xb2e2c857 in so3::SvLinkSource::NotifyDataChanged ()
   from /usr/lib/ooo-1.1/program/libso645li.so
#17 0xb250f0fe in SvFileObject::LoadGrfReady_Impl ()
   from /usr/lib/ooo-1.1/program/libsvx645li.so
#18 0xb7bb85f3 in svtools::AsynchronLink::Call_Impl ()
   from /usr/lib/ooo-1.1/program/libsvt645li.so
#19 0xb7bb850a in svtools::AsynchronLink::HandleCall ()
   from /usr/lib/ooo-1.1/program/libsvt645li.so
#20 0xb7eacfce in ImplHandleClose ()
   from /usr/lib/ooo-1.1/program/libvcl645li.so
#21 0xb7ead963 in ImplWindowFrameProc ()
   from /usr/lib/ooo-1.1/program/libvcl645li.so
#22 0xb719188a in SalDisplay::DispatchInternalEvent ()
   from /usr/lib/ooo-1.1/program/libvclplug_gen645li.so
#23 0xb71918c8 in SalX11Display::Yield ()
   from /usr/lib/ooo-1.1/program/libvclplug_gen645li.so
#24 0xb718c806 in SalDisplay::doDestruct ()
---Type <return> to continue, or q <return> to quit---q
 from /usr/lib/ooo-1.1/program/libvclQuit
Comment 1 vldmr 2006-03-17 20:07:55 UTC
Created attachment 34968 [details]
Inserting this image works ok
Comment 2 vldmr 2006-03-17 20:09:00 UTC
Created attachment 34969 [details]
This image produce crash
Comment 3 lohmaier 2006-03-18 14:08:38 UTC
crash (hang) reproduced with 1.1.5, but doesn't crash anymore with 2.0.2 →
worksforme.
Comment 4 lohmaier 2006-03-18 14:12:59 UTC
closing issue.