Opened 4 years ago

Closed 4 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:
Has a Patch: no 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 4 years ago.
One Example of the Resourcefiles wich cause a crash
WinArchiveTest (185.8 KB) - added by Paradoxon 4 years ago.
Simple Programm to test unarchiving BWindows from ressourcefiles

Download all attachments as: .zip

Change History (8)

Changed 4 years ago by Paradoxon

Attachment: zoom.rsrc added

One Example of the Resourcefiles wich cause a crash

comment:1 Changed 4 years ago by Paradoxon

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 Changed 4 years ago by pulkomandy

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 Changed 4 years ago by Paradoxon

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

Changed 4 years ago by Paradoxon

Attachment: WinArchiveTest added

Simple Programm to test unarchiving BWindows from ressourcefiles

comment:4 Changed 4 years ago by Paradoxon

The testprogramm is not crashing at all. Only with optionswindows from abiword wich seems broken anyway because it was rerwritten in Abiword code wise. 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.

Last edited 4 years ago by Paradoxon (previous) (diff)

comment:5 Changed 4 years ago by Paradoxon

Can be closed as invalid

comment:6 Changed 4 years ago by waddlesplash

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