Opened 10 years ago

Closed 10 years ago

#11956 closed bug (invalid)

Unarchiving BWindows /BView fails sometime

Reported by: Paradoxon Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Kits/Interface Kit Version: R1/Development
Keywords: Unarchiving Cc:
Blocked By: Blocking:
Platform: All

Description

Abiword construck a lot of their dialogs with archived BWindows (i guess generated over QuickRes).

Loading some of them leading to crash It looks to me that they are failing because of BBox

Attachments (2)

zoom.rsrc (10.0 KB ) - added by Paradoxon 10 years ago.
One Example of the Resourcefiles wich cause a crash
WinArchiveTest (185.8 KB ) - added by Paradoxon 10 years ago.
Simple Programm to test unarchiving BWindows from ressourcefiles

Download all attachments as: .zip

Change History (8)

by Paradoxon, 10 years ago

Attachment: zoom.rsrc added

One Example of the Resourcefiles wich cause a crash

comment:1 by Paradoxon, 10 years ago

It looks like its caused buy unarchiving a BBox propaply when BBox has an Lableview (not shure there).

You can test it

  • load the rsrc with Quickres and
  • open the ZoomWindow (Type ARCV) buy doupble klick
  • wait for a second and you get a crash :)

i could give you more archives wich will cause the crash.

comment:2 by pulkomandy, 10 years ago

Does this happen only with the Abiword RSRC files, or does it also happen with things archived from Haiku? We made some changes to the archiving system especially when adding layout support to the interface kit, and it's possible that we don't correctly handle unarchiving views that were archived on BeOS.

comment:3 by Paradoxon, 10 years ago

I only tested with the archived ones from Abiword (some are working some not) If it would be helpfull i can try to write a TesApp wich can load archived BWindows and show them to proof if its only the old one (what i guess) the Archives are from 25 Oct 1999 https://github.com/AbiWord/abiword/commit/0e517e934362c59a8213f975b57da56eb6f0a250

by Paradoxon, 10 years ago

Attachment: WinArchiveTest added

Simple Programm to test unarchiving BWindows from ressourcefiles

comment:4 by Paradoxon, 10 years ago

The testprogramm is not crashing at all. Only with optionswindows from abiword wich seems borken anyway because it was rerwritten in code. Every archived BWindow looks fine - at least it dont crahes ;-) So i guess its a bug in the implementation of Abiword and QuickRes - also i cant track it down and i cant explain it.

Version 0, edited 10 years ago by Paradoxon (next)

comment:5 by Paradoxon, 10 years ago

Can be closed as invalid

comment:6 by waddlesplash, 10 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.