yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #01731
Re: [Bug 415265] Re: Script works only with linkstrategy=monolithic option
With monolithic:
(gdb) run pr.py
Starting program: /home/gladk/dem/yade/current/build/bin/yade-current pr.py
[Thread debugging using libthread_db enabled]
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at
0000000000000158
[New Thread 0x7f95927a97f0 (LWP 31085)]
[New Thread 0x7f95817bf950 (LWP 31088)]
Python TCP server listening on localhost:9000, auth cookie is `skcade'
[New Thread 0x7f9579841950 (LWP 31089)]
Running script pr.py
/usr/lib/python2.6/dist-packages/pytz/__init__.py:32: UserWarning: Module
pylab was already imported from /usr/lib/python2.6/dist-packages/pylab.py,
but /usr/lib/python2.6/dist-packages is being added to sys.path
from pkg_resources import resource_stream
/usr/lib/python2.6/dist-packages/pytz/__init__.py:32: UserWarning: Module
matplotlib was already imported from
/usr/lib/python2.6/dist-packages/matplotlib/__init__.py, but
/usr/lib/python2.6/dist-packages is being added to sys.path
from pkg_resources import resource_stream
[New Thread 0x7f95766ea950 (LWP 31090)]
[New Thread 0x7f9574e5b950 (LWP 31091)]
[New Thread 0x7f957465a950 (LWP 31092)]
[Thread 0x7f9574e5b950 (LWP 31091) exited]
/var/lib/python-support/python2.6/IPython/Magic.py:38: DeprecationWarning:
the sets module is deprecated
from sets import Set
__ __ ____ ____ _
\ \ / /_ _| _ \ ___ / ___|___ _ __ ___ ___ | | ___
\ V / _` | | | |/ _ \ | | / _ \| '_ \/ __|/ _ \| |/ _ \
| | (_| | |_| | __/ | |__| (_) | | | \__ \ (_) | | __/
|_|\__,_|____/ \___| \____\___/|_| |_|___/\___/|_|\___|
In [1]: exit
Out[1]: Type exit() to exit.
In [2]: exit()
Do you really want to exit ([y]/n)? y
Bye.
[Thread 0x7f95817bf950 (LWP 31088) exited]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f95927a97f0 (LWP 31085)]
0x0000000000000000 in ?? ()
(gdb) quit
The program is running. Exit anyway? (y or n) y
______________________________
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями
Anton Gladkyy
2009/8/18 Anton Gladky <gladky.anton@xxxxxxxxx>
> With monolithic - no crash at all.
> ______________________________
> [ENG] Best Regards
> [GER] Mit freundlichen Grüßen
> [RUS] С наилучшими пожеланиями
> [UKR] З найкращими побажаннями
>
> Anton Gladkyy
>
>
> 2009/8/18 Václav Šmilauer <eudoxos@xxxxxxxx>
>
>> Thanks. Does it _really_ beahve differently with monolithic/per-class
>>
>> linkage? Is the backtrace any different?
>>
>> --
>> Script works only with linkstrategy=monolithic option
>> https://bugs.launchpad.net/bugs/415265
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in Yet Another Dynamic Engine: New
>>
>> Bug description:
>> When I start the simulation with the attached script, I get:
>>
>> gdb 6.8-debian
>> Copyright (C) 2008 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 "x86_64-linux-gnu".
>> /home/gladk/.yade-current/gdb_crash_batch-pid13289:1: Error in sourced
>> command file:
>> ptrace: No such process.
>> (gdb)
>>
>> But when I do the same on installation with linkstrategy=monolithic
>> compilation option it works normally.
>>
>
>
--
Script works only with linkstrategy=monolithic option
https://bugs.launchpad.net/bugs/415265
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
Status in Yet Another Dynamic Engine: New
Bug description:
When I start the simulation with the attached script, I get:
gdb 6.8-debian
Copyright (C) 2008 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 "x86_64-linux-gnu".
/home/gladk/.yade-current/gdb_crash_batch-pid13289:1: Error in sourced command file:
ptrace: No such process.
(gdb)
But when I do the same on installation with linkstrategy=monolithic compilation option it works normally.
References