Closed Bug 300424 Opened 20 years ago Closed 19 years ago

Crash if you copy and paste a calander event with japanese text(utf8 encoding)

Categories

(Calendar :: Sunbird Only, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: cup_o_smuck, Unassigned)

References

Details

Attachments

(2 files, 1 obsolete file)

6.20 KB, text/calendar
Details
6.04 KB, application/octet-stream
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 The Calandar event that causes the crash contain utf8 encoded data, the crash is inconssistant, im trying to copy and event from one calander to the next... Reproducible: Sometimes Steps to Reproduce: 1.Enter a Calander file... Containing japanese text 2.attempt to cut the event from one calander 3.and then paste it to a second calandar Actual Results: sometimes there is a crash windows indicates instruction at "XXXX" refenced memory at "XXXX" for write, somethings it produces a bug report however my company disallows sending it.... but i will anyway.... Expected Results: simply copy the data out (with times intact!!) and then paste a new event back into the next calander Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20050203 Mozilla Sunbird/0.2
Attached file useless (obsolete) —
This the debug data for the crash
Comment on attachment 189000 [details] useless don't ever post this thing again unless someone explicitly asks for it. please try finding a talkback build.
Attachment #189000 - Attachment description: windows debug data → useless
Attachment #189000 - Attachment is obsolete: true
Ashley, could you please verify if this is also happening in current Sunbird nightly builds --> http://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/nightly/ Sunbird 0.2 is pretty old by now and a lot of development has happened since. It would also be good if you could attach the calendar file, so that others could try to reproduce this.
Component: General → Sunbird and Calendar-Extension Front End
QA Contact: general → sunbird
Ok i upgraded to the nightly of July 13 JST, bacisally did a cut and paste of all the files... version now reads; Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20050111 Mozilla Sunbird/0.2RC2 yep crash is stil there... i will post up the ics that i copy from...
Attached file the ICal file
Damn.. this might have been cause be me! Im am using the Tie:ICal perl module to create the calandar automatically from emails that i recieve from a calander system called Cybozu. It looks like Tie::Ical is poorly implemented, and it recreates the BEGIN:/END:VCALENDER items for each entry! The idea can be extended to Outlook email noticiations... i will post the perl and fix bad the module and then see what happen's
Attached file The Generating Script
Have fixed iCal.pm model submited to cpan as version 0.14... non-RFC2445 compliant empty VCALENDAR objects. have been removed... Confirmed that Sunbird is still crashing...
(In reply to comment #4) > Ok i upgraded to the nightly of July 13 JST, bacisally did a cut and paste of > all the files... > > version now reads; > Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20050111 Mozilla > Sunbird/0.2RC2 You didn't grab the right nightly build if this is your version ID. It should read something like: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20050713 Mozilla Sunbird/0.2+
hmmm... ok..... version is now... (from last night 13th July...) Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050713 Mozilla Sunbird/0.2+ 1) i cant open *ANY* existing iCal files... the debug info indicated; JavaScript error: chrome://calendar/content/calendar.xul, line 1: gCalendarWindow.calendarManager.launchOpenCalendarFileDialog is not a function 2) i can create new iCals... but when i insert *ANY* event it asserts ASSERTION attempt to remove an element that was never added:'hep != nsnull && *hep != nsnull', file c:\builds/tinderbox/sb-trunk/WINNT_5.2_Depend/mozilla/content/xul/document/src/nsElementMap.cpp, lin 281 3) but the event gets made ... when i copy it nothing goes the the clipboard at *ALL*... i get JavaScript error: chrome://calendar/content/importExport.js, line 1362: calendarEvent.start has no properties Somehow i dont think this is related to my other error... ;)
(In reply to comment #9) > hmmm... ok..... > > version is now... (from last night 13th July...) > Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050713 Mozilla > Sunbird/0.2+ Good. > 1) i cant open *ANY* existing iCal files... the debug info indicated; > JavaScript error: chrome://calendar/content/calendar.xul, line 1: > gCalendarWindow.calendarManager.launchOpenCalendarFileDialog is not a function Correct. Try using 'Import' for basic importing of ical files, but don't expect all the data to be moved. (Nightly builds are unstable.) > 2) i can create new iCals... but when i insert *ANY* event it asserts > ASSERTION attempt to remove an element that was never added:'hep != nsnull && > *hep != nsnull', file > c:\builds/tinderbox/sb-trunk/WINNT_5.2_Depend/mozilla/content/xul/document/src/nsElementMap.cpp, > lin 281 > > 3) but the event gets made ... when i copy it nothing goes the the clipboard at > *ALL*... i get > JavaScript error: chrome://calendar/content/importExport.js, line 1362: > calendarEvent.start has no properties This is bug 300250. If you wouldn't mind keeping an eye on that bug, it should hopefully be fixed soon. Then, testing this again would be greatly appreciated. Leaving as 'Unconfirmed' for now.
Depends on: 300250
Cut, Copy, and Paste have been back and working for awhile now. Can we get an update on this bug please?
Reassigning all automatically assigned bugs from Mostafa to nobody@m.o Bugspam filter: TorontoMostafaMove
Assignee: mostafah → nobody
Ashley, Sunbird 0.3 has been released now [http://www.mozilla.org/projects/calendar/]. Please test if Sunbird still crashes on your system. In case of crash please post the corresponding Talkback Incident IDs.
I am using the latest nightly build of the Trunk, and I encounter no problems. No errors occur when all of the steps are done and nothing shows up in the "error console". Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a1) Gecko/20061031 Calendar/0.4a1
Marking worksforme thanks to matthaeus.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: