I have no idea why it crashes, or what exactely since the first line in the stack trace is empty, it seems to execute random code. It's crashing in one of the contructor functions, one of them is reading the tooltypes of the icon, if you have icon modules installed try if renaming LIBS:IconModules helps (you have to reboot before testing, icon.library only checks on startup if something is there).
That should be enough. I've noticed that if I get below 200 MB and try to open OWB on its own screen that it consistently crashes. Is there a way that you could try starting it with over 300 MB (maybe eliminating some things from WBStartUp), just to see if this makes a difference? You also might try not starting it on its own screen (if that is how you have it set up currently).
I've tried with wiping out the tooltypes, with setting the start mode to shell instead of Workbench...
@PEB
...with renaming WBStartup and gaining another 80MB of RAM (now 350MB, going down to 320 when the reaper appears), still no game.
I tried it with starting on its own screen and as a window (which is my default btw), nothing helps
The strange thing is, as soon as it crashes, leaving alone the reaper window and starting OWB another time, all is well
OWB starts up and works and works and (pulling my hair out) works ... i don't know whats up here...
...it seems theres something not initialized yet, but i can't figure out what, nor does snoopy, snoopdos, memguard, name-it, i tried everything to get behind this behaviour.
And i just KNOW that once its fixed, it will be the simplest solution one can imagine ... but for now, i'm lost...
...it seems theres something not initialized yet, but i can't figure out what, nor does snoopy, snoopdos, memguard, name-it, i tried everything to get behind this behaviour.
If you start OWB from a shell do you get the "Using OWB memory allocator ..." output before it crashes?
If not everything before that is just the libauto.a code opening libraries and classes in the following order: string.gadet, locale.library, layout.gadet, label.image, intuition.library, icon.library, graphics.library, fuelgauge.gadet, diskfont.library, bitmap.image, bevel.image, and the interfaces of these libraries/classes. Using the debug kernel with debuglevel 10 can be used to check between which ones it crashes ("[_impl_OpenLibrary] Trying to open foo.bar version x"), but with such a high debuglevel you you'll get a lot of other debug output as well.
If you start OWB from a shell do you get the "Using OWB memory allocator ..." output before it crashes?
No output in shell...
Quote:
If not everything before that is just the libauto.a code opening libraries and classes in the following order: string.gadet, locale.library, layout.gadet, label.image, intuition.library, icon.library, graphics.library, fuelgauge.gadet, diskfont.library, bitmap.image, bevel.image, and the interfaces of these libraries/classes. Using the debug kernel with debuglevel 10 can be used to check between which ones it crashes ("[_impl_OpenLibrary] Trying to open foo.bar version x"), but with such a high debuglevel you you'll get a lot of other debug output as well.
Hmm, i didn't have a kernel.debug kicklayout, but created one for testing now. Though i don't have any idea on how to set it to "level 10" nor do i know where i should look for logs.
ok, sorry for the long post (i try to cut it down to the essentials) You can have the full log if needed (I marked the libs and stuff)
ok, i got this one once, but before any resemblance to OWB was dumped (except for the shared libs, of course)
[elf] .gcc_except_table 0x68025C74-0x680267FA AmigaOS:SObjs/libicuuc-3.4.so (sh_flags 0x02) has read-only flag in section header but is located in a read-write section of the program header (linker (script) error?)
Then the OWB output:
[elf] .interp 0x68305020-0x68305031 OSTools:OWB/OWB (sh_flags 0x02) read-only [elf] .hash 0x68306020-0x68306884 OSTools:OWB/OWB (sh_flags 0x02) read-only [elf] .dynsym 0x67DB7020-0x67DB8120 OSTools:OWB/OWB (sh_flags 0x02) read-only [elf] .dynstr 0x6805F020-0x6805FE13 OSTools:OWB/OWB (sh_flags 0x02) read-only [elf] .rela.dyn 0x68060020-0x680600A4 OSTools:OWB/OWB (sh_flags 0x02) read-only [elf] .rela.plt 0x68061020-0x68061B84 OSTools:OWB/OWB (sh_flags 0x02) read-only [32m[_impl_Cause] [39mRounded priority from 0 to 0 [32m[_impl_Cause] [39mAdded softint 0x6FF6B2D2 (code = 0x0160E1F4) [32m[__alloc_stack] [39mGuard pages @ 0x670C7000, stack base @ 0x670CB000, stack end @ 0x6714C000 [32m[_impl_OpenLibrary] [39mTrying to open newlib.library, version 52 [32m[_impl_OpenLibrary] [39mFound library at 0x6FF9E318 [32m[_impl_OpenLibrary] [39mCalling Open vector of newlib.library [32m[_impl_GetInterface] [39mGetting interface main of library newlib.library [32m[_impl_GetInterface] [39mFound interface at 0x6FFAA000, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6FFAA000 [32m[_impl_OpenLibrary] [39mReturned from open vector [32m[_impl_OpenLibrary] [39mLibrary node at 0x6FF9E318 [32m[_impl_GetInterface] [39mGetting interface main of library newlib.library [32m[_impl_GetInterface] [39mFound interface at 0x6FFAA000, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6FFAA000 [32m[ASOT_PORT_constructor] [39mCreated a message port at 0x67F26850 [32m[_impl_GetInterface] [39mGetting interface main of library timer.device [32m[_impl_GetInterface] [39mFound interface at 0x6FF92400, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6FF92400 [32m[ASOT_PORT_constructor] [39mCreated a message port at 0x67F267D0 [32m[_impl_OpenLibrary] [39mTrying to open pthreads.library, version 0 [32m[_impl_OpenLibrary] [39mLibrary not found [32m[_impl_FindResident] [39mramlib is scanning resident array for pthreads.library [32m[_impl_KMemCacheAlloc] [39mNo available slabs, growing [32m[_impl_CacheClearU] [39mDoing full cache flush [32m[_impl_GetInterface] [39mGetting interface mmu of library exec.library [32m[_impl_GetInterface] [39mFound interface at 0x6FF92000, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6FF92000 [elf] .rodata 0x672C1020-0x672C1274 AmigaOS:Libs/pthreads.library (sh_flags 0x02) read-only [32m[_impl_KMemCacheAlloc] [39mNo available slabs, growing [32m[_impl_AddTask] [39mAdding Task 0x68325300, RAMLIB: opening pthreads.library (0x67B79510) [32m[_impl_KMemCacheAlloc] [39mNo available slabs, growing [32m[HAL_InitTaskContext] [39mContext at 0xEFDF17A0 (physical 0x09E767A0) [32m[_impl_AddTask] [39mTask = 0x68325300, ETask = 0xEFDDF9A0, Context = 0xEFDF17A0 [32m[_impl_AddTask] [39mStack bottom = 0x670B7000, Stack top = 0x670B9008, Stack pointer = 0x670B8FD0 [32m[_impl_AddTask] [39mCalling HAL_TaskPreStart [32m[_impl_AddTask] [39mTask added to ready list [32m[__alloc_stack] [39mGuard pages @ 0x6702A000, stack base @ 0x6702E000, stack end @ 0x670AF000 [32m[_impl_InitResident] [39m[33mInitializing native autoinit pthreads.library V52 [39m[32m[_impl_CreateLibrary] [39mInterface description at 0x68E32300 [32m[_impl_CreateLibrary] [39mData size = 40 [32m[_impl_CreateLibrary] [39mNo vector table, assuming default [32m[_impl_CreateLibrary] [39mNegative size: 24, positive size: 40 [32m[_impl_CreateLibrary] [39mCreating interfaces [32m[_impl_MakeInterface] [39mCreated interface __library at 0x67F25EB0 [32m[_impl_MakeInterface] [39mCreated interface main at 0x67F2FE20 [32m[_impl_CreateLibrary] [39mDone creating library, base at 0x68317F58 [32m[_impl_InitResident] [39mCalling init function (0x7E04253C) [32m[_impl_OpenLibrary] [39mTrying to open dos.library, version 0 [32m[_impl_OpenLibrary] [39mFound library at 0x6FDA75E8 [32m[_impl_OpenLibrary] [39mCalling Open vector of dos.library [32m[_impl_OpenLibrary] [39mReturned from open vector [32m[_impl_OpenLibrary] [39mLibrary node at 0x6FDA75E8 [32m[_impl_GetInterface] [39mGetting interface main of library dos.library [32m[_impl_GetInterface] [39mFound interface at 0x6FD91000, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6FD91000 [32m[_impl_OpenLibrary] [39mTrying to open utility.library, version 0 [32m[_impl_OpenLibrary] [39mFound library at 0x6FF901AC [32m[_impl_OpenLibrary] [39mCalling Open vector of utility.library [32m[_impl_OpenLibrary] [39mReturned from open vector [32m[_impl_OpenLibrary] [39mLibrary node at 0x6FF901AC [32m[_impl_GetInterface] [39mGetting interface main of library utility.library [32m[_impl_GetInterface] [39mFound interface at 0x6FF91000, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6FF91000 [32m[_impl_OpenLibrary] [39mTrying to open newlib.library, version 52 [32m[_impl_OpenLibrary] [39mFound library at 0x6FF9E318 [32m[_impl_OpenLibrary] [39mCalling Open vector of newlib.library [32m[_impl_GetInterface] [39mGetting interface main of library newlib.library [32m[_impl_GetInterface] [39mFound interface at 0x6FFAA000, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6FFAA000 [32m[_impl_OpenLibrary] [39mReturned from open vector [32m[_impl_OpenLibrary] [39mLibrary node at 0x6FF9E318 [32m[_impl_GetInterface] [39mGetting interface main of library newlib.library [32m[_impl_GetInterface] [39mFound interface at 0x6FFAA000, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6FFAA000 [32m[_impl_InitResident] [39mInit function for pthreads.library return 0x68317F58 [32m[_impl_AddLibrary] [39mAdding library pthreads.library to the system [32m[_impl_SumLibrary] [39mSumming library 0x68317F58 [32m[_impl_SumLibrary] [39mLibrary sum is 60651 [32m[_impl_InitResident] [39mpthreads.library V52 initialized [32m[_impl_RemTask] [39mRemoving 0x68325300 (self) = RAMLIB: opening pthreads.library [32m[_impl_SuspendTask] [39mSuspending self (RAMLIB: opening pthreads.library) [32m[ReaperTask] [39mLooking for tasks to remove [32m[ReaperTask] [39mTerminating task RAMLIB: opening pthreads.library (0x68325300) [32m[_impl_RemTask] [39mFreeing tracked resources [32m[_impl_RemTask] [39mDone freeing resources [32m[_impl_OpenLibrary] [39mTrying to open pthreads.library, version 0 [32m[_impl_OpenLibrary] [39mFound library at 0x68317F58 [32m[_impl_OpenLibrary] [39mCalling Open vector of pthreads.library [32m[_impl_OpenLibrary] [39mReturned from open vector [32m[_impl_OpenLibrary] [39mLibrary node at 0x68317F58 [32m[_impl_GetInterface] [39mGetting interface main of library pthreads.library [32m[_impl_GetInterface] [39mFound interface at 0x67F2FE20, checking version [32m[_impl_GetInterface] [39mCloning [32m[_impl_KMemCacheAlloc] [39mNo available slabs, growing [32m[_impl_KMemCacheAlloc] [39mNo available slabs, growing [32m[ASOT_MUTEX_constructor] [39mCreated mutex 0x6FF9C020 [32m[_impl_GetInterface] [39mReturning interface 0x670AF620 [32m[ASOT_PORT_constructor] [39mCreated a message port at 0x67F26A10 [32m[_impl_GetInterface] [39mGetting interface main of library timer.device [32m[_impl_GetInterface] [39mFound interface at 0x6FF92400, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6FF92400 [32m[_impl_OpenLibrary] [39mTrying to open string.gadget, version 0 [32m[_impl_OpenLibrary] [39mFound library at 0x6B17C310 [32m[_impl_OpenLibrary] [39mCalling Open vector of string.gadget [32m[_impl_OpenLibrary] [39mReturned from open vector [32m[_impl_OpenLibrary] [39mLibrary node at 0x6B17C310 [32m[_impl_OpenLibrary] [39mTrying to open locale.library, version 0 [32m[_impl_OpenLibrary] [39mFound library at 0x6FD9CCCC [32m[_impl_OpenLibrary] [39mCalling Open vector of locale.library [32m[_impl_OpenLibrary] [39mReturned from open vector [32m[_impl_OpenLibrary] [39mLibrary node at 0x6FD9CCCC [32m[_impl_OpenLibrary] [39mTrying to open layout.gadget, version 0 [32m[_impl_OpenLibrary] [39mFound library at 0x6A6FB3B8 [32m[_impl_OpenLibrary] [39mCalling Open vector of layout.gadget [32m[_impl_OpenLibrary] [39mReturned from open vector [32m[_impl_OpenLibrary] [39mLibrary node at 0x6A6FB3B8 [32m[_impl_OpenLibrary] [39mTrying to open label.image, version 0 [32m[_impl_OpenLibrary] [39mFound library at 0x6A738AB0 [32m[_impl_OpenLibrary] [39mCalling Open vector of label.image [32m[_impl_OpenLibrary] [39mReturned from open vector [32m[_impl_OpenLibrary] [39mLibrary node at 0x6A738AB0 [32m[_impl_OpenLibrary] [39mTrying to open intuition.library, version 0 [32m[_impl_OpenLibrary] [39mFound library at 0x6FEFD4D0 [32m[_impl_OpenLibrary] [39mCalling Open vector of intuition.library [32m[_impl_OpenLibrary] [39mReturned from open vector [32m[_impl_OpenLibrary] [39mLibrary node at 0x6FEFD4D0 [32m[_impl_OpenLibrary] [39mTrying to open icon.library, version 0 [32m[_impl_OpenLibrary] [39mFound library at 0x6FEAA0CC [32m[_impl_OpenLibrary] [39mCalling Open vector of icon.library [32m[_impl_OpenLibrary] [39mReturned from open vector [32m[_impl_OpenLibrary] [39mLibrary node at 0x6FEAA0CC [32m[_impl_OpenLibrary] [39mTrying to open graphics.library, version 0 [32m[_impl_OpenLibrary] [39mFound library at 0x6FFB4420 [32m[_impl_OpenLibrary] [39mCalling Open vector of graphics.library [32m[_impl_OpenLibrary] [39mReturned from open vector [32m[_impl_OpenLibrary] [39mLibrary node at 0x6FFB4420 [32m[_impl_OpenLibrary] [39mTrying to open fuelgauge.gadget, version 0 [32m[_impl_OpenLibrary] [39mFound library at 0x682D5580 [32m[_impl_OpenLibrary] [39mCalling Open vector of fuelgauge.gadget [32m[_impl_OpenLibrary] [39mReturned from open vector [32m[_impl_OpenLibrary] [39mLibrary node at 0x682D5580 [32m[_impl_OpenLibrary] [39mTrying to open diskfont.library, version 0 [32m[_impl_OpenLibrary] [39mFound library at 0x6FF827AC [32m[_impl_OpenLibrary] [39mCalling Open vector of diskfont.library [32m[_impl_OpenLibrary] [39mReturned from open vector [32m[_impl_OpenLibrary] [39mLibrary node at 0x6FF827AC [32m[_impl_OpenLibrary] [39mTrying to open bitmap.image, version 0 [32m[_impl_OpenLibrary] [39mFound library at 0x6B607A30 [32m[_impl_OpenLibrary] [39mCalling Open vector of bitmap.image [32m[_impl_OpenLibrary] [39mReturned from open vector [32m[_impl_OpenLibrary] [39mLibrary node at 0x6B607A30 [32m[_impl_OpenLibrary] [39mTrying to open bevel.image, version 0 [32m[_impl_OpenLibrary] [39mFound library at 0x6B68E0A0 [32m[_impl_OpenLibrary] [39mCalling Open vector of bevel.image [32m[_impl_OpenLibrary] [39mReturned from open vector [32m[_impl_OpenLibrary] [39mLibrary node at 0x6B68E0A0 [32m[_impl_GetInterface] [39mGetting interface main of library string.gadget [32m[_impl_GetInterface] [39mFound interface at 0x69464740, checking version [32m[_impl_GetInterface] [39mReturning interface 0x69464740 [32m[_impl_GetInterface] [39mGetting interface main of library locale.library [32m[_impl_GetInterface] [39mFound interface at 0x6B7BE010, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6B7BE010 [32m[_impl_GetInterface] [39mGetting interface main of library layout.gadget [32m[_impl_GetInterface] [39mFound interface at 0x6B41A900, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6B41A900 [32m[_impl_GetInterface] [39mGetting interface main of library label.image [32m[_impl_GetInterface] [39mFound interface at 0x6B181CD0, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6B181CD0 [32m[_impl_GetInterface] [39mGetting interface main of library intuition.library [32m[_impl_GetInterface] [39mFound interface at 0x6FFFA800, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6FFFA800 [32m[_impl_GetInterface] [39mGetting interface main of library icon.library [32m[_impl_GetInterface] [39mFound interface at 0x6B7BE880, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6B7BE880 [32m[_impl_GetInterface] [39mGetting interface main of library graphics.library [32m[_impl_GetInterface] [39mFound interface at 0x6FF82000, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6FF82000 [32m[_impl_GetInterface] [39mGetting interface main of library fuelgauge.gadget [32m[_impl_GetInterface] [39mFound interface at 0x682A00C0, checking version [32m[_impl_GetInterface] [39mReturning interface 0x682A00C0 [32m[_impl_GetInterface] [39mGetting interface main of library diskfont.library [32m[_impl_GetInterface] [39mFound interface at 0x6B91C250, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6B91C250 [32m[_impl_GetInterface] [39mGetting interface main of library bitmap.image [32m[_impl_GetInterface] [39mFound interface at 0x69464830, checking version [32m[_impl_GetInterface] [39mReturning interface 0x69464830 [32m[_impl_GetInterface] [39mGetting interface main of library bevel.image [32m[_impl_GetInterface] [39mFound interface at 0x6B17FF60, checking version [32m[_impl_GetInterface] [39mReturning interface 0x6B17FF60 [32m[vaa_InstFaultHandler] [39mpCur->Flags = 0x00000040 [32m[HAL_DfltTrapHandler] [39m[33m*** Warning: Fatal exception in task 0x68E9ECC0 (Shell Process, etask = 0xEFDDF8F0) [39m[32m[HAL_Alert] [39mALERT! 0x80000003 [32m[_impl_CacheClearU] [39mDoing full cache flush [32m[HAL_SuspendTaskWithUpdate] [39mSuspending 0x68E9ECC0 with state 2, DAR = 0x00000004, at IP = 0x7BF2D258, LR = 0x7DC88804 [32m[HAL_SuspendTaskWithUpdate] [39mAdding to suspend list [32m[HAL_SuspendTaskWithUpdate] [39mContext @ 0xEFDC87A0 Dump of context at 0xEFDC87A0 Trap type: ISI exception Machine State (raw): 0x4000F030 Machine State (verbose): [ExtInt on] [User] [FPU on] [IAT on] [DAT on] Instruction pointer: 0x7BF2D258 Crashed process: OWB (0x68E9ECC0) 0: EA42D138 6714BC40 00DDDDDD 6804F1D4 0000002C 6804F208 00000001 00008080 8: 01C71C60 680F0000 00000000 01CAFCF9 48134328 680FDB40 680F5AB0 680F5A2C 16: 8000000F 8000000E 8000000C 8000000B 00000001 68309C40 00000000 00000001 24: 80000001 8000000A 67D9B000 00000800 00001000 00000000 680B58A4 80000002 CR: 48134384 XER: 2000DD5D CTR: 7DC88760 LR: 7DC88804
FP0 : FFF8000082068000 40019999A0000000 3FDD1758E0000000 3FE131EE6932D54F FP4 : FFF8000082028000 3FE45F306DC9C883 3FD27AB671B0D8FE 3EF9DA099105BC2A FP8 : 3E21EE9F14CDC590 3FF0000000000000 BFE0000000000000 4035000000000000 FP12: FFF8000000000001 3EE4F8B588E453C9 0000000000000000 0000000000000000 FP16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FP20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FP24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FP28: 0000000000000000 4048008888888889 402A000000000000 4048008888888889 FPSCR: 82068000 ISI verbose error description: Instruction address not found in hash or BAT (page fault) [32m[HAL_SuspendTaskWithUpdate] [39mTrap type was 400 [32m[HAL_SuspendTaskWithUpdate] [39mNext ready task: 0x693FC830
Registers pointing to code: r3 : module OWB at 0x6804F1D4 (section 13 @ 0x281B4) r5 : module OWB at 0x6804F208 (section 13 @ 0x281E8) r8 : native kernel module Kickstart/kernel.debug+0x00871C60 r9 : module OWB at 0x680F0000 (section 3 @ 0x8CFE0) r11: native kernel module Kickstart/kernel.debug+0x008AFCF9 r13: module OWB at 0x680FDB40 (section 3 @ 0x9AB20) r14: module OWB at 0x680F5AB0 (section 3 @ 0x92A90) r15: module OWB at 0x680F5A2C (section 3 @ 0x92A0C) r30: module OWB at 0x680B58A4 (section 3 @ 0x52884) ip : unknown (0x7BF2D258) lr : module OWB at 0x7DC88804 (section 5 @ 0x7E4) ctr: module OWB at 0x7DC88760 (section 5 @ 0x740)