LibreCad Crashes When Opening File

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
75 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

ozcad
Coming right up:

    rpm -qa --last >> inst.txt

See attached fileinst.txt

BTW, what does deleting "libstdc++33-3.3.3-35.1.2.i586" do?  I am sweating a little over that one.
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

ozcad
In reply to this post by cantcode
Ta-Da!

ApperList.txt

Herewith is the Apper list.

Q. When do I (if I do) restore the "libstdc++33-3.3.3-35.1.2.i586" package?
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
Thanks.
Because you also have libstdc++47-4.7.1_20120723-1.1.1.i586 installed I thought that this may cause some problems.
Cause you gave me the .config file I try first to do this on my machine so no need to try something.
I just thought that if yast does not tell you something about some problems when trying to delete this package you
could try to delete it (cause there is a newer version installed). But now I will try that on my machine and see if this will help or I at least can reproduce the crash of LCad.
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
Could you please also export the list of installed packages from yast?
Yast->Software Management-> File->Export (this should generate a xml file)
I have troubles installing the packages with Apper.
What I get ist:
Failed to mount cd:///?devices=/dev/disk/by-id/ata-VBOX_CD-ROM_VB2-01700376,/dev/sr0 on /var/adm/mount/AP_0xrlKQMl: Mounting media failed (mount: no medium found on /dev/sr0)
(seems like it has something to do with Virtaual Box??)

(btw I installed the libstdc++33-3.3.3-35.1.2.i586 package but LCad still does not crash so I think there is no need for you trying to uninstall it)
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

ozcad
The yast list...

yast-user-packages.xml

I am starting to feel concerned about the amount of work I am incurring.
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

ozcad
A run with the GNU debugger:


jim@linux-jim:~> gdb librecad                 <<<<<<<<<< I launch debugger, specify librecad as the target
GNU gdb (GDB) SUSE (7.5.1-2.5.1)        <<<<<<<<<< GDB chatter follows
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/librecad...(no debugging symbols found)...done.

(gdb) run                                                <<<<<<<<<< I run librecad task under debugger
Starting program: /usr/bin/librecad
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0xb3540b40 (LWP 14970)]
[New Thread 0xb2bffb40 (LWP 14971)]

Program received signal SIGSEGV, Segmentation fault.
0xb6fb044f in ?? () from /usr/lib/libstdc++.so.6
Missing separate debuginfos, use: zypper install librecad-debuginfo-2.0.0rc1.git20130625-2.1.i586


(gdb) quit                                             <<<<<<<<<< I quit the session
A debugging session is active.

        Inferior 1 [process 14966] will be killed.

Quit anyway? (y or n) y                        <<<<<<<<<< I confirm quit
jim@linux-jim:~>


So.  What's going on in or near libstdc++.so.6?
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

Rallaz
https://api.opensuse.org/build/home:Rallaz/openSUSE_12.2/i586/LibreCAD2/librecad-debuginfo-2.0.0rc1.git20130625-2.1.i586.rpm
https://api.opensuse.org/build/home:Rallaz/openSUSE_12.2/i586/LibreCAD2/librecad-debugsource-2.0.0rc1.git20130625-2.1.i586.rpm
https://api.opensuse.org/build/home:Rallaz/openSUSE_12.2/i586/libdxfrw/libdxfrw0-debuginfo-0.5.9-1.1.i586.rpm
https://api.opensuse.org/build/home:Rallaz/openSUSE_12.2/i586/libdxfrw/libdxfrw0-debugsource-0.5.9-1.1.i586.rpm

Another test, create your own package:
Install rpm-build package
from https://build.opensuse.org/package/show/home:Rallaz/libdxfrw
download libdxfrw-configure-mandriva.patch & libdxfrw-0.5.9.tar.bz2 and put both in /usr/src/packages/SOURCES/
download libdxfrw0.spec and put in /usr/src/packages/SPECS/
in konsole (or dolphin F4) cd  /usr/src/packages/SPECS/ & rpmbuild -ba libdxfrw0.spec

uninstall libdxfrw0-0.5.9-1.1.i586.rpm and install your build package from /usr/src/packages/RPMS/i586/
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
In reply to this post by ozcad
"...jim@linux-jim:~> gdb librecad ...."
Well done!
I did not think of that. Was always doing debugging when working with an IDE.
"So.  What's going on in or near libstdc++.so.6? "
Don't know that. Will try to dig deeper.

