Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#10302 closed bug (fixed)

46523_x86_64 Deskbar Crash on Boot

Reported by: vidrep Owned by: anevilyak
Priority: normal Milestone: R1
Component: Kits/Media Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #10187
Has a Patch: no Platform: x86-64

Description

46523_x86_64 CD image install: Deskbar crashes after booting, and will continue crashing every time it is restarted. Intermittently, when selecting "save debug report", mouse loses select function. Can be restored with keyboard "alt, ctrl,del", select "kill debugger". Mouse select returns, and blank debug report appears on desktop.

Attachments (7)

syslog (223.4 KB) - added by vidrep 5 years ago.
Deskbar-484-debug-11-12-2013-19-52-51.report (13.8 KB) - added by vidrep 5 years ago.
Deskbar-699-debug-11-12-2013-19-53-20.report (13.7 KB) - added by vidrep 5 years ago.
Deskbar-648-debug-12-12-2013-19-13-54.report (15.3 KB) - added by vidrep 5 years ago.
Deskbar-478-debug-13-12-2013-06-51-59.report (15.5 KB) - added by vidrep 5 years ago.
Deskbar-478-debug-13-12-2013-06-51-59.2.report (15.5 KB) - added by vidrep 5 years ago.
syslog.2 (486.0 KB) - added by vidrep 5 years ago.

Download all attachments as: .zip

Change History (27)

Changed 5 years ago by vidrep

Attachment: syslog added

Changed 5 years ago by vidrep

Changed 5 years ago by vidrep

comment:1 Changed 5 years ago by anevilyak

Component: - GeneralKits/Locale Kit
Owner: changed from nobody to pulkomandy

Did that behavior start with a particular revision?

comment:2 Changed 5 years ago by anevilyak

Platform: Allx86-64

comment:3 Changed 5 years ago by vidrep

It started with 46523.

comment:4 Changed 5 years ago by vidrep

Only 46523_x86_64 is exhibiting this behaviour.

comment:5 Changed 5 years ago by pulkomandy

Could you try running it with libroot_debug?

comment:6 Changed 5 years ago by vidrep

Opening a terminal and entering "LD_PRELOAD=libroot_debug.so Deskbar" brings up the Deskbar Preferences, and then it crashes.

Changed 5 years ago by vidrep

comment:7 Changed 5 years ago by diver

The last crash might be related to hrev46520.

comment:8 Changed 5 years ago by anevilyak

Component: Kits/Locale KitKits/Media Kit
Owner: changed from pulkomandy to siarzhuk
Status: newassigned

Indeed. As a corroborating point, quitting media_server and then attempting to start Deskbar allows the latter to successfully launch here.

comment:9 Changed 5 years ago by siarzhuk

Could you, please recheck with hrev46516 nightly the following:

  • move the mouse pointer above the replicant to let the notify tooltip be shown;
  • try to change volume with the mouse wheel;
  • is volume control from the replicant popup menu functional?

Thanks.

comment:10 Changed 5 years ago by vidrep

I installed 46516_x86_64 anyboot image. When the mouse pointer is moved above the volume control replicant the deskbar crashes and a debug dialog comes up before any pop-up menu appears.Debug report attached.

Changed 5 years ago by vidrep

comment:11 Changed 5 years ago by siarzhuk

Hm... Deskbar-478-debug-13-12-2013-06-51-59.report​ is looking like binary format. :-\ Is something wrong with it?

Looks like the problem has existed before hrev46520. The hrev46520 just introduced polling of media server for state of mixer mute control. The replicant's view Pulse() call uses the MixerControl in the same way as in tooltip hover implementation. The issue at boot can be workarounded by disabling pool at start - but replicant hover will obviously crash the Deskbar.

comment:12 Changed 5 years ago by vidrep

Usually the debug report is a 0 byte file when the deskbar crashes and a report is created. Deskbar-478-debug-13-12-2013-06-51-59 report that I attached is a copy. I'll send the original from my Haiku PC when I go home tonight. It was in readable form on my Alpha 4.1 partition.

comment:13 in reply to:  11 Changed 5 years ago by anevilyak

Replying to siarzhuk:

Looks like the problem has existed before hrev46520. The hrev46520 just introduced polling of media server for state of mixer mute control. The replicant's view Pulse() call uses the MixerControl in the same way as in tooltip hover implementation. The issue at boot can be workarounded by disabling pool at start - but replicant hover will obviously crash the Deskbar.

Interesting that whatever goes wrong only does so if it's actually able to attempt to poll though. As stated, with media_server shut down, it doesn't crash, though one sees the constant polling attempts on the console. It should further be noted that the crash only actually occurs after some messages on the terminal about being unable to instantiate a parameter web (I unfortunately don't have access to that computer for a few more hours, and can't recall the exact message right now).

comment:14 Changed 5 years ago by anevilyak

Owner: changed from siarzhuk to anevilyak
Status: assignedin-progress

comment:15 Changed 5 years ago by anevilyak

Resolution: fixed
Status: in-progressclosed

Crash fixed in hrev46536. The question of why unflattening the parameter web in question fails still remains though, as it does in fact get a response back from the media_server with flattened data. My knowledge of the media kit is limited though, so I'll leave that to someone more knowledgable.

comment:16 Changed 5 years ago by vidrep

Attached debug report to replace earlier corrupted file.

comment:17 Changed 5 years ago by axeld

It could be just a long vs. int32 issue, or something similar. Maybe even some pointer arithmetic. In any case, it deserves its own ticket.

comment:18 Changed 5 years ago by vidrep

Resolution: fixed
Status: closedreopened

Installed 46537_x86_64. When mouse pointer is above volume control replicant, tooltip is shown, but no function when using mouse wheel to change volume. It does work on 46537_gcc2 nightly. When shutdown "restart system" it gets to media server and crashes deskbar. Save report from debug dialog. Restart deskbar and 0 byte debug report appears on desktop.

Changed 5 years ago by vidrep

Attachment: syslog.2 added

comment:19 Changed 5 years ago by anevilyak

Resolution: fixed
Status: reopenedclosed

Please file a new ticket for that, as it's a different problem from the one this ticket was filed for.

comment:20 Changed 5 years ago by diver

Blocking: 10187 added
Note: See TracTickets for help on using tickets.