Bug 160 - Crash in srd_exit/Python3 in some cases.
Summary: Crash in srd_exit/Python3 in some cases.
Status: RESOLVED FIXED
Alias: None
Product: PulseView
Classification: Unclassified
Component: Other (show other bugs)
Version: unreleased development snapshot
Hardware: x86 Linux
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-29 13:09 CEST by Joel Holdsworth
Modified: 2013-10-16 15:02 CEST (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Holdsworth 2013-09-29 13:09:11 CEST
The machine is Fedora 19 x64, running libsigrokdecode git-HEAD, and PulseView decode8 branch (https://github.com/jhol/pulseview/commits/decode8).

1. Run pulseview:
./pulseview /path/to/sigrok-dumps/i2c/edid/samsung_le46b620r3p.sr
2. Add an I²C decoder with default options.
3. Allow decode to complete (it should be instantaneous).
4. Now Quit PulseView -> crash!

Here is the backtrace:

#0  0x0000003645c7c44d in malloc_consolidate () from /lib64/libc.so.6
#1  0x0000003645c7cfd6 in _int_free () from /lib64/libc.so.6
#2  0x00007ffff73311ce in PyGrammar_RemoveAccelerators () from /lib64/libpython3.3m.so.1.0
#3  0x00007ffff74041ff in Py_Finalize () from /lib64/libpython3.3m.so.1.0
#4  0x00007ffff7b6ff23 in srd_exit () at controller.c:197
#5  0x00000000004916ce in main (argc=2, argv=0x7fffffffde38)
    at /home/joel/workspace/sigrok/pulseview/main.cpp:157
Comment 1 Bert Vermeulen 2013-10-16 15:01:42 CEST
Fixed in 1429b21db812b591699341712af2f1dd448363c5