Did you uninstall libstdc++33-3.3.3-35.1.2 cause I can't find it anymore in the new files (.catalog and .xml)?
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
ok, seems like the yast .xml file works better.
I tried to install ALL your packages and after 97% I had not enough space on the hard drive so I aborted it after that.
Trying to open and save files still works in LCad. Because I did not install ALL the packages it is possible that I missed a package that may cause some problems. Long story short I go to sleep.
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
After reaching the limit of the VB image I installed openSuse on a real machine.
I imported the .xml list from Yast to get the same packgages.
After doing that LCad still does not crash.
Looking at my installed packages, it seems like they are not exactly the same as yours ozcad.
here is a list of the packages (if I got it right) that are not installed on my machine but are in your list:
http://pastebin.com/q277Zfyg

looks like most are multimedia stuff. Will take another look maybe I find something.
ozcad, if you uninstalled libstdc++33-3.3.3-35.1.2.i586, did this change something (cause your debugging also said something about libstdc ->maybe something is wrong with libstdc++??) ?
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

ozcad
I have uninstalled libstdc++33-3.3.3-35.1.2.i586, no change in behaviour was noticed.

My reference to libstdc++.so.6 springs from the debugger report text:

    Program received signal SIGSEGV, Segmentation fault.
    0xb6fb044f in ?? () from /usr/lib/libstdc++.so.6

In other words the crash happened WITHIN libstdc++.so.6, not within actual LibreCAD code.  Of course, this could result from LibreCAD passing bad pointers or other parameters to it, but I doubt it.

Refreshing the associated libstdc++47 package (by yast download) yields no improvement.

It is possible that my system is subtly wounded, although everything else seems to work.

I am wondering if I should upgrade to openSUSE 12.3 now to save your heroic and humbling effort.  The upgrade has to happen sometime, but I usually defer upgrades until the new version has been around for a while to get some bug-fixes.

It usually takes a week or so of struggle to get everything working smoothly again, during which time I hate myself as samba, sound & video are always recalcitrant.
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
"...I am wondering if I should upgrade to openSUSE 12.3 now to save your heroic and humbling effort ..."
Do just what you like to do, no need to save my heroic and humbling effort.
I will try to install some of the missing packages which have something to do with development and are missing on my machine and will see if this changes something.

"It usually takes a week or so of struggle to get everything working smoothly again..."
I know :). And especially when there are big GUI changes (like in ubuntu 12.04).

@rallaz
seems like I can't access your posted links
https://api.opensuse.org/build/home:Rallaz/openSUSE_12.2/i586/LibreCAD2/librecad-debuginfo-2.0.0rc1.git20130625-2.1.i586.rpm ...
librecad-debugsource-2.0.0rc1.git20130625-2.1.i586.rpm the source file of the debug version
( so is it a debug version in a .src.rpm package??)
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

Rallaz
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
"These packages have the debug symbols for gdb "
I don't get it.
librecad-debuginfo
are this the debug symbols ? (cause dbg was complaining about librecad-debuginfo...)

librecad-debugsource
what is this? First I thought that's the whole source from LCad but looking inside that package I only can find some source
files. Or is this a "lite version" of LibreCad for just testing? (like beeing only able to open a file)
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
In reply to this post by Rallaz
@ozcad
Could you please install this package first:
http://download.opensuse.org/repositories/home:/Rallaz/openSUSE_12.2/i586/libdxfrw0-debuginfo-0.5.9-1.1.i586.rpm

and run librecad using gdb.
If the output is the same as you posted before, could you install this package and see if the result is still the same:

http://download.opensuse.org/repositories/home:/Rallaz/openSUSE_12.2/i586/libdxfrw0-debugsource-0.5.9-1.1.i586.rpm"

after installing this packages (I don't know if the first one is enough) gdb should print better error messages.

@rallaz
after installing
http://download.opensuse.org/repositories/home:/Rallaz/openSUSE_12.2/i586/librecad-debuginfo-2.0.0rc1.git20130625-2.1.i586.rpm
http://download.opensuse.org/repositories/home:/Rallaz/openSUSE_12.2/i586/librecad-debugsource-2.0.0rc1.git20130625-2.1.i586.rpm
I get a message from gdb, telling it can't find the debug symbols for librecad.
Looks like the debug symbols are not included in:
http://download.opensuse.org/repositories/home:/Rallaz/openSUSE_12.2/i586/librecad-debuginfo-2.0.0rc1.git20130625-2.1.i586.rpm
I think that only the debug symbols of the plugins are included.
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

ozcad
My apologies for absence from thread - pressure of work.

<quote>
@ozcad
Could you please install this package first:
http://download.opensuse.org/repositories/home:/Rallaz/openSUSE_12.2/i586/libdxfrw0-debuginfo-0.5.9-1.1.i586.rpm
<endquote>

Running it:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

jim@linux-jim:~> gdb librecad
GNU gdb (GDB) SUSE (7.5.1-2.5.1)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/librecad...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/librecad
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0xb353fb40 (LWP 5710)]
[New Thread 0xb2bffb40 (LWP 5711)]

