Opened 3 weeks ago

Closed 2 weeks ago

#441 closed bug (duplicate)

MUI-5.0-20200620r6570 nightly build crashes when clickin mouse

Reported by: Javier de las Rivas Owned by: Thore Böckelmann
Priority: normal Milestone: 5.0-2020R1
Component: Application.mui Version: 5.0-nightly build
Severity: minor Keywords:
Cc: OS Platform: AmigaOS4
Blocked By: Blocking:
Release Notes:

Description

MUI-5.0-20200620r6570 nightly build crashes when clickin mouse when I'm on a MUI application, YAM, Oddyesey,… Using AOS4FE upd1 (and beta components).
I get this crashlog:

[_impl_InitResident] Lamp.mcc V21 initialized
[_impl_AddTask] Adding Task 0x5A392070, RANDOM/Random-Handler 52.1 (0x5B715790)
[_impl_AddTask] Adding Task 0x5A3921F0, [OWB] IconDatabase (0x5B715890)
[_impl_AddTask] Adding Task 0x5A392370, [OWB] JavaScriptCore::BlockFree (0x5B715990)
[btpool_arenafree] * Error: Freeing arena 0x5A3948EC from a pool that is not it's owner (in task input.device, owner = 0xFEFEBEEF)
[_impl_Alert] Alert (0x0100000F) called from 0x0183654C

Kernel command line: debuglevel=4 SERIAL MUNGE

Registers pointing to code:
r0 : native kernel module Kickstart/kernel.debug+0x0003dd68
r3 : native kernel module Kickstart/kernel.debug+0x00007560
r5 : native kernel module Kickstart/kernel.debug+0x009bae14
r6 : native kernel module Kickstart/kernel.debug+0x009bae04
r7 : native kernel module Kickstart/kernel.debug+0x009bae74
r10: module L:Random-Handler at 0x00000001 (section 0 @ 0xFFFFFFDC)
r22: native kernel module Kickstart/RadeonHD.chip+0x003fda80
r26: module L:Random-Handler at 0x00000001 (section 0 @ 0xFFFFFFDC)
r27: native kernel module Kickstart/kernel.debug+0x00880000
r29: native kernel module Kickstart/kernel.debug+0x009bdcc2
r31: native kernel module Kickstart/kernel.debug+0x008a9be4
ip : native kernel module Kickstart/kernel.debug+0x00007548
lr : native kernel module Kickstart/kernel.debug+0x0003dd70
ctr: native kernel module Kickstart/kernel.debug+0x000004c0

Stack trace:
(0x6FE74D30) native kernel module Kickstart/kernel.debug+0x00007548
(0x6FE74D60) native kernel module Kickstart/kernel.debug+0x0003dd70
(0x6FE74D80) native kernel module Kickstart/kernel.debug+0x0003654c
(0x6FE74DB0) native kernel module Kickstart/kernel.debug+0x000368f8
(0x6FE74DE0) native kernel module Kickstart/intuition.library.kmod+0x00022eac
(0x6FE74E20) native kernel module Kickstart/intuition.library.kmod+0x00023644
(0x6FE74E50) native kernel module Kickstart/input.device.kmod+0x00000a70
(0x6FE74F30) native kernel module Kickstart/input.device.kmod+0x0000261c
(0x6FE74FD0) native kernel module Kickstart/kernel.debug+0x0003d1f0

Disassembly of crash site:

01807538: 7C641B78 mr r4,r3
0180753C: 3C600180 lis r3,384
01807540: 60637560 ori r3,r3,30048
01807544: 44000002 sc

01807548: 4E800020 blr

0180754C: 7C641B78 mr r4,r3
01807550: 3C600180 lis r3,384
01807554: 60637688 ori r3,r3,30344
01807558: 44000002 sc
0180755C: 4E800020 blr

Stack pointer (0x6FE74D30) is inside bounds
Redzone is OK (4)

68k register dump
DATA: 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000


ADDR: 6FFA6000 A2564800 00000000 00000000 00000000 00000000 00000000 6FE74250

With previous nighly builds all was correct.

Attachments (1)

muimaster_Popmenu_20200627.zip (1.3 MB) - added by Thore Böckelmann 2 weeks ago.
nightly builds of muimaster.library and Popmenu.mui including debug symbols

Download all attachments as: .zip

Change History (10)

comment:1 Changed 3 weeks ago by Javier de las Rivas

In YAM crahses when I click on message (right) listview/nlist.
In Odyssey when clicking on the browse area (the page)

Reverting to MUI 5.0. 2019-R4 no porblems.
I can't get "older" nightly build to check when freeze started, but maybe just 2 or 3 builds back will be enough

cras, using muimaster_debug lib:

