gnupic: Re: [gnupic] pikdev crashes


Previous by date: 17 Sep 2006 20:38:30 +0100 Re: [gnupic] ethernet interface?, Jan Wagemakers
Next by date: 17 Sep 2006 20:38:30 +0100 Re: [gnupic] What after flashing a pic?, Pierre GAUFILLET
Previous in thread:
Next in thread:

Subject: Fwd: [gnupic] pikdev crashes
From: "Maxim Wexler" ####@####.####
Date: 17 Sep 2006 20:38:30 +0100
Message-Id: <a0811460609171238w74e54049oa45f799b5e24a548@mail.gmail.com>

Hi group, as you can see the message below is rather stale. Haven't heard
back yet. Somebody else want to give it a go?

Here's the platform:

heathen@localhost ~ $ uname -a
Linux localhost 2.6.16-gentoo-r3 #3 PREEMPT Thu May 18 12:55:13 MDT 2006
i686 AMD Sempron(tm) Processor 3100+ GNU/Linux

Using kde 3.5.2.

-Maxim

---------- Forwarded message ----------
From: Maxim Wexler ####@####.####
Date: Sep 11, 2006 4:57 PM
Subject: Re: [gnupic] pikdev crashes
To: ####@####.####


> OK, here is another version of getPic(), with more verbose output.
> Let me know the results.


no change:

heathen@localhost ~/pikdev-0.9.2-1 $ pikdev
piclist size = 18
pic to find = p16f628
nn=[p12c508 p12c508a p12ce518 p12c509 p12c509a p12ce519]
st constructor passed
st state = 0xbfe38100 0
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = pikdev path = <unknown> pid = 20446

crash-handler:


sing host libthread_db library "/lib/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 14100)]
[KCrash handler]
#6  0xb5e7616c in memcpy () from /lib/libc.so.6
#7  0xb7395c9b in std::string::_S_construct<char const*> ()
   from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
#8  0xb7392319 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string ()
   from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
#9  0xb7389c51 in std::basic_stringbuf<char, std::char_traits<char>,
std::allocator<char> >::basic_stringbuf ()
   from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
#10 0xb738b597 in std::basic_istringstream<char, std::char_traits<char>,
std::allocator<char> >::basic_istringstream ()
   from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
#11 0x0807cfeb in PicFactory::getPic (this=0x8234d90,
    picname=0x8234d70 "p16f628") at PicFactory.cc:102
#12 0x08060629 in BuiltinProgrammer::selectDevice ()
#13 0x080604c0 in BuiltinProgrammer::enter ()
#14 0x08087539 in PikMain::updateProgrammer ()
#15 0x0808a7df in PikMain::PikMain ()
#16 0x0807f116 in main ()




Alain
>
> PS. also add #include <iostream> before #include <sstream>
> it should not change anything but ..



with  #include <iostream>,  console o/p the same, crash-handler, less
verbose:

Using host libthread_db library "/lib/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 20446)]
[KCrash handler]
#6  0xb5f6abf9 in __gnu_cxx::__exchange_and_add ()
   from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6
#7  0x0807d46f in PicFactory::getPic (this=0x82735d8,
    picname=0x82352f8 "p16f628") at basic_string.h:219
#8  0x08060629 in BuiltinProgrammer::selectDevice ()
#9  0x080604c0 in BuiltinProgrammer::enter ()
#10 0x08087539 in PikMain::updateProgrammer ()
#11 0x0808a7df in PikMain::PikMain ()
#12 0x0807f116 in main ()

Alain, I'm no coder, but if the thing is crashing at istringstream why would
it output anything past that point?

Previous by date: 17 Sep 2006 20:38:30 +0100 Re: [gnupic] ethernet interface?, Jan Wagemakers
Next by date: 17 Sep 2006 20:38:30 +0100 Re: [gnupic] What after flashing a pic?, Pierre GAUFILLET
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.