Opened 12 years ago

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

Change History (25)

by jonas.kirilla, 12 years ago

Attachment: DSC03665.jpg added

/Users/kirilla/Desktop/DSC03665.jpg

by jonas.kirilla, 12 years ago

Attachment: DSC03666.jpg added

by jonas.kirilla, 12 years ago

Attachment: DSC03668.jpg added

by jonas.kirilla, 12 years ago

Attachment: DSC03675.jpg added

by jonas.kirilla, 12 years ago

Attachment: DSC03677.jpg added

by jonas.kirilla, 12 years ago

Attachment: DSC03676.jpg added

by jonas.kirilla, 12 years ago

Attachment: DSC03681.jpg added

by jonas.kirilla, 12 years ago

Attachment: DSC03667.jpg added

by jonas.kirilla, 12 years ago

Attachment: DSC03682.jpg added

by jonas.kirilla, 12 years ago

Attachment: DSC03683.jpg added

by jonas.kirilla, 12 years ago

Attachment: DSC03684.jpg added

comment:1 by jonas.kirilla, 12 years ago

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 by korli, 12 years ago

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

comment:3 by stippi, 12 years ago

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

in reply to:  3 comment:4 by jonas.kirilla, 12 years ago

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 by jonas.kirilla, 12 years ago

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

comment:6 by jonas.kirilla, 12 years ago

It happens also with hrev24371.

comment:7 by korli, 12 years ago

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.

by jonas.kirilla, 12 years ago

Attachment: syslog added

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

by jonas.kirilla, 12 years ago

Attachment: syslog.old.zip added

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

comment:8 by jonas.kirilla, 12 years ago

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 by korli, 12 years ago

Could you try again with hrev24597 or superior ?

comment:10 by jonas.kirilla, 12 years ago

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 by korli, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev24597. Thanks for testing!

comment:12 by diver, 8 years ago

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