Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#1909 closed bug (fixed)

emuxki/midi related KDLs?

Reported by: jonas.kirilla Owned by: korli
Priority: normal Milestone: R1
Component: System/Kernel Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Two different KDL panics recently, (hrev24336?) 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 (13)

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

Change History (25)

Changed 11 years ago by jonas.kirilla

Attachment: DSC03665.jpg added

/Users/kirilla/Desktop/DSC03665.jpg

Changed 11 years ago by jonas.kirilla

Attachment: DSC03666.jpg added

Changed 11 years ago by jonas.kirilla

Attachment: DSC03668.jpg added

Changed 11 years ago by jonas.kirilla

Attachment: DSC03675.jpg added

Changed 11 years ago by jonas.kirilla

Attachment: DSC03677.jpg added

Changed 11 years ago by jonas.kirilla

Attachment: DSC03676.jpg added

Changed 11 years ago by jonas.kirilla

Attachment: DSC03681.jpg added

Changed 11 years ago by jonas.kirilla

Attachment: DSC03667.jpg added

Changed 11 years ago by jonas.kirilla

Attachment: DSC03682.jpg added

Changed 11 years ago by jonas.kirilla

Attachment: DSC03683.jpg added

Changed 11 years ago by jonas.kirilla

Attachment: DSC03684.jpg added

comment:1 Changed 11 years 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.

comment:2 Changed 11 years ago by korli

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

comment:3 Changed 11 years ago by stippi

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

comment:4 in reply to:  3 Changed 11 years 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 hrev24273 (5 days ago): yes, I'm way past that rev. If you're referring to hrev24362 (2 hours ago): no, I have not tried that revision yet.

comment:5 Changed 11 years ago by jonas.kirilla

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

comment:6 Changed 11 years ago by jonas.kirilla

It happens also with hrev24371.

comment:7 Changed 11 years 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 11 years ago by jonas.kirilla

Attachment: syslog added

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

Changed 11 years ago by jonas.kirilla

Attachment: syslog.old.zip added

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

comment:8 Changed 11 years 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.

comment:9 Changed 11 years ago by korli

Could you try again with hrev24597 or superior ?

comment:10 Changed 11 years 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!

comment:11 Changed 11 years ago by korli

Resolution: fixed
Status: newclosed

Fixed in hrev24597. Thanks for testing!

comment:12 Changed 8 years ago by diver

Component: Drivers/AudioSystem/Kernel
Note: See TracTickets for help on using tickets.