← Back to team overview

yade-dev team mailing list archive

Re: [Bug 415265] Re: Script works only with linkstrategy=monolithic option

 

Starting program: /home/gladk/dem/yade/new_build/build/bin/yade-new_build
pr.py
[Thread debugging using libthread_db enabled]
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at
0000000000000158
[New Thread 0x7fc7be1ca7f0 (LWP 29612)]
[New Thread 0x7fc786663950 (LWP 29615)]
Python TCP server listening on localhost:9000, auth cookie is `cesasu'
[New Thread 0x7fc77e88f950 (LWP 29616)]
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 0x7fc77b738950 (LWP 29617)]
[New Thread 0x7fc779d5a950 (LWP 29618)]
[New Thread 0x7fc779559950 (LWP 29619)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fc779559950 (LWP 29619)]
0x00007fc79ae6cd69 in InteractionDispatchers::action (
    .omp_data_i=0x7fc779d59c80)
    at pkg/common/Engine/MetaEngine/InteractionDispatchers.cpp:107
107
I->functorCache.constLaw->go(I->interactionGeometry,I->interactionPhysics,I.get(),rootBody);
(gdb) quit


______________________________
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями

Anton Gladkyy


2009/8/18 Václav Šmilauer <eudoxos@xxxxxxxx>

>
> $ gdb yade-trunk
> (gdb) run /tmp/pr.py
> [wait till it crashes]
> (gdb) thread apply all bt
> (gdb) quit
>
> --
> 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.



Follow ups

References