[_impl_InitResident] Frimagedisplay.mui V21 initialized
mastermisc.c LIB_MUIP_AskMinMa: bogus: min=-2/20 def=-2/20 max=10074/20 for obj=0x5e92dbe0(0)(Group.mui)Recibidos
mastermisc.c LIB_MUIP_AskMinMa: bogus: min=-2/16 def=-2/16 max=10000/16 for obj=0x5d326610(0)(Group.mui)grp:2x1
mastermisc.c LIB_MUIP_AskMinMa: bogus: min=-2/20 def=-2/20 max=10074/20 for obj=0x5e92dbe0(0)(Group.mui)Recibidos
mastermisc.c LIB_MUIP_AskMinMa: bogus: min=-2/16 def=-2/16 max=10000/16 for obj=0x5d326610(0)(Group.mui)grp:2x1
mastermisc.c LIB_MUIP_AskMinMa: bogus: min=-2/20 def=-2/20 max=10074/20 for obj=0x5e92dbe0(0)(Group.mui)Recibidos
mastermisc.c LIB_MUIP_AskMinMa: bogus: min=-2/16 def=-2/16 max=10000/16 for obj=0x5d326610(0)(Group.mui)grp:2x1
mastermisc.c LIB_MUIP_AskMinMa: bogus: min=-2/20 def=-2/20 max=10074/20 for obj=0x5e92dbe0(0)(Group.mui)Recibidos
mastermisc.c LIB_MUIP_AskMinMa: bogus: min=-2/16 def=-2/16 max=10000/16 for obj=0x5d326610(0)(Group.mui)grp:2x1
[_impl_InitResident] Initializing native autoinit Popmenu.mui V21, priority 0
[_impl_InitResident] Popmenu.mui V21 initialized
[btpool_arenafree] * Error: Freeing arena 0x59B4931C from a pool that is not it's owner (in task input.device, owner = 0xFEFEBEEF)
[_impl_Alert] Alert (0x0100000F) called from 0x0183654C

Kernel command line: debuglevel=4 SERIAL MUNGE

Registers pointing to code:
r0 : native kernel module Kickstart/kernel.debug+0x0003dd68
r3 : native kernel module Kickstart/kernel.debug+0x00007560
r5 : native kernel module Kickstart/kernel.debug+0x009bae14
r6 : native kernel module Kickstart/kernel.debug+0x009bae04
r7 : native kernel module Kickstart/kernel.debug+0x009bae74
r10: module LIBS:mui/Popmenu.mui at 0x00000001 (section 0 @ 0xFFFFFFDC)
r22: native kernel module Kickstart/RadeonHD.chip+0x003fda80
r26: module LIBS:mui/Popmenu.mui at 0x00000001 (section 0 @ 0xFFFFFFDC)
r27: native kernel module Kickstart/kernel.debug+0x00880000
r29: native kernel module Kickstart/kernel.debug+0x009bdcc2
r31: native kernel module Kickstart/kernel.debug+0x008a9be4
ip : native kernel module Kickstart/kernel.debug+0x00007548
lr : native kernel module Kickstart/kernel.debug+0x0003dd70
ctr: native kernel module Kickstart/kernel.debug+0x000004c0

Stack trace:
(0x6FE74E10) native kernel module Kickstart/kernel.debug+0x00007548
(0x6FE74E40) native kernel module Kickstart/kernel.debug+0x0003dd70
(0x6FE74E60) native kernel module Kickstart/kernel.debug+0x0003654c
(0x6FE74E90) native kernel module Kickstart/kernel.debug+0x000368f8
(0x6FE74EC0) native kernel module Kickstart/intuition.library.kmod+0x00022eac
(0x6FE74F00) native kernel module Kickstart/intuition.library.kmod+0x00023644
(0x6FE74F30) native kernel module Kickstart/input.device.kmod+0x00002ae0
(0x6FE74FD0) native kernel module Kickstart/kernel.debug+0x0003d1f0

Disassembly of crash site:

01807538: 7C641B78 mr r4,r3
0180753C: 3C600180 lis r3,384
01807540: 60637560 ori r3,r3,30048
01807544: 44000002 sc

01807548: 4E800020 blr

0180754C: 7C641B78 mr r4,r3
01807550: 3C600180 lis r3,384
01807554: 60637688 ori r3,r3,30344
01807558: 44000002 sc
0180755C: 4E800020 blr

Stack pointer (0x6FE74E10) is inside bounds
Redzone is OK (4)

68k register dump
DATA: 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000


ADDR: 6FFA6000 A21AE700 00000000 00000000 00000000 00000000 00000000 6FE74950

Ready Tasks

compose.task (pri 1, sigrec 0x00000020, sigwait 0x00000021, masked 0x00000020)

Workbench (pri 1, sigrec 0x80000100, sigwait 0x80000000, masked 0x80000000)

YAM (pri 0, sigrec 0x10000000, sigwait 0xFFA8F000, masked 0x10000000)