Program received signal SIGSEGV, Segmentation fault.
0xb6faf44f in ?? () from /usr/lib/libstdc++.so.6
Missing separate debuginfos, use: zypper install librecad-debuginfo-2.0.0rc1.git20130625-2.1.i586
(gdb) q
A debugging session is active.

        Inferior 1 [process 5706] will be killed.

Quit anyway? (y or n) y
jim@linux-jim:~>

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

If the output is the same as you posted before, could you install this package and see if the result is still the same:

http://download.opensuse.org/repositories/home:/Rallaz/openSUSE_12.2/i586/libdxfrw0-debugsource-0.5.9-1.1.i586.rpm"

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

jim@linux-jim:~> gdb librecad
GNU gdb (GDB) SUSE (7.5.1-2.5.1)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/librecad...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/librecad
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0xb353fb40 (LWP 5772)]
[New Thread 0xb2bffb40 (LWP 5773)]

Program received signal SIGSEGV, Segmentation fault.
0xb6faf44f in ?? () from /usr/lib/libstdc++.so.6
Missing separate debuginfos, use: zypper install librecad-debuginfo-2.0.0rc1.git20130625-2.1.i586
(gdb) q
A debugging session is active.

        Inferior 1 [process 5767] will be killed.

Quit anyway? (y or n)
Please answer y or n.
A debugging session is active.

        Inferior 1 [process 5767] will be killed.

Quit anyway? (y or n) yjim

@linux-jim:~>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
"My apologies for absence from thread - pressure of work."
No problem. Thanks for the output.
Unfortunately the output looks the same. I hoped that we would get rid of the "??" in
0xb6faf44f in ?? () from /usr/lib/libstdc++.so.6

Looking at the debuginfo packages of librecad I think this will still output the same message, but if you have some time, could you please install this two packages and look if theere is a change in the output.
http://download.opensuse.org/repositories/home:/Rallaz/openSUSE_12.2/i586/librecad-debuginfo-2.0.0rc1.git20130625-2.1.i586.rpm
http://download.opensuse.org/repositories/home:/Rallaz/openSUSE_12.2/i586/librecad-debugsource-2.0.0rc1.git20130625-2.1.i586.rpm
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

ozcad
Gives a bit more detail:

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
jim@linux-jim:~> gdb librecad
GNU gdb (GDB) SUSE (7.5.1-2.5.1)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/librecad...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/librecad
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0xb3577b40 (LWP 12143)]
[New Thread 0xb2bffb40 (LWP 12144)]

