[lvm-devel] dmeventd generates segfault when creating snapshots

Marian Csontos mcsontos at redhat.com
Wed Feb 12 09:06:34 UTC 2014


On 02/11/2014 11:33 AM, Zdenek Kabelac wrote:
> Dne 10.2.2014 12:34, Chiyohiko Morita napsal(a):
>>
>> (I'm not on this list; please Cc me)
>>
>> With a high load, the dmeventd daemon sometimes generates
>> a segmentation violation when createing a lvm-snapshot.
>>
>> In _register_for_event(), it may take 10 or more seconds between
>> calling _register_for_timeout() and _create_thread().
>> (Please refer to the following _register_for_timeout().)
>>
>> If the _timeout_thread thread calls pthread_kill() before
>> _create_thread() is called, dmeventd will generate segfault.
>> This is because the value of thread->thread is still NULL.
>> (Please refer to the following _timeout_thread().)
>>
>> A related source code and coredump are shown below.
>>
>
> Could you please open regular  lvm2 bugzilla
> (at   http://bugzilla.redhat.com/   - use Fedora Rawhide in case you don't
> have match for your distro)
>
> Attach all your information provided here in your email.
>
> Add info from 'vgs, lvs -a, pvs' and your in-use lvm.conf
> version of your lvm2 package,
> how many volumes are active.

IMO this is closely related to Bug 889651 - segfault in dmeventd in low 
memory situations.

https://bugzilla.redhat.com/show_bug.cgi?id=889651

-- Marian

>
> Thank you
>
> Zdenek
>
> --
> lvm-devel mailing list
> lvm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/lvm-devel
>




More information about the lvm-devel mailing list