ELF Collector (pri 0, sigrec 0x00000100, sigwait 0x00000100, masked 0x00000100)

TCP/IP Control (pri 0, sigrec 0x40000000, sigwait 0xF8009080, masked 0x40000000)

RAMCPUdockapp_idleTask (pri -127, sigrec 0x80000000, sigwait 0x80000000, masked 0x80000000)

idle.task (pri -128, sigrec 0x00000000, sigwait 0x00000000, masked 0x00000000)

Waiting Tasks

KDH6/NGFileSystem 54.75 (pri 10, sigrec 0x00000100, sigwait 0xF0000000, masked 0x00000000)
KDH1/NGFileSystem 54.75 (pri 10, sigrec 0x00000100, sigwait 0xF0000000, masked 0x00000000)

EHCI Controller Task Unit 0 (pri 15, sigrec 0x00000000, sigwait 0xBF009000, masked 0x00000000)

hid.usbfd (pri 10, sigrec 0x00000100, sigwait 0xE0000000, masked 0x00000000)
USB stack (pri 18, sigrec 0x00000000, sigwait 0xF8007000, masked 0x00000000)
HID Mouse (pri 10, sigrec 0x80000000, sigwait 0x20000000, masked 0x00000000)
hub.usbfd (pri 0, sigrec 0x00000000, sigwait 0x30000000, masked 0x00000000)

ScreenBlanker.library (pri 1, sigrec 0x00000100, sigwait 0xB4001000, masked 0x00000000)

hub.usbfd (pri 0, sigrec 0x00000000, sigwait 0x30000000, masked 0x00000000)

OHCI Controller Task Unit 0 (pri 15, sigrec 0x00000000, sigwait 0xBE009000, masked 0x00000000)

X-Dock (pri 0, sigrec 0x01000000, sigwait 0xFE001000, masked 0x00000000)

Background CLI (pri 0, sigrec 0x00000100, sigwait 0xE0001000, masked 0x00000000)
Background CLI (pri 0, sigrec 0x00000100, sigwait 0x78001000, masked 0x00000000)

RAMCPUdockapp_idleTask (pri -127, sigrec 0x80000000, sigwait 0x80000000, masked 0x80000000)

idle.task (pri -128, sigrec 0x00000000, sigwait 0x00000000, masked 0x00000000)

Suspended Tasks

[_impl_AddTask] Adding Task 0x599A9850, Background CLI (0x5B9FDD90)

Last edited 3 weeks ago by Javier de las Rivas (previous) (diff)

comment:2 Changed 3 weeks ago by Thore Böckelmann

I cannot yet reproduce any crash on AmigaOS4/WinUAE. Nevertheless, I recreated some recent nightly builds:
r6560
r6562
r6565

Please try these. Make sure to install all binaries from the archives, just to be sure are testing an entire build and no mixture.

comment:3 Changed 3 weeks ago by Javier de las Rivas

Freeze happens frop 6562 and up, with 6560 no problems.


$Id: ChangeLog 6562 2020-06-11 08:36:40Z tboeckel $

2020-06-11 Thore Böckelmann <tboeckel@…>

  • DupIntuiMessage.c: implemented a function to properly clone a IntuiMessage structure instead of doing that manually on the stack.

2020-06-10 Thore Böckelmann <tboeckel@…>

  • Process.c: CreateNewProc() sets the parent process' current directoy as default "CURRDIR:" and "PROGDIR:" for the new process and hence locks these directories. Is essence this means that the directory of the first started MUI application is locked permanently until muimaster.library is eventually flushed from memory and terminates its Imagespace process. The workaround is to let CURRDIR: and PROGDIR: of such processes default to MUI: instead. This closes #440.

So it looks maybe one of those fixes/changes is the culprit, can you make a build with only one of the changes?

TiA

comment:4 Changed 2 weeks ago by Thore Böckelmann

Component: undefinedApplication.mui
Milestone: future release5.0-2020R1
Priority: undecidednormal
Status: newpending

comment:5 Changed 2 weeks ago by Thore Böckelmann

In 6582:

  • DupIntuiMessage.c: fixed an assignment to the wrong pointer. This refs #441 and refs #442.

Changed 2 weeks ago by Thore Böckelmann

nightly builds of muimaster.library and Popmenu.mui including debug symbols

comment:6 Changed 2 weeks ago by Thore Böckelmann

Please try the builds of muimaster.library and Popmenu.mui.

comment:7 Changed 2 weeks ago by Thore Böckelmann

A fully current nightly bnuild can be found here:
r6582 nightly build

comment:8 Changed 2 weeks ago by Thore Böckelmann

Owner: set to Thore Böckelmann
Status: pendingassigned

comment:9 Changed 2 weeks ago by Thore Böckelmann

Resolution: duplicate
Status: assignedclosed

This is about the same crash as in #442.

Note: See TracTickets for help on using tickets.