Program received signal SIGSEGV, Segmentation fault.
0xb6faf44f in ?? () from /usr/lib/libstdc++.so.6
Missing separate debuginfos, use: zypper install fontconfig-debuginfo-2.9.0-3.9.1.i586 glibc-debuginfo-2.15-22.17.1.i686 glibc-locale-debuginfo-2.15-22.17.1.i586 kdebase4-workspace-debuginfo-4.8.5-2.14.1.i586 kdebase4-workspace-liboxygenstyle-debuginfo-4.8.5-2.14.1.i586 kdelibs4-debuginfo-4.8.5-2.28.2.i586 libICE6-debuginfo-1.0.8-2.1.2.i586 libIlmImf6-debuginfo-1.7.0-15.1.2.i586 libSM6-debuginfo-1.2.1-2.1.2.i586 libX11-6-debuginfo-1.5.0-2.7.1.i586 libXau6-debuginfo-1.0.7-2.1.2.i586 libXcursor1-debuginfo-1.1.13-2.4.1.i586 libXext6-debuginfo-1.3.1-2.4.1.i586 libXfixes3-debuginfo-5.0-2.4.1.i586 libXi6-debuginfo-1.6.1-2.4.1.i586 libXinerama1-debuginfo-1.1.2-2.4.1.i586 libXrandr2-debuginfo-1.3.2-2.4.1.i586 libXrender1-debuginfo-0.9.7-2.4.1.i586 libXtst6-debuginfo-1.2.1-2.4.1.i586 libacl1-debuginfo-2.2.51-8.1.3.i586 libattica0_3-debuginfo-0.3.0-2.1.2.i586 libattr1-debuginfo-2.4.46-9.1.3.i586 libbz2-1-debuginfo-1.0.6-20.1.7.i586 libdbus-1-3-debuginfo-1.5.12-4.10.1.i586 libdbusmenu-qt2-debuginfo-0.9.2-2.1.2.i586 libexpat1-debuginfo-2.1.0-2.4.1.i586 libfam0-debuginfo-2.7.0-159.2.1.i586 libffi47-debuginfo-4.7.1_20120723-1.1.1.i586 libfreetype6-debuginfo-2.4.9-4.4.1.i586 libgcc47-debuginfo-4.7.1_20120723-1.1.1.i586 libglib-2_0-0-debuginfo-2.32.4-4.8.1.i586 libgobject-2_0-0-debuginfo-2.32.4-4.8.1.i586 libilmbase6-debuginfo-1.0.2-11.1.2.i586 libjasper1-debuginfo-1.900.1-153.1.4.i586 libjpeg62-debuginfo-62.0.0-15.5.1.i586 libkde4-debuginfo-4.8.5-2.28.2.i586 libkdecore4-debuginfo-4.8.5-2.28.2.i586 libksuseinstall1-debuginfo-4.8.5-2.28.2.i586 liblcms1-debuginfo-1.19-9.1.4.i586 liblzma5-debuginfo-5.0.3-12.2.2.i586 libmng1-debuginfo-1.0.10-106.1.4.i586 libpcre1-debuginfo-8.30-3.1.2.i586 libpng14-14-debuginfo-1.4.11-2.5.1.i586 libqt4-debuginfo-4.8.1-2.16.1.i586 libqt4-sql-debuginfo-4.8.1-2.16.1.i586 libqt4-x11-debuginfo-4.8.1-2.16.1.i586 libsoprano4-debuginfo-2.7.6-2.1.2.i586 libstdc++47-debuginfo-4.7.1_20120723-1.1.1.i586 libstrigi0-debuginfo-0.7.7-10.1.i586 libtiff5-debuginfo-4.0.2-1.16.1.i586 libudev0-debuginfo-182-4.33.1.i586 libuuid1-debuginfo-2.21.2-4.5.1.i586 libxcb1-debuginfo-1.8.1-2.8.1.i586 libxml2-2-debuginfo-2.7.8+git20120223-8.26.1.i586 zlib-debuginfo-1.2.7-2.1.2.i586
(gdb) q
A debugging session is active.

        Inferior 1 [process 12139] will be killed.

Quit anyway? (y or n) y
jim@linux-jim:~>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
If I use the proffered zypper command

    Missing separate debuginfos, use: zypper install < big package list>

...only one package is installed - libstrigi0-debuginfo - all the rest report "No provider of XXX found."

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I have a fear that I will discover that I have done something silly such as not turning on the PC power, or using the mouse as a sewing machine foot-pedal.

Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
yeahhhh, finally I managed to build my first rpm package.
So could you please uninstall the installed librecad packages.
When uninstalling librecad the package with the parts should also be uninstalled automatically.
And also uninstall the last two packages I asked you to install (sorry).
librecad-debuginfo-2.0.0rc1.git20130625-2.1.i586.rpm
librecad-debugsource-2.0.0rc1.git20130625-2.1.i586.rpm

Then please download the packages I made:
http://www.gamefront.com/files/23532427/lcad_cantcode_i586.7z

After downloading the .7z file please do
md5sum /path/to/the/downloadedpackage/lcad_cantcode_i586.7z
So you can verify that you downloaded the file I uploaded for you.
You should get:
5a3bf74bd3aa159d0d29bb0e7f53a4a8  lcad_cantcode_i586.7z

Then unpack the .7z file and install at first:
librecad-2.0.0rc1.git20130625-2.1.i586.rpm
librecad-debuginfo-2.0.0rc1.git20130625-2.1.i586.rpm

and start librecad using gdb again (and do something to crash it) and post the output.

"I have a fear that I will discover that I have done something silly such as not turning on the PC power, or using the mouse as a sewing machine foot-pedal. "
I think you do not need all this packages. You just tried to install some debuginfo packages which should not influence your system. The only way it would influence your system is by taking away free space from your hard drive.

If you have problems installing the packages using Apper you should try to use Yast.
When I installed the packages build by me, I got some errors when trying to install them using Apper.
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

ozcad
Archive program "Ark" does not know what to do with .7z files.

Error Opening Archive - Ark
Loading the archive /home/me/Downloads/lcad_cantcode_i586.7z failed with the following error:  Failed to locate program 7z in PATH.
1234