Ticket #1909 (closed bug: fixed)

Opened 4 months ago

Last modified 4 months ago

emuxki/midi related KDLs?

Reported by: jonas.kirilla Owned by: korli
Priority: normal Milestone: R1
Component: Drivers/Audio Version: R1 development
Cc: Blocked By:
Platform: All Blocking:

Description

Two different KDL panics recently, (r24336?) happening at late bootup.

thread: media_server_addon - unexpected exception "invalid opcode exception"

thread: MidiPortProducer - unhandled page fault in kernel space

See screenshots. Look for "midi". Coincidence?

Attachments

DSC03665.jpg (323.4 kB) - added by jonas.kirilla 4 months ago.
/Users/kirilla/Desktop/DSC03665.jpg
DSC03666.jpg (474.9 kB) - added by jonas.kirilla 4 months ago.
DSC03668.jpg (398.3 kB) - added by jonas.kirilla 4 months ago.
DSC03675.jpg (206.2 kB) - added by jonas.kirilla 4 months ago.
DSC03677.jpg (415.3 kB) - added by jonas.kirilla 4 months ago.
DSC03676.jpg (392.2 kB) - added by jonas.kirilla 4 months ago.
DSC03681.jpg (412.7 kB) - added by jonas.kirilla 4 months ago.
DSC03667.jpg (438.6 kB) - added by jonas.kirilla 4 months ago.
DSC03682.jpg (432.3 kB) - added by jonas.kirilla 4 months ago.
DSC03683.jpg (442.3 kB) - added by jonas.kirilla 4 months ago.
DSC03684.jpg (460.1 kB) - added by jonas.kirilla 4 months ago.
syslog (117.0 kB) - added by jonas.kirilla 4 months ago.
syslog - Sun, 2008 Mar 23, 19:59:07
syslog.old.zip (18.6 kB) - added by jonas.kirilla 4 months ago.
syslog.old.zip - Sun, 2008 Mar 23, 19:58:36

Change History

Changed 4 months ago by jonas.kirilla

/Users/kirilla/Desktop/DSC03665.jpg

Changed 4 months ago by jonas.kirilla

Changed 4 months ago by jonas.kirilla

Changed 4 months ago by jonas.kirilla

Changed 4 months ago by jonas.kirilla

Changed 4 months ago by jonas.kirilla

Changed 4 months ago by jonas.kirilla

Changed 4 months ago by jonas.kirilla

Changed 4 months ago by jonas.kirilla

Changed 4 months ago by jonas.kirilla

Changed 4 months ago by jonas.kirilla

  Changed 4 months ago by jonas.kirilla

Sorry for all the confusing, disordered, undescribed screenshots. :( Most of them are almost identical versions of "invalid opcode exception" in the media_server_addon, with DSC03683.jpg and DSC03684.jpg being page faults instead. The one exception being the unhandled page fault of MidiPortProducer in DSC03675.jpg, which I suppose could be unrelated. These KDLs started appearing around the same time. Before there had been none.

  Changed 4 months ago by korli

Is this new ? I don't understand well why the midi dev entry of emuxki is opened by the multiaudio addon ...

follow-up: ↓ 4   Changed 4 months ago by stippi

Are you already using an image which has the fixed VideoWindow media add-on already?

in reply to: ↑ 3   Changed 4 months ago by jonas.kirilla

Replying to stippi:

Are you already using an image which has the fixed VideoWindow media add-on already?

If you're referring to r24273 (5 days ago): yes, I'm way past that rev. If you're referring to r24362 (2 hours ago): no, I have not tried that revision yet.

  Changed 4 months ago by jonas.kirilla

The "invalid opcode exception" still happens in r24361. Will try a later revision ASAP.

  Changed 4 months ago by jonas.kirilla

It happens also with r24371.

  Changed 4 months ago by korli

Could you activate TRACE_DEVFS in src/system/kernel/fs/devfs.cpp and provide a serial log ?

The emuxki driver has this peculiarity : it publishes two sets of entries in dev/audio/hmultiaudio and dev/midi.

Changed 4 months ago by jonas.kirilla

syslog - Sun, 2008 Mar 23, 19:59:07

Changed 4 months ago by jonas.kirilla

syslog.old.zip - Sun, 2008 Mar 23, 19:58:36

  Changed 4 months ago by jonas.kirilla

I hope syslog and syslog.old is good enough. The serial output won't fit in SerialConnect's buffer. Syslog.old was too large for Trac, so I had to zip it. Sorry about that. Let me know if you want me to try something else or find a better log.

BTW, having enabled TRACE_DEVFS, moving the mouse results in exceptionally large CPU load, kernel side, in 2 threads, one being the USB mouse watcher thread in the input_server and the other being the multi addon thread in the media_addon_server, the one KDL:ing in screenshot: http://dev.haiku-os.org/attachment/ticket/1909/DSC03665.jpg I find this strange.

  Changed 4 months ago by korli

Could you try again with r24597 or superior ?

  Changed 4 months ago by jonas.kirilla

Having rebooted Haiku maybe 20 times (shutdown -r in UserBootscript) it didn't happen, so I think it's fixed. Thanks Jérôme!

  Changed 4 months ago by korli

  • status changed from new to closed
  • resolution set to fixed

Fixed in r24597. Thanks for testing!

Note: See TracTickets for help on using tickets.