: reloading opl4 driver isn't allowed - it segfaults
The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=759>
======================================================================
Reported By: martin Assigned To: Clemens Ladisch ====================================================================== Project: ALSA - driver Issue ID: 759 Category: GENERIC - opl4 Reproducibility: always Severity: minor Priority: normal Status: assigned Distribution: Kernel Version: ====================================================================== Date Submitted: 12-30-2004 00:05 CET Last Modified: 12-30-2004 00:05 CET
======================================================================
Summary: reloading opl4 driver isn't allowed - it segfaults
Description:
I'm writing a driver for the miroSOUND PCM12. But I have some trouble with the OPL4 part and I'm afraid it's not related to my hardware/software. The first modprobe works ok and OPL4 behaves correct. Then rmmod'ing the driver and modprobe'ing it again shows a segfault.
The reason for the segfault is snd_opl4_create() which calls snd_opl3_create() where snd_opl3_new() is the reason for the segfault.
I don't see, that a correct unload of opl4 will ever run snd_device_free() for the opl3 part? Any comments? Any OPL4 user out there for cross-checking this with a working OPL4 environment?
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
12-30-04 00:05 martin New Issue
======================================================================
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt