Summary: | sci-electronics/ktechlab-0.3.6: crash when drag and drop items in circuit | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Eike Petersen <Eike.Petersen> |
Component: | [OLD] KDE | Assignee: | The Soldering-Iron Brotherhood <sci-electronics> |
Status: | RESOLVED WONTFIX | ||
Severity: | critical | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 293089 | ||
Bug Blocks: |
Description
Eike Petersen
2009-09-13 20:56:51 UTC
(In reply to comment #0) > After a crash the KCrash manager get it and tell u that it crashed. > > Reproducible: Always > > Steps to Reproduce: > 1. emerge ktechlab with gpsim 0.22.0 > 2. start ktechlab > 3. create circuit plan > 4. drag and drop batteries to plan > > Actual Results: > Application 'ktechlab' crashing... > > Expected Results: > They should insert bateries > > solved the problem by edit the file > sci-electonics/ktechlab/files/ktechlab-0.3.6-gcc43.patch > > line 57 from > m_map = new ETMAP( m_size ); > to > m_map = new ETMAP( m_size, std::vector<uint>( m_size ) ); > > than after rebuild it works. > If line 57 is changed then I can't rebuild. (In reply to comment #0) You can use ktechlab-0.3.7 from http://sourceforge.net/projects/ktechlab/files/ktechlab/0.3.7/ktechlab-0.3.7.tar.bz2/download. Download ktechlab-0.3.7.tar.bz2 to ./distfiles and create ktechlab-0.3.7.ebuild. Compile and work on amd64. Linux AMD_1 2.6.30-gentoo-r5 #4 SMP Wed Nov 4 12:16:14 MSK 2009 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-50 AuthenticAMD GNU/Linux ktechlab-0.3.7.ebuild # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/ktechlab/ktechlab-0.3.6.ebuild,v 1.8 2009/11/13 18:01:47 ssuominen Exp $ ARTS_REQUIRED=never inherit kde DESCRIPTION="KTechlab is a development and simulation environment for microcontrollers and electronic circuits" HOMEPAGE="http://sourceforge.net/projects/ktechlab/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~x86" IUSE="" RDEPEND=">=dev-embedded/gpsim-0.22 !>=dev-embedded/gpsim-0.23 !>=dev-util/kdevelop-3.9" DEPEND="${RDEPEND}" need-kde 3.5 UNSERMAKE="" S=${WORKDIR}/${PN}-0.3.7 #PATCHES=( "${FILESDIR}/${PN}-0.3-gcc-4.1.patch" # "${FILESDIR}/${P}-gcc42.patch" # "${FILESDIR}/${P}-gcc43.patch" ) I don't test all, but drug-drop on circuit work. This bug discussed on some debian's forums. sci-electronics/ktechlab removal, see bug #293089 